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 > november 2003

Filter by week: 1 2 3 4 5

How scalable is the .NET remoting framework?
Posted by Steven King at 11/29/2003 5:23:31 PM
Hello: If I build a server of modest complexity (standard data access stuff, etc.) are there any statistics to say approximately how many users can be accommodated concurrently before the system degrades? I understand that there are a plethora of variables so to keep this simple I'm assuming ...more >>


concern distributing to client app the assembly with implementation rather than just an interface assembly
Posted by Rex at 11/28/2003 12:38:23 AM
A concern distributing to client app the assembly with implementation rather than just an interface assembly. The behavior I get is, I turn on the listener, then run the client, and it works fine, I get the result back. However when I turn off the listener, I still get a result back and I shou...more >>

Lease Timeout Event
Posted by Johan Karlsson at 11/27/2003 11:12:51 PM
Hi, I have a server that creates a singleton object of my service. When all leases for this object is gone the object destroys itself, right? I need to capture that event in order to save all data to disk. What is the best practice for doing this? Thanks /Johan ...more >>

Shared variables and Remoting
Posted by Tales Normando at 11/27/2003 11:09:28 PM
Hi, I've created a small component to exchange messages between the client and server application and one of its variables/attributes, a hashtable collection containing the message queues for the server and the clients, is shared. ...more >>

CAO hangs after sending event to client
Posted by adi vaturi at 11/27/2003 6:28:42 PM
I have a client activated object that sends event to a client. Once in a while, the server or client got stuck. After investigating this, i found out that it all starts after the server sends an event to the client, the client finish treating it, but from some reason the server does not continue....more >>

Can't catch remote event
Posted by Sebastiano at 11/27/2003 5:40:30 PM
I have a singleton object that launch an event. In the server I can catch it, but in the client I can't. Server app.config already contains typeFilterLevel="Full" directive and I have copied the client.exe file in the same folder of server.exe file, so the server can find client data-types. The ...more >>

Spy for Remoting - how to do this without console application?
Posted by Nikolay Unguzov at 11/27/2003 3:12:09 PM
I have NET Remoting solution. Application Server is simple console application. In this situation is very easy to use this code in MarhsalByRef classes: console.writeline("Object X created...") or console.writeline("Method X is invoked...") and the output goes to Application Server's console....more >>

Remoting Vs WebServices
Posted by Hazz Polo at 11/26/2003 11:03:13 AM
Hi Guys, There seems to be a wide difference in opinions between Remoting and WebServices. I would really appreciate some advice. For building an Enterprise wide app, deployed over the internet, consisting of 10 modules and 100s of forms and tables, I was looking into WinForms Client, Remoti...more >>



chat rooms
Posted by sergi at 11/25/2003 9:40:49 PM
Hi there, I have a rather stupid question about simple application architecture with remoting. I have coded a simple chat. My remote singleton instance of ChatServer class has an event NewMessageEventHandler NewMsgEvent. Whenever a client sends a new message I loop through the delegates att...more >>

Winsock error
Posted by Korhan Ileri at 11/25/2003 7:08:47 PM
The client and server is on the same machine. There may be other clients in the network using the server but suppose that the network is down or simply the machine where the server is located is plugged off. For this setup, eventhough the client is actually on the same machine with the server ...more >>

Because of security restrictions, the type System.Runtime.Remoting.ObjRef cannot be accessed
Posted by Pavel Gusak at 11/25/2003 5:20:59 PM
I'm trying to use Remoting to receive notifications from another .NET component. I'm successfully accessing remoted object (created by the server app), but can not pass a reference to my object as a "callback". I get the following error message: An unhandled exception of type 'System.Runti...more >>

Calling SAO or CAO after lease expires
Posted by David Montgomery at 11/25/2003 6:26:08 AM
I'm reading Miscrosoft .NET Remoting by McLean, Naftel, and Williams. On page 36 they write: "Consider what will happen if a client attempts to make a method call on a remote object whose lease has expired. The remote object's activation mode will dictate the results. If the remote object i...more >>

Channels.TCP "cannot found"
Posted by dan at 11/24/2003 7:07:13 PM
I am using VS.NET 2003 on XP Professional. .Net Framework SP2 Imports System.Runtime.Remoting.Channels.TCP is marked as a syntax error with the tip: "Namespace or type 'TCP' cannot be found" What should I do? Many thanks for your help, Dan ...more >>

