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
all groups > dotnet remoting > august 2005

Filter by week: 1 2 3 4 5

when is the threadpool used in remoting calls?
Posted by Efim at 8/31/2005 9:56:54 AM
Hi, My applications (server and client) use remoting for communication (SAO - factory + CAO - processing a job, TCP channels + binary provider ). Since the processing of the client request takes long time I thought that the system can service up to 25 (per processor) requests at the same time,...more >>


Service not available
Posted by Reid Roman at 8/31/2005 8:24:08 AM
I am following along with the book "Expert C# Business Objects", in chapter 3 it uses VS to construct a simple server and client using a SingleCall via MarshalByRefObject. The demo starts out using the TCP/IP channel and then modifies it to use IIS and HTTP as the host channel. When the demo i...more >>

how to confiure the remoting without .config File by changinf url of the Server
Posted by fabiendonato NO[at]SPAM gmail.com at 8/31/2005 6:26:01 AM
All, In my application, I have to change the remoting server address ( url ) .. So I would like to be able to use the url as parameter and to configure the remoting service with the given IP address. So does anyone knows how it works ? How can I acces to the data that the method System.Runtime...more >>

SecurityException during deserialization
Posted by Christian Häberli at 8/31/2005 12:00:00 AM
Hello everyone, I get SecurityExceptions during deserialization of marshal-by-value objects if such an object has a static field initialized with Environment.MachineName. The same code works if the static field is not initialized or the initialization is delayed after the deserialization o...more >>

How to keep track of the active clients in server?
Posted by Senthil at 8/31/2005 12:00:00 AM
Hi, There is a need to keep track of number of clients connected to the remote server. How could it be done for Singleton and CAO activation model? Can anyone help? ...more >>

Remoting Custom Exception problem !!!
Posted by Shibu at 8/30/2005 10:42:49 PM
Hi, I have One Client (Machine 1), Remoting Server-1 (Machine 2), Remoting Server-2 (Machine 3) Client calls Remoting Server-1 and Remote Server-1 calls Remoting Server-2. Requirement is that, when a custom exception is thrown from the Remoting Server-2, it should reach Client application...more >>

Secure TCP Channel using Remoting .NET 2005
Posted by mr2paul at 8/30/2005 10:46:03 AM
I have a query on authentication design for a service orientated architecture application hosting .NET 2005 remoted objects on a server called on by clients using .NET remoting and secure tcp channel Problem Scenario is as follows… I am developing a service orientated application in ...more >>

Registering two channels
Posted by Waldyn Benbenek at 8/30/2005 9:16:01 AM
I need to register two channels but the system only seems to recognize one. I have a server which has two-way remoting with its clients. It acts as a server with a security sink. It also fires events to its clients. This means that the channel has both a server sink chain and a client sink...more >>



IIS Remoting problem.
Posted by Patrick McGovern at 8/29/2005 3:00:36 PM
Hi, i'm following the example from the msdn site for hosting remote objects using iis. http://tinyurl.com/6zy5z i keep getting a 405 (method not allowed) and i believe i've set everything up according to instructions...i'm using iis v 5.1 and i've setup windows integrated security and ...more >>

Remoting events GUI messagebox
Posted by Gene Vangampelaere at 8/29/2005 12:00:00 AM
I have a problem with my Remote Events. This is my situation: I have a server application (windows service) that 'hosts' a remote object. I have 1 or more client applications that are 'using' the remote object. When the server fires an event the clients are recieving the event. But here I hav...more >>

Problem with Disconnect / Unregister
Posted by James at 8/26/2005 5:37:44 PM
Ok. I have been banging my head about this issue for the last couple of days. I have tried just about everything i could find out there but nothing is exactly what i am experiencing. Currently I am developing a Server Awareness program that runs on the client. The basic principle is that in th...more >>

server encountered an internal error. for more information, turn off customErrors in the server's .config file.
Posted by Ray Stevens at 8/26/2005 11:12:19 AM
That is not a particularly useful error message. this is being thrown by a remoting server accessing the bll/dal layers from a web. I turned off customErrors in the remote config file, but still get this error. Anyone have a clue as to what to do about it? ...more >>

