Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008


all groups > dotnet remoting > march 2004

Filter by week: 1 2 3 4 5

An Archi-conceptual question
Posted by Francisco at 3/31/2004 8:46:10 PM
I seriously hope this is not the first of a series of consecutive messages, as there is a lot of useful documentation abou Remoting, and such a spoken topic about, well, it should not be that difficult Nevertheless, maybe one of the biggest difficulties is the concept, so I'll go righ to the poin...more >>

Remoting help!
Posted by M Phillips at 3/31/2004 11:32:55 AM
at System.Runtime.Remoting.Proxies.RealProxy.ValidateReturnArg(Object arg, Type paramType) at System.Runtime.Remoting.Proxies.RealProxy.PropagateOutParameters(IMessage msg, Object[] outArgs, Object returnValue) at System.RuntimeType.ForwardCallToInvokeMember(String memberName, Bindin...more >>

Manipulate the CallContext in a Client/Server Sink
Posted by jeb at 3/31/2004 6:21:09 AM
Can you manipulate the CallContext in a Client/Server Sink in such a way that new information can be pushed from a lower level. I have tried to do this through the code listed below but it has not worked or I should say it works on the server and never the client. Any suggestions? The server code...more >>

Singleton call to a specific client
Posted by Holger Kasten at 3/30/2004 7:03:35 PM
Hello Getlemen, I am using a Singleton Server. Several clients use it and share information over it. Now it would be great if the server could call a specific client. I do not want to call all clients via an event. Any idea how to do this? Regards, Holger ...more >>

Remoting and Events with VB.NET
Posted by kris NO[at]SPAM setupsite.com at 3/30/2004 5:25:11 PM
I am having real problems with Remoting and Events in VB.NET. Everything else is working fine, as soon as I try to use events I get: An unhandled exception of type 'System.Runtime.Serialization.SerializationException' occurred in mscorlib.dll Additional information: Cannot find the assembly T...more >>

SAO and Lifetime
Posted by Wernfried Schwenkner at 3/30/2004 12:56:53 PM
I want a server activated object life as long as the client is connected. Can this be done only by pinging the server from the client or is there another (buildin) way? For CAOs there is sponsoring. -- Sleepless in Berlin Wernfried...more >>

How to notify clients when server receives something of interest?
Posted by Alf Tore Haaland at 3/30/2004 2:37:50 AM
Hi, I would like to have a windows service that clients can register themself against. After clients have registered, the service should be able to notify the clients immediatly when it receives something that interest them. This information does not have to come from another client. ...more >>

how to design a remoting application
Posted by Jet Leung at 3/29/2004 11:45:18 PM
Hi: I am learnning how to use the remoting in my application. But I don't know what is the steps of making a remoting application. So can anyone give me some advice or a remoting design moduel?? Jet ...more >>



Can I or Can't I remote a Serviced Component ?!? Ingo or MS MVP PLEASE !!!
Posted by Bert' at 3/29/2004 9:42:30 PM
PLATFORM SPECIFICATIONS: SYSTEM TYPE: Client/Server LAN SERVER OS: Windows 2003 SVR CLIENT OS: XP / 2000 REMOTING: IIS / HTTP/ SingleCall / SOAP(during DEV) BINARY (during PROD) COM+: Server Activation type / JIT enabled / Pooling enabled / Transaction enabled LANGUA...more >>

Of Channels, Firewalls and Callbacks...
Posted by Blue Frog at 3/29/2004 3:08:32 PM
Hi again all, I'm trying to understand the interplay between the channels and a firewall. Here's my setup, I have a client which has a http channel registered on say port 5150 to receive a callback. My server object is hosted in IIS. IIS is stting behind a NAT firewall with port 80 open and ...more >>

Best Practices
Posted by Mark at 3/29/2004 10:40:56 AM
Hi, I'm working onan enterprise application and I wondering what the best way is to implement remoting hosted by windows services. Should I use 1 service that hosts all my remote objects or should I divide the remoting of object over several windows services ? I know that I must keep in mind t...more >>

Thread management in remoting
Posted by andreyl at 3/28/2004 4:31:08 PM
Hello, I'd like to create a remoting server with SingleCall objects and I am wondering how remoting will behave under heavy load. Does remoting launch a thread for every client or does it use some kind of thread pool and request queuing mechanism? After quickly scanning the documentation I didn't...more >>

Remoting Server: Problem with Soapsuds Created Client
Posted by rmgalante NO[at]SPAM yahoo.com at 3/27/2004 5:09:22 AM
I have a remote object that supports a simple interface. I left out the details in the code that follows in order to present the problem. public namespace MyNamespace { public interface IDbConnect { DataSet ExecuteQuery(string strTable); } public class DbConnect: Ma...more >>

Remoting expertise needed in Baltimore
Posted by Robert Snodgrass at 3/26/2004 2:18:09 PM
We are about to launch the development of a product developed in C# using a Windows Forms client communicating over .Net Remoting to a middle tier. While we have read a lot of material on remoting, we would very much like to validate our architecture against someone with direct expertis...more >>

Remote Auth question
Posted by Sam Cromer at 3/26/2004 1:02:27 PM
What is the best way to accomplish this? I have a web server ( stand alone NOT on a domain ) which uses a component on an app server ( within a domain ). I need to authenicate users from the web server to the app server. Only connection between the two is the tcp port. So as I understand it I ...more >>

Synchronizing two screens
Posted by pallavi_inbox NO[at]SPAM yahoo.com at 3/26/2004 12:21:46 PM
Hi.. I posted this earlier to one of the threads but recieved no reply. If anybody has any idea about this, please do let me know. i have to achieve this within next 2-3 days. I am building a project as vb.net windows application. I want to open any file through the form( using system.di...more >>

Communication between Web Services, Windows Services and Remoting
Posted by johannblake NO[at]SPAM yahoo.com at 3/26/2004 7:07:00 AM
I have an XML web service that can be customized by customers. The goal is this... A process must run *somewhere* that acts as an interface between the web service and some foreign system. Whatever that foreign system is doesn't matter. It can be anything. The process could run on the same se...more >>

basic question
Posted by Tiberiu M at 3/25/2004 6:06:08 AM
Hi. I posted a thread yesterday and I think I was not very clear in exposing my question I would like to know, when I'm invoking a remoting object's method that returns a DataSet, what will I receive on the client? Will I receive the actual DataSet object, or just a pointer reference to the DataSet...more >>

Remoting a Reflected Object
Posted by Livingston George at 3/24/2004 10:10:30 PM
Hi, I am trying to Publish a Reflected Object (REFOBJ) and access its method from a remote machine. The REFOBJ is inherited from an abstract class which exists on both client and the server machines. I Load the REFOBJ Assembly using Assembly.LoadFile() method and hold it in a global vari...more >>

Strong Name and authentication
Posted by Tony Malandain at 3/24/2004 3:41:18 PM
I want to ensure that only some assemblies will be able to call my remote object (for info, I intend to use TCP channel with Binary formatter but I don't think it's relevant here). Is it a good idea to use a LinkDemand action with the strongNamePermission attribute to solve that problem? Is ...more >>

Kerberos / NTLM question
Posted by Sam Cromer at 3/24/2004 3:01:45 PM
I have an architecture that is a stand alone web server (not in a domain ) that uses a remote component on an app server inside a domain. I have read all the MSDN articles and have a question. They all speak of using SSPI with Kerberos or NTLM, but in my situation neither can be used. Any help wo...more >>

Windows service
Posted by Mark at 3/24/2004 2:53:07 PM
Hello, Is there a maximum number of requests/sec that a windows service can handle ? What is the weakest link in the communication between service and client in handling the remoting requests? TIA, Mark ...more >>

soapsuds doesn't "create" all types in assembly
Posted by Henke at 3/24/2004 2:16:40 PM
Hi! I'm creating an assembly with soapsuds.exe to ship witch my client application. When I import the created dll in my client project not all types in the original assembly are available. Propably because these types doesn't ever get returned or passed as parameters directly. I know this probl...more >>

Remoting when the server is not MS
Posted by Heather Matthews at 3/24/2004 8:57:49 AM
As far as I can tell, the Remoting framework as well as ASP.NET don't help me if I don't also own the server. Is this correct? I currently must write an MS client (where I know the .NET framework will be installed) that accesses a non-MS SOAP webservice. What tools does .NET offer me for this ...more >>

2 different Serializers on one class
Posted by dafunk2001 NO[at]SPAM yahoo.com at 3/24/2004 2:00:31 AM
Hi, Is there a way to implement 2 different serializers on a class? For example, I have a class with 3 different collections. Using the default binary formatter I can successfully serialize 2 of the 3 collections by marking the one I dont want as "NonSerialized". Lets say I wanna do a di...more >>

Framework Versions vs. Remoted Framework Exceptions
Posted by John Saunders at 3/23/2004 6:15:00 PM
I've just noticed a problem and I wonder what others do about it. I have a remoting server which makes SQL Server calls. Naturally, it can throw exceptions of type System.Data.SqlClient.SqlError. This works fine assuming that the client and server are running the same framework version. If t...more >>

Application Domains and Remoting
Posted by MR. UNDERHILL at 3/23/2004 3:21:06 PM
Looking at this definition Singleton: The Singleton flag notifies the server that remote method calls into the server do not destroy the instance of the remote object on the server after the method returns which means subsequent calls from the client can take advantage of the state of the object m...more >>

About MBR SAO and threads...
Posted by Elp at 3/23/2004 1:05:51 PM
Hi, I'd like to have some advices on threads and .NET Remoting in order to do a reliable implementations of my remote objects. Here is the plot: i'm exposing a MBR object (let's call it ManagerObject) as a singleton. This object contains several methods, one of them returning an instance of...more >>

Serialization exception and COM
Posted by Alex at 3/23/2004 3:31:20 AM
Hi, I try to get a serialized object using remoting from other host but it doesn't work with MMC Console Snap-in which is COM/ActiveX (regular Console Application works OK). I've got SerializationException with message "Can't load Assembly xxx ...." but that assembly is loaded and acc...more >>

Serialization.SerializationException
Posted by Faleh at 3/22/2004 9:31:07 PM
h i am trying to register a dll file taht was produced by C# code, i register the dll file using Regsvcs.exe on many servers, however, with the new .net framework it gives me this error An unknown exception occurred during installation 1: System.Runtime.Serialization.SerializationException - In...more >>

IIS Remoting - BinaryFormatter Version invompatibility
Posted by Andy Johnson at 3/22/2004 6:12:33 PM
Hi, Now I'm getting a message saying "BinaryFormatter Version incompatibility. Expected Version 1.0. Recieved Version 1835627630.1699884645" How do I fix this? Thanks Andy Johnson ...more >>

IIS Remote Deserialization Problem
Posted by Andy Johnson at 3/22/2004 6:07:31 PM
Hi, I"ve changed both my server and client config files as follows... Client: <configuration> <system.runtime.remoting> <application> <client> <wellknown type="ChatCoordinator, ChatCoordinator" url="http:/...more >>

ILASM
Posted by Chris at 3/21/2004 7:25:41 PM
Hi, why have a tool like ILASM.exe that is generating code just like the CSC.exe ? what is the added value ? thnx Chris ...more >>

The Strange Mystery of the Disappearing Callback
Posted by Blue Frog at 3/21/2004 2:55:15 AM
Hi Again All, I have a strange problem - I have a public event on my server object and can subscribe to it without problems now on my client. However, when I raise this event on my server nothing happens on the client which has subscribed - anyone have any idea why? Blue Frog ...more >>

ArrayList
Posted by Morgan at 3/20/2004 8:31:09 PM
OK.. maybe I'm losing my mind... I am returning an ArrayList and only the last object value in the class is "visible", i.e. object.property = "test". The array list is being filled from a datareader where all values are unique for the property. Is there an issue with DeSerialization that I'm not...more >>

Deserialisation Woes Continue - Please End the Misery!
Posted by Blue Frog at 3/20/2004 3:39:42 AM
Hey All, I'm still having the dreaded deserialisation security error even with this relatively simple setup so I've decided to post my code in the hope that someone can tell me what's going wrong. I have a library called simple.dll shared on IIS in the virtual directory simple. Here is the...more >>

progress bar while file uploading
Posted by MrBug at 3/19/2004 8:25:50 PM
Hi I have seen few components which show progress bar while file uploading to web server . Just want to know what is the logic behind this is. Mr.Bug ...more >>

Problems with CAS and remote objects
Posted by Roy Chastain at 3/19/2004 2:18:50 PM
I am receiving an Exception of Request for the permission of type System.Security.Permissions.SecurityPermission I have the following setup I am sitting at DeskTop1 (DT1). There is a server called Server1. On Server1 inetpub\wwwroot\vd1 contains an .exe and several .dlls inetpub\wwwroo...more >>

IIS Remoting Issue
Posted by Andy Johnson at 3/19/2004 1:20:38 PM
Hi, I'm getting an error saying "Type System.DelegateSerializationHolder and the types derived from it (sucha as System.DelegateSerializaitonHolder) are not permitted to be deserialized at this security level." It only happens when I try to handle a remote event... I"m not sure what this mea...more >>

Questions about Remoting, objects, threading. lease lifetime and object cleanup, and a couple of others.
Posted by Nick Palmer at 3/19/2004 10:12:54 AM
I've got a some questions about Remoting, objects, threading. lease lifetime and object cleanup, and others. Here is a quick overview of what I've got going so far. I'm using CAO remoting to expose a class that my clients can access. Basically the client program connects to the server, gets ...more >>

Serialisation Security on Client
Posted by Blue Frog at 3/18/2004 11:14:45 PM
Hi again all, I've been reading about setting the serialization level by setting the typeFilterLevel attribute of the <formatter> tag in the server config file and also programatically on the server to overcome the deserialization issue introduce with version 1.1 of the runtime. From what I'v...more >>

Maintainability.
Posted by kenny at 3/18/2004 11:06:07 PM
Remoting has one disadvantage of Maintainablity. Is it ture...more >>

how to use Activator.CreateInstance() ?
Posted by Christian at 3/18/2004 5:25:36 PM
Hi, How do I use Activator.CreateInstance() in a client if I want to instantiate an object on the server ? I read something about : first thing to do is exposing the server-object using the 'export'-attribute ??? instead of RemotingConfiguration.RegisterWellKnownServiceType( ...more >>

Very difficult situation
Posted by PS at 3/18/2004 2:45:09 PM
Hi I have a very difficult problem. I had some elements 1 - .dll written in old C++ (not managed) 2 - server written in C# (remoting server) 3 - client written in MC++ (remoting client) In my .dll I have function which are using parameter (type HANDLE) as a way to abort function executin...more >>

Question about Remoting and using TcpChannel
Posted by Nick Palmer at 3/18/2004 12:31:28 PM
Hi all, I've got a question about Remoting and using the TcpChannel object. I was reading on Ingo Rammer's site about how in the Framework 1.1, you needed to use additional code for client activated objects to deal with the additional security. So, I took the code that Ingo had, and massaged...more >>

hosting remoting object in windows services
Posted by Tiberiu M at 3/18/2004 8:01:07 AM
Hi. I'm building a client-server application where the server is currently running as a console application. After reading some interesting articles on running the server as a window service, I built a new VisualStudio Windows Service project containing 2 new classes: an installer class (which add...more >>

remoting and com interop(cross post from iterop newsgroup)
Posted by B.J. at 3/18/2004 5:31:09 AM
Below is a copy of my initial message on the interop group. The whole thread is here http://tinyurl.com/32cy If you follow the thread, you'll see the the msft rep suggested I cross post my issue here Anyone got any insights??? Thanks in advance B.J. ++++++++++++ Writing several programs ...more >>

not able to connect to server ,telnet also fails
Posted by ommother NO[at]SPAM hotmail.com at 3/18/2004 4:16:27 AM
I have created a simple (server and client) .net remoting application. the server component is installed in a remote machine and it has to listen to a port i am pasting the server code and the config file. public DashBoardServer() { try { string configFile=Application.Exec...more >>

Unicast Events
Posted by Alireza Haghshenass at 3/17/2004 7:56:46 PM
Dear All, I wanted to know whether there is a way to Unicast a delegate? I mean suppose we have multiple clients and a server. We want to fire a an event and some of these clients not all of them receive this event. I think this is possible but I don't know how. I look forward to hearing from...more >>

Basic Hosting in IIS Question
Posted by Blue Frog at 3/17/2004 7:54:36 PM
Hi I'm pretty new to the mechanics of Remoting and I'm busy trying to get my head around it all. I have what I think is a pretty basic question. I have contructed the most simple testing class I could in C# which gets compiled into myLibrary.dll - code follows below. myLibrary.cs name...more >>


DevelopmentNow Blog