Memory leak in interop
Posted by Trokey at 11/24/2003 2:17:27 PM
I am making interop calls to an object in a .NET component from a C++ program and am leaking memory... the following is some sample code: //////////////////////////////////////// // .NET component (Test) //////////////////////////////////////// // interface [InterfaceType(ComInterfaceType....more >>

COM+ vs. .Net Remoting
Posted by mjamil314 NO[at]SPAM hotmail.com at 11/24/2003 1:05:06 PM
Hi: I'm working on a real-time distributed system. I'm currently using COM+ model. The response times are a bit slower than the what I'm looking for. Is .Net remoring provides a faster solution? Regards...more >>

Files over Remoting
Posted by John Paris at 11/24/2003 12:39:19 PM
Hello all, Is .NET Remoting a good choice for transfering files in a P2P distributed architecture in a LAN? I am considering, naturally, splitting files into chunks and feed them to .NET Remoting infrastructure which shall in turn deliver those chunks to remote clients, using TCPChanne...more >>

Remoting Proxy
Posted by Francisco at 11/24/2003 12:24:43 PM
I understand that a Proxy is created within an AppDomain after deserializing and unmarshalling the marshallByRef ObjRef object, sent from another AppDomain to the client. Nonetheless, how does the client "request" the transparent proxy to be created (question). Does it involve an initial...more >>

Identity when hosting in IIS
Posted by Graham Allwood at 11/24/2003 12:00:38 PM
Hi, I have opted to host my remoted components in IIS. I have a slight problem though and I'm not sure the best way of solving it. The problem I have is Identity. One of my server components validates a domain account name using Active Directory (DirectorySearcher etc). If I use the default...more >>

Roman Kiss's MSMQ remoting channel
Posted by levente.halasz NO[at]SPAM freemail.hu at 11/24/2003 10:07:10 AM
I'm trying to use the MSMQ channel to replace my existing HTTP channel, but I get tho following error: Additional information: Remoting configuration failed with the exception System.Runtime.Remoting.RemotingException: To be used from a ..config file, the channel type 'RKiss.MSMQChannelLib.MSM...more >>

System.Windows.Forms.MdiClient+ControlCollection not serializable.
Posted by Trevor Germain at 11/24/2003 8:41:16 AM
Scenario: --------- I have an Explorer style application. The app hosts other win forms by making them MDI children, removing border / control box / minimize / maximize, and setting the form's Dock property to Fill. I have recently upgraded my application in the following way: -----------...more >>

getting and passing cookie with httpWebRequest/webresponse
Posted by maxhodges NO[at]SPAM hotmail.com at 11/24/2003 7:22:45 AM
Seems like a dozen people have asked this question, but I haven't seen the answer anywhere. I working on an application which uses the HttpWebRequest object to post and pull data down from some web site. In order for this to work correctly I need to first hit one particular page, which sets a co...more >>

Lifetime
Posted by Sebastiano at 11/24/2003 1:07:41 AM
I want to create a client-server program. Server application must be composed by two parts. The first that receives the client connections and serves their requests. The second is the front-end that shows informations about clients connected. So I think the best solutions is remoting with ...more >>

seeking architecture tips
Posted by maxhodges NO[at]SPAM hotmail.com at 11/23/2003 3:14:44 PM
I need computer A tell computer X to navigate to a specified web page and write the source (html) of that page into a database. Any ideas on architectures for this? Should I use web services or remoting some other kind of messaging? I would probably use DCOM in the past, but with .NET are there ...more >>

RegisterWellKnownServiceType vs RemotingServices.Marshal
Posted by David Montgomery at 11/22/2003 10:41:34 PM
Hi, Most remoting examples that I've read for server-actived objects begin with: RemotingConfiguration.RegisterWellKnownServiceType( type, uri, mode ) What are the differences between doing this and doing obj = (type)Activator.CreateInstance(type); RemotingServices.Marshal( obj, uri )...more >>

.NET Remoting and Modal Forms?
Posted by Tales Normando at 11/21/2003 8:43:45 PM
Hi, I have an application that remotes an object for client activation and at the same time shows an user interface. Can modal forms block the requests from the clients until it is closed? Should I add the RemotingConfiguration.RegisterXXXX call in another thread? Would a Thread.S...more >>