Threading Question
Posted by Ron at 8/25/2005 4:32:31 PM
I have a singleton hosted in IIS adn have a question regaring threading and how methods are handled on concurrent calls. Note: all of the data used is from within the method itself (or pulled from a database from within the method ) Say the method is called concurrenetly ( or at least very...more >>

Info on debugging a remoting service?
Posted by Ray Stevens at 8/25/2005 1:11:17 PM
Anyone know of a good source on how to debug a remoting service running on another server? ...more >>

When should I use remoting??How manay users??
Posted by Bear at 8/23/2005 11:20:02 PM
I have a project. I want design it like below. IE ---> IIS ---> remoting <-- window froms Ap | DB My Browser Client have about 10,000 ~ 20,000 users. My window forms Ap jsut have 10 or 20 users. Should I use remoting to my architect...more >>

Soapsuds tool and functions returning abstract classes
Posted by Andrew Shepherd at 8/23/2005 12:31:43 AM
This is a problem I'm sure that has been countered before. In a nutshell, the Soapsuds tool is not generating information about all of the public classes in a remote assembly, and I need it to. The specific example: I have a remote object and it returns a reference to an abstract base class...more >>

Remoting exception after installing new MS AntiVirus
Posted by Alex at 8/22/2005 6:50:13 AM
Hi, We have a multi-tiered app that heavily relies on .Net Remoting. The app contains of COM+ Server that reside on W2K, Biztalk Server also on W2K. User access the app thru XP SP2 or W2k machines. After last Tuesday’s virus outbreak we installed Windows Malicious Software Removal Tool -...more >>

NAT and Remoting
Posted by venkats_n at 8/21/2005 11:36:14 AM
I am developing an WinForms based application used 90% within a LAN and 10% across the Internet though the Internet use may increase over time. This application uses the remoting technology. The application does not work for Natted IP addresses. I tried to work around this problem with the r...more >>

The underlying connection was closed: An unexpected error occurred on a receive
Posted by J at 8/21/2005 11:15:07 AM
We are receiving this error when attempting to process a load of approximately 5000 requests. The scenerio is as follows: A Windows Application makes a request to Windows 2003 server which in turn makes a request to a mainframe using EntireX. The error occurs on the server. I'll post ...more >>

What's the difference between Activator.GetObject(serverType,url) and RemotingServices.Connect(serverType,url)
Posted by Gustavo Guerra at 8/21/2005 12:00:00 AM
Hello Can some one explain me the difference between Activator.GetObject(serverType,url) and RemotingServices.Connect(serverType,url)? They seem to do exactly the same. Best Regards, Gustavo Guerra ...more >>

Long run process with progress notification
Posted by Barry at 8/20/2005 4:26:01 AM
I'm writing remoting project, client is a windows form application and remote objects are hosted on IIS. Some of the methods of remote objects would consume long time no run, I want to show the progress or state of the process on the client side to notify the client about the progress. I've...more >>

Server notification from client
Posted by venkatesh at 8/19/2005 8:52:26 AM
Hello, I am new to.Net remoting. Just got some concepts on how it works. I have to do this at my work. I have a server with a remotable object. There are some clients connected to the server using .Net remoting. One client changes some value from his front end and updates the data in the se...more >>

HELP: Dymamically create IPC channels in windows service application(newbie)
Posted by Hank at 8/18/2005 5:31:28 PM
Hi, experts: I am writing a windows service application in C# which will dynamically create IPC channels upon receiving client requests(both service and clients running on the same machine, so I choose IPC instead of TCP or HTTP). following are my questions: (1)How do I dynamically get free ...more >>

Interface serialization
Posted by Fanette Ozil at 8/18/2005 8:57:30 AM
Hello, Here is the goal of my project : - to create a simplified API with helper classes for a complex software. - to protect the software code by redefining a new interface. My project contains 3 assemblies : - one that I call "interface dll", which only contains interfaces and abstract...more >>

remoting not working through vpn
Posted by Rich Wood at 8/18/2005 7:33:08 AM
My application consists of a client and server that communicate via a Tcp Channel. The client sends requests to the server which then sends data back to the client. It works fine for clients on the LAN but not for clients connected to the LAN through VPN. The clients are able to send requests ...more >>

Problem recieving data from mainfram application
Posted by Paul at 8/18/2005 5:45:49 AM
Hi. I'm connecting to an IBM mainframe application with a TcpClient-object. I have prewritten JAVA-code which works fine, but my simple .NET code will not work. Can anyone a bit more experienced please help me? I'm rather stuck.. Here's my code: TcpClient tcpClient = new TcpClient(); tcpC...more >>

IpcChannel and events problem
Posted by Stein Karlsen at 8/18/2005 12:33:02 AM
Hi I'm trying to fire events via ipcserverchannel and ipcclientchannel but I get this message : "This remoting proxy has no channel sink which means either the server has no registered server channels that are listening, or this application has no suitable client channel to talk to the s...more >>

Remoting events problem HELP !
Posted by Gene Vangampelaere at 8/18/2005 12:00:00 AM
Hi, I'm having a problem with my remote events. I've uploaded my code to : http://www.vangampelaere.be/download/RemotingEventsDemo.zip The server console works fine but when I try to add the handler to the remote object event i get : ...more >>

What is the best method for .NET App inter process communication?
Posted by Thanga at 8/17/2005 8:05:21 AM
Hi Experts, I have a standalone desktop application, a windows service and couple of MS Office Add-ins. All these applications run in the same computer. The Desktop Application needs to talk to Windows service and Office Add-ins and Vice versa. Since all these three are running under the dif...more >>

Scalable architecture and retaining state in SAO
Posted by kerkkoj NO[at]SPAM gmail.com at 8/17/2005 5:41:15 AM
Hi, I have remote objects that offer object persistence services to clients. When my server starts up, it reads up all information about the remote objects from an config xml-file. For example, in the config file I tell which persistence-class to use and to which database fields objects sh...more >>

Why would I NOT use remoting?
Posted by Michael at 8/16/2005 11:46:57 AM
I'm wring a smart client app which will be used 90% within a LAN and 10% across the Internet though the Internet use may increase over time. I've set off using remoting but have noticed Microsoft suggesting in a number of places that we should use Web Services in preference most of the time a...more >>

Web Farm/Load Balancing question
Posted by Anthony at 8/15/2005 11:25:03 PM
Hello everyone! I've searched around for an answer but couldn't find one, so I'm hoping one of you savvy .NET gurus would know the answer. Basically, I would like to know how SAOs and CAOs work in a web farm scenario and how .NET achieves load balancing. The reason I am asking this is becau...more >>

sharing static data
Posted by Brad Quinn at 8/15/2005 2:05:04 PM
I have a console application that hosts several server activated objects. Before Main calls RemotingConfiguration.Configure it initializes a bunch of static members in a class that holds configuration information. None of the hosted objects modify this data (the members are private and there...more >>

How to instantiate objects in this situation?
Posted by ErickShuai NO[at]SPAM gmail.com at 8/14/2005 11:57:57 PM
Regularly, on client application, we instantiate a remote object like this: BaseRemoteObject obj = (BaseRemoteObject) Activator.GetObject(typeof (BaseRemoteObject),"http://localhost:1234/MyRemoteObject.soap"); In this situation, we know exactly the objects' type on server application. But in ...more >>

Remoting question
Posted by Jatin at 8/14/2005 7:58:57 PM
I am new to .NET remoting, but I do have classical socket based client/server programming. I have question about communication between the remote object and the server (which registerd it), which I hope someone more experienced can respond to. Essentially what I have is this: (1) I ha...more >>

Avoiding "Server Busy" Dialog
Posted by sunrat at 8/12/2005 12:32:08 PM
In my remoting application, if the url of the host cannot be found, a "Server Busy" dialog appears with two active buttons: Switch To and Retry. No Exception is thrown. Clicking Retry sometimes results in the application catching an exception, which it can then handle gracefully. Most Retrys, ...more >>

Design question
Posted by Stein Karlsen at 8/12/2005 3:11:01 AM
Hi !! How to I design a system where I want to retrieve data from a database only when the first client is connected to my remote server. All the other clients has to get the same data as the first client, even if there has been database updates. I've been searching around the net and read ...more >>

Remoting Design question
Posted by chewie at 8/11/2005 8:40:53 AM
I’m designing an application that can push alerts to client machines. The basic design is that the client registers the remoting object and port and waits for an alert push from the server. The server enumerates through the list of clients and activates each client object which would then ...more >>

Help - N Tier Architecture ?
Posted by Silent Ocean at 8/10/2005 8:21:38 PM
Hi 1. I am in process of designing N-Tier Application using ASP.NET. Can anyone guide me the right material or microsoft guidelines document which I can used in designing the N-Tier application. 2. I would also like to know whether to use Web Services or .Net Remoting in designing N-Tier...more >>

What about CAO?
Posted by RCS at 8/10/2005 6:38:40 PM
So have a successful remoting environment setup with a shared assembly that stores the interfaces-only that are available. The client has a copy, and the remoting server has that, and also has objects that are offerred, that implement those interfaces. On the client, I am using Activator.Ge...more >>

Central Remoting Service
Posted by Tim Ford at 8/10/2005 11:42:29 AM
Hi Guys, I need a little advice to see if this is possible using remoting and objects. 1) Create a client with an event to receive a datarow from the server 2) Create a service that accepts connections(Subscribers) 3) When a user makes a change to a datarow in a datatable that all users ...more >>

