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 > december 2005

Filter by week: 1 2 3 4 5

It is so slowly when first time I connect the Remoting service,why?
Posted by Robbin at 12/29/2005 11:31:14 AM
Hi Remoting Service Hosted in IIS 6.0,I found it is so slowly when i = connect the service first time,but quickly subsequently, Why? Any help would be greatly appreciated Thanks Robbin...more >>


ADO.NET on x64 error: Unable to find the requested .Net Framework Data Provider. It may not be installed.
Posted by John Yung at 12/28/2005 1:47:23 PM
All, I am running a middle tier component (MarshalByRefObject) as a Windows = Service (the Windows Service starts a Console Application which hosts = the Middle Tier component). When the services is running under a = non-64bit machine, it runs without any problems (accepts client = connection...more >>

Problem with TCP channel !!!
Posted by Nguyen Duc Thang at 12/27/2005 9:53:58 PM
Hi all, I could not find the namespace "System.Runtime.Remoting.Channels.Tcp" in VS2005 Can anyone show me? Thanks ChandlerBing...more >>

SAO lifetimes. I don't get it.
Posted by Darren Mart via DotNetMonster.com at 12/21/2005 7:56:44 PM
I'm still trying to wrap my mind around CAOs versus SAOs in terms of object lifetime. The scary part is I already developed a Remoting-enabled app while having only a tenuous understanding of it. That's what tight deadlines will do, I guess. The background: I have a remotable SingleCall busin...more >>

Remoting not working with network adapter unplugged (and SSPI)
Posted by s_schutte NO[at]SPAM yahoo.com at 12/20/2005 11:48:27 AM
My company is using .NET remoting to do communication between processes on a machine. We are using the SSPI library provided by the Microsoft.samples library to do some impersonation as a user within our windows service (in order to access that user's personal file directory). Everything has b...more >>

Remoting Configuration Issue
Posted by Robert Reineri at 12/19/2005 5:23:00 PM
We have a service where we configure remoting via the configuration file. My problem is this. This service has, until now, only provided services to client applications. Now, the service is going to be a client itself (it needs to remote to yet another service). I am trying to define two tcp ...more >>

VB.NET 2005 Remoting and Single Instance Application Bug?
Posted by Eric Guthmann at 12/16/2005 5:56:30 PM
Has anyone else seen an issue with .NET remoting over a TCP channel when using the VB.NET 2005 application framework in single instance application mode? I get a "an existing connection was forcibly closed by the remote host" error every time. It seems like an odd combination, so maybe thi...more >>

Remoting between 1.1 and 2.0
Posted by Hugo Vale at 12/15/2005 4:31:54 PM
Hi everybody, I have a 3rd party 1.1 framework dll that I want to use in a .net 2.0 application. Alvin Bruney already told me in another newsgroup that I can't use it as a reference in my 2.0 app because it will be run in 2.0. So, I'm wondering if it's possible to make a little 1.1 app that...more >>



Remoting through a WebProxy problem, help!
Posted by Iroel Perez at 12/15/2005 10:55:24 AM
Hi there, I have a distributed C# application that connect to the server using Remoting with a HTTP channel. My application works ok with firewalls but it doesn't work when the Client is using a WebProxy with a configuration script. Any idea how can I resolve that? Thanks in advance, ...more >>

AAAGGGHHH!!! Why is updating DLL's so frustrating?
Posted by Tim Greenwood at 12/15/2005 6:12:23 AM
I've got our .NET remoting server all up and running well. But unlike a WebService we cannot overwrite those dll's because they are in use! They don't seem to be released without STOPPING the server app(host) and then we get "Forcibly disconnected" exceptions on the website! Isn't there s...more >>

Mutex & .NET Remoting
Posted by Greg at 12/14/2005 11:46:27 PM
Hi All, I've a problem. I want to implement a kind of distributed mutex mechanism, based on one coordinator (the server). The server has a shared object (singleton, marshalbyref) which exposes 2 methods takeMutex() and releaseMutex(). I implemented these methods using the standard c# mutex, b...more >>

Connection terminates, have to restart server?
Posted by Owen J. at 12/14/2005 2:30:16 PM
We have a web application that uses .NET remoting to communicate with another server. This second server is used to generate Crystal Report files. Each process can run for several minutes, (some reports can be over a hundred pages). When a several reports, (20 or more), are generated at the...more >>

How to validate the URL ?
Posted by Prakash at 12/14/2005 2:03:33 AM
Hi Friends, I am developing application based on .net Remoting. In my client application i have accessed the remote object by Activator.GetObject function. In this GetObject function, i have passed the second argument as URL, like "tcp://localhost:8384/Container". From my client program how c...more >>

Is object remote activated
Posted by defense at 12/14/2005 1:02:23 AM
I have .net class library, which classes I activate as client objects and/or as remote objects. Inside those objects I need to know how were they activated: remote or inside client application. Question: how to get that information from object? ...more >>

Delegation problem in FW 2.0
Posted by Alex Ivanov at 12/14/2005 12:03:02 AM
Delegation not work in 3-tier application. My configuration: Client: windows app. "Account is sensitive and cannot be delegated" is not selected for user. Middle tier: windows service (log on as local system). Server: SQL Server (log on as local system). All computers has "Trust this comp...more >>

remoting program hangs with FIN_WAIT2
Posted by David Mensik at 12/13/2005 4:50:47 PM
Hi all, I have this simple remoting object server program: --- RemotingConfiguration.Configure(Helper.GetCurrentProcessConfigFile()); Console.WriteLine("Started.\r\nPress any key to exit..."); Console.ReadLine(); --- Next I have a client, which is using this server object. When I press...more >>

Problem calling a remote object from within a remote a object
Posted by EMac at 12/13/2005 9:00:02 AM
Hello, Would be interested if anyone has come accross this problem? Have some SingleCall SOA remote objects and communicating with them using http channel. Theres is a lot of extra client and server formatters. I have a problem when: 1. Client calls a method on remote object (Obj1) prov...more >>

AccessViolationException
Posted by Nicolai Andersen at 12/13/2005 8:27:03 AM
Hi, I have just migrated a client/server application to .Net 2.0. After that I get an AccessViolationException in the server program when the client program is terminated!! "AccessViolationException: Attempted to read or write protected memory. This is often an indication that other mem...more >>

app.config and Published
Posted by max at 12/12/2005 11:45:23 AM
Hello there How can I specify the URL of a "published" object in the "app.config" file of a client? That is: ############### SERVER: I have a Singleton obj (don't confuse with "WellKnownObjectMode.Singleton" ) I want it published by remoting. .... static void Main(string[] args)...more >>

Help please. Switching Remote server in Remoting Custom Sink
Posted by Eric at 12/9/2005 8:02:19 AM
Hi! I am trying to handle failover in remoting by try is to change the URI of the message to a new server. I implemented a Custom client Sink with the following ProcessMessage // IClientChannelSink public void ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestS...more >>

Host a web service in a Windows Forms Application
Posted by Ludovic DE FREITAS at 12/9/2005 5:50:01 AM
Hello, I am making a prototype system with a Pocket PC that must connect to a Server Application. Unfortunately, the server cannot be a Web Server, but a simple Windows Forms Application. Here is my question: The only way to easily communicate for a Pocket PC is the Web Service. Is it p...more >>

Windows Service host on .NET 2.0
Posted by hangar18 at 12/9/2005 3:45:37 AM
Hi, we are currently using the Beta 2. I've created a simple remote object which i'm hosting on a windows service. This is the code in the service Protected Overrides Sub OnStart(ByVal args() As String) RemotingConfiguration.Configure("RemoteClassLibServer.exe.config") End Sub I have s...more >>

Return argument has an invalid type
Posted by sidney at 12/8/2005 6:06:02 PM
I have a dll hosted in IIS with two declared classes: ClassA and Class respectively: class ClassA : MarshalByRefObject { public GetB { get{return new ClassB();} { } class ClassB : MarshalByRefObject { public Something() } When I try to execute the code: ClassA myClassA = ne...more >>

Help: Requested Service not found
Posted by larry at 12/8/2005 11:17:17 AM
I'm trying to host a small remoting object on IIS, I tried several days, I can not get it work, So please help me, I really appreciate your help. Follwing is my code: ------------------------------------------------------- //Remoting object code ------------------------- using System; nam...more >>

Passing and Requesting a MarshalByRefObject
Posted by lhfiedler NO[at]SPAM gmail.com at 12/7/2005 4:02:22 PM
I'm seeing a memory leak when an mbr object is passed to a process and then the originating process requests it. Lets say I have processes A and B. In a shared dll I have classes ASingleton and Fruit. ASingleton is an mbr singleton created on A and Fruit is an mbr object. Let's also say that...more >>

.NET 1.1 Sample Error?
Posted by Zhenxin Li at 12/7/2005 3:13:55 PM
Hello, I'm learning .NET remoting by SDK samples. I find a strange config file in RemotingCOM sample in C:\Program = Files\Microsoft Visual Studio .NET = 2003\SDK\v1.1\Samples\Technologies\Remoting\Advanced\RemotingCOM\MediaPla= yer\Service. <configuration> <system.runtime.remoting> ...more >>

Remote error: Return argument has an invalid type.
Posted by Sidney da Silva Alves at 12/7/2005 1:14:27 PM
I have a dll hosted in IIS with two declared classes: ClassA and ClassB respectively. class ClassA : MarshalByRefObject { public GetB { get{return new ClassB();} { } class ClassB : MarshalByRefObject { public Something() } When I try to execute the code...more >>

How server objects in .NET remoting hanle Multiple Client Request
Posted by Hari at 12/7/2005 6:26:04 AM
Hi all, I have hosted a Singleton Server object. If 10 different client application call a function in the SAO will these requests be processed concurrently in the server system or will they be processed sequentially. I have the same issue with CAO. When multiple clients call a function in...more >>

How may I keep a reference to a delegate
Posted by Geofrey van Hecke at 12/6/2005 10:35:55 AM
I everyone, I would like to define a member class to keep a reference to a delegate: Here is the delegate definition: public delegate object ReceiveMessageEventHandler(string message); In the code, I create an instance of such delegate like this: ReceiveMessageEventHandler remoteA...more >>

Hosting a Remote Server on IIS, .NET 2.0
Posted by hangar18 at 12/6/2005 5:57:40 AM
Hi, We're currently using the beta version of .NEt 2.0 I have a remote server which i want to host on IIS. Problems are 1. When i specify the channel as "ref = http" in the server web.config, it looks into the machine.config ( I assume). The machine.config does not have any attributes for "htt...more >>

Events and Remotings cause problems
Posted by Geofrey van Hecke at 12/5/2005 8:48:20 AM
Hi Everyone, I've post a message last week to explain my problem when registring to event on a remote object. The code of my client makes a connection to the server component using the "remoting" mechanism: RemoteCallServer = (ICallServer)Activator.GetObject(typeof(ICallServer),"tcp...more >>

Help with error Requested Service not found
Posted by GKM at 12/2/2005 3:02:02 PM
Hi, Things work ok when I register the service programatically. But when I use a config file I get the error Requested Service not found when invoking a remote method. Can someone point out the discrepancies between the code and the config file. thanks GKM The code and config file a...more >>

Singleton Objects and the Finalize Method
Posted by NeddyRock at 12/2/2005 1:18:02 PM
Is there an easy to have a method in a Remotable Object execute once that object's lease time has expired and it is set to be released? I thought the Finalize Method would do this, but I can't get it to work. I've tested this with a client app that instantiates a singleton object which exec...more >>

Remoting server availability
Posted by Michael H at 12/2/2005 1:01:55 PM
Hi there I am trying to come up with a method of retrying a remote method a specified number of times if the remoting server is unavailble before informing the user of the situation. Could this be done using a custom channelsink and if so how thanks Michael. ...more >>

Cannot register to an event !!!
Posted by Geofrey van Hecke at 12/2/2005 12:34:05 PM
Hi every one, I'm trying since 2 days to have a simple client/server application using the "Remoting" mechanism. I would like that my client application register to an event fired by the server... Up to now, the client-side code looks like: public void ConnectToTheRemoteCallServer() ...more >>

advice needed for hosting server and client
Posted by Joe Abou Jaoude at 12/2/2005 8:55:00 AM
Hi, I m developping a project on a LAN that should appear pretty much like msn notification.ie when the user turn on his computer an icon should be displayed on the system tray, and when something happens he should get notified by a windows popup. Now I did all the remoting design and tried i...more >>

Loadbalancing/ Clustring Web Services VS Remoting
Posted by hangar18 at 12/2/2005 12:56:37 AM
Hi We are building a Client/ Server application in .Net 2.0. It is going to be distributed application. Requirement is to delpoy the application in 2 modes: 1. Simple 3 Tier Architecture 2. Deploying it on centeral server and incase the performance is not good due to the load do the load bal...more >>

The call to TransparentProxy of remote object hangs forever
Posted by Leonid Astakhov at 12/1/2005 7:49:43 PM
Hi all. I'm experiencing a problem. I have a singelton object is published on a server side through TCP channel. Client activates it via Activator.GetObject (...) Everything works fine. Client calls methods of this object. On a server side it takes time to process before the remote call...more >>

HTTPContext in remoted object
Posted by Mike at 12/1/2005 2:57:17 PM
Hi, I'm trying to poke around and see what kind of client connection information I can find from the remote object I have hosted in IIS. Can anyone point me in the right direction? I found System.Web.HttpContext.* in MSDN, but I can't seem to use that, all I get is ASPNetHostingPermission* ...more >>


DevelopmentNow Blog