Fireing events
Posted by MarkyMarc at 11/21/2003 3:24:30 PM
Hi there, I've been at this for 2 days now and i still can't get it to work but after reading throught this thread, i feel i'm getting closer. After reading "Security Exception remote delegates", i got closed by not getting the exception described there anymore. now i have a diffrent one th...more >>

RemotingServices.GetLifetimeService for and Interface.
Posted by Jean-Francois Hamelin at 11/21/2003 2:43:51 PM
Hi, I'm using server activated object via interfaces: ISessionMgr sessionMgr = (ISessionMgr)Activator.GetObject( typeof(ISessionMgr), "tcp://localhost:8082/MyUri" ); ILease serverLease = (ILease)RemotingServices.GetLifetimeService( sessionMgr ); <==== Does not compile. MyClient...more >>

Can I get client information and interact with client (Remoting) ?
Posted by Alex Cheung at 11/21/2003 2:35:43 PM
Hi, I'm newbie to .NET Remoting, I want to know can I get client information of remoting ? (e.g. IP Address) and Can I show the Information on the Server program ? (e.g. When Client activated a object, the server form can display the ip, or the client send some message display in server form) ...more >>

Remoting and generating WSDL
Posted by Graham Allwood at 11/21/2003 11:14:15 AM
Hi, I am hosting some remote classes in IIS and I thought that I should be able to obtain the WSDL for a service by using the following request: http://localhost/MyAppName/MyService.rem?wsdl When I invoke this I get the following exception: System.NullReferenceException: Object referenc...more >>

Are "server-activated" and "well-known" the same?
Posted by David Montgomery at 11/21/2003 4:55:36 AM
Hi, I'm reading Miscrosoft .NET Remoting by McLean, Naftel, and Williams. On page 29 they write: "The .NET Remoting Infrastructure refers to server-activated types as well-known object types because the server application publishes the type at a well-known Uniform Resource Identifier (UR...more >>

How much data can go into one remoting call?
Posted by John Boghossian at 11/20/2003 8:52:36 PM
I have encountered a problem with a function that from the client uploads a file to the sql-server database. The problem arises when the file is a bit bigger. I have noticed that it doesn´t work with a file that is like 5 mb in size. The error i recieve is the typical binary formatter version er...more >>