Remoting and COM+
Posted by Ian Harding at 8/9/2005 11:41:00 AM
I have a COM+ application, which acts as a remoting server. The .NET assembly contains two COM visible objects - one is trigger by a service to load a config file and start listening for remoting clients, the other is used in remoting calls (there is another object which is the actual remot...more >>

Calling events on the server
Posted by Rodrigo C. Souza at 8/9/2005 7:31:15 AM
I´m writing a remoting application (server and client). The client calls the server to get some data and the server sends the requested data. My questions is: How do I "know" the address of the client who sent the request and the data that was sent to him? I want write something on the serve...more >>

Singleton threading question
Posted by Ron at 8/5/2005 3:37:41 PM
When two requests hit a method call on a singleton object nearly simotaneously is it possible that the second call could overright the parameters passed into the first request. void SaveIntToDatabase ( int i ) { //do a bunch of processing that // takes time //execute command ob...more >>

Getting Error : (407) Proxy Authentication Required.
Posted by mili at 8/4/2005 10:25:01 PM
Hi, I am using events in .Net remoting Scenario, So server process can invoke client delegate function by firing the event. But when my server tries to fire the event, I get the a exception : System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required...more >>

Help!!! Could not establish secure channel for SSL/TLS intermittent error
Posted by PromisedOyster at 8/4/2005 8:24:47 PM
Our C#/.NET Remoting application has been running successfully for a number of months on a number of different networks. However, there is one client using HTTPS that is getting the following error message intermittently: The underlying connection was closed. Could not establish secure chan...more >>

Array Remoting
Posted by MoriCristian at 8/4/2005 1:27:02 AM
Hi everyone. I'm having troubbles in remoting an Int32 array. All the data are correctly passed from the server to the client, but if in the client I try to write an element of the array the data is not passed back to the server. Can anyone explain me why? Thanks!...more >>

Remoting Beginner
Posted by CristianMori at 8/3/2005 2:14:06 PM
Hi everyone! I'm pretty new on remoting. Today I have managed to create a singleton of this object class MyObject : MarshallByRef { public Int32 test1; public Int32[] testArray=new Int32[40]; public String testString="Test"; public MyObject() {} } If in the server I write each...more >>

(404) Not Found.
Posted by jenright560 at 8/3/2005 11:21:02 AM
I have created a remoting component on a Win2K server using IIS 5.0 and can connect to the component. However when I move the component to a Win2003 server running IIS 6.0 I get a (404) Not found message. Why?...more >>

application domain
Posted by Cristian Mori at 8/3/2005 12:00:00 AM
Hi! Another question for you.... Using Application Domains, is it possible to share data within several process on the same machine? Thanks! ...more >>


DevelopmentNow Blog