Configuration file Help
Posted by Mat at 11/20/2003 4:45:59 PM
I want to add some personal information into configuration file How can read them in my application( it's class library).? Example: in this configuration file, i would like to read all in <userinformation> <configuration> <Userinformation> <user name="MAT", email="mymail@provider.cz"/> <D...more >>

How to use Sockets with proxy
Posted by Mohamed Sharaf at 11/20/2003 3:23:25 PM
Dear all, I'm building a FTPClient to connect to FTP Servers outside our intranet and it works well with FTP Servers inside the intranet when try to connect to servers behind it, it gives me error "No connection could be made because the target machine actively refused it". so How to tell the So...more >>

The channel was forceably closed down
Posted by Paul Cleghorn at 11/20/2003 4:12:21 AM
Hi I am relatively new to net remoting and have been following Ingo Ramer's NetRemoting book for Vb.net. Here is an example of what I am trying to do. Main interface object ---------------------------------------------------------------------------- -------------- Namespace RemObject...more >>

Remoting Error:
Posted by SenthilVel.M at 11/19/2003 3:15:27 PM
HI All, i am Getting an error like "Server occured an internal error " when i am unsubscribing a remoting clinet from the server. the scnario is like this : i am developing a service which broadcasts msgs in regular intervals of time , and am also developing clients to consume the me...more >>

Single call clients count
Posted by Loris at 11/19/2003 12:37:02 PM
Hi to all, I've got an object remoted by reference that inherits from MarshalObjByRef. My server and my client are configured for a Server Activated Object using a SingleCall pattern. Is possible (is there any function provided by the framework) to know, on the server, how many clients are ac...more >>

SAO factory doesn't work well with ServicedComponent
Posted by wojciech.suwala NO[at]SPAM altkom.pl at 11/19/2003 10:57:22 AM
We're using SAO factory class to give access to set of CAO objects to client applications. All our CAO objects implement interfaces and only interfaces definitions are distributed to the client. Everything is graet as long as we return objects of classes that derive from MarshalByRef but when we...more >>

Ingo's RemotingHelper
Posted by Brad Quinn at 11/19/2003 9:18:54 AM
I was really excited to see Ingo's RemotingHelper class. It allowed me to use RemotingConfiguration with interfaces and do away with my own configuration (almost). RemotingConfiguration (understandably) does not allow the following; <system.runtime.remoting> <application> <chann...more >>

Load Testing Remoting Applications
Posted by Vikram at 11/18/2003 11:32:06 PM
Hi, I need to load test a client-server application which uses .NET Remoting TCP/IP with binary formatter as the communication medium between client and server. The server has Server Activated Objects in single call mode. This server would have multiple clients connecting to it The goal ...more >>

Sending message to all online users
Posted by bala at 11/18/2003 10:05:20 PM
How can I send a pop up message to all users currently accessing my site? For example, whenever I need to make changes to my website or shut down the server, I want to notify the users that the site will be unavailable in another hour or something like that.please help thank you...more >>

Out of memory error when remoting a large dataset
Posted by Meghanath Singh at 11/18/2003 4:46:25 PM
I am trying to return a large dataset (in the tune of around 60000 records) using remotable objects and receiving an out-of-memory exception. Is there some solution to this problem? If there is no solution and if this is a known limitation for the ADO.Net dataset then what is the best option? ...more >>

Forcing return message from void method with reference params
Posted by Heath Stewart at 11/18/2003 12:18:46 PM
We have an application where some entry-level programmers / programmers that don't deal with remoting part of our application have passed such things as DataSets as a param in a void method and expect the proxy to make changes (like DataSet.AcceptChanges()) so that when the method call returns, c...more >>

how unregister?
Posted by Alejo at 11/18/2003 11:27:34 AM
I register: RemotingConfiguration.RegisterWellKnownClientType ( typeof(XXX.budgetBL.Transac), "tcp://localhost:8085/RemotingServer3" ) how unregister? sorry my bad english, Alejandro. ...more >>

Activation type & Remotable objects type
Posted by jean_stax NO[at]SPAM hotmail.com at 11/18/2003 7:59:09 AM
Hi ! It's a pretty basic question, but I fail to find a definite answer to it: What is the correlation between Activation type (server-activated / client-activated) and Remotable objects typed (marshalled-by-reference by deriving from MarshalByRefObject or marshalled-by-value by implementi...more >>

SqlDataReader and IComponent
Posted by Tom at 11/17/2003 11:32:03 PM
Hello Friends, Why SqlDataReader is not inherited from System.ComponentModel.Component? While every other major class (SqlCommand, SqlConnection, SqlDataAdapter) from SqlClient namespace is inherited from System.ComponentModel.Component and supports IComponent interface. IComponent ena...more >>

Breakpoints skipped - Cannot debug remote objects.
Posted by BLH at 11/17/2003 5:28:05 PM
Hi, I cannot debug code in remote objects. I set a breakpoint on a line of code in the remote object, but the breatpoint is skipped. There is no error, and the code on the remote server runs fine. It just doesn't allow me to step through it. When I create the object on the local mac...more >>

Problem with Garbage Collecting
Posted by Christian Kreimer at 11/17/2003 4:19:10 PM
I have a quite simple .net remoting application - the scenario is as follows: I have a COM Object that initailizes an c# assembly as follows: public void Init() { if(this.disposed) { throw new ObjectDisposedException("MogisClient","MogisClient has already been disposed"); } ...more >>

Multiple channels & Wellknown objects
Posted by Ken Kolda at 11/17/2003 1:52:27 PM
Is it possible for a single server process to host two well-known server objects each of which responds on a different TCP port/channel? For example, there may be a primary object lisntening on port A and an administrative object on port B (which you might want to block via a firewall). Lookin...more >>

Memory problem
Posted by moggel NO[at]SPAM gmx.de at 11/17/2003 1:01:24 AM
Hi, I encountered the following problem in my remoting environment: the remoting server steadily consumes more and more memory an is never giving it free. The scenario looks like that (language used C#): A remoting-client instantiates an object-factory (via remoting) on a server (SAO, Si...more >>

securityexception on using events ???
Posted by Abubakar at 11/16/2003 11:00:27 PM
(C#) Hi, I'v an interface which I implement in a remoteable object. THe interface is in a separate assembly for the purpose that I can give it as a proxy to the clients which want to use my component remotely. The server and client communications were going smoohly until I modifed my code ...more >>


DevelopmentNow Blog