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 > recent posts

Re: Remoting with a Service... Not Listening?
Posted by Mark Assousa at 4/23/2008 5:52:17 PM
Hi. I'm assuming your Listener class is derived from MarshalByRefOject? Yes, once the listener is up and running, you should be able to see it monitoring the port via 'netstate -a'. How are you registering the channel and class, programatically or with a config file? It may not be necessary...more >>


RE: Failed to create an IPC Port: Access is denied.
Posted by ServerSide6 at 4/23/2008 12:46:40 PM
Try this: if(null == ChannelServices.GetChannel("ipc")) { IpcChannel channel = new IpcChannel("YourPetPortName:1"); ChannelServices.RegisterChannel(channel, false); } From http://www.developmentnow.com/g/24_2006_2_0_0_690000/Failed-to-create-an-IPC-Port-Access-is-denied-.htm Posted...more >>

Remoting with a Service... Not Listening?
Posted by Scott Townsend at 4/22/2008 10:18:17 AM
I've written a Windows Service, Listens for Data via TCP, Each listener is spawned in a new Thread creating a new Listener Object. I have the Interface for the Remoting Server side on the Listener Class Object (separate Project that Generates a DLL) The Service Works and I'm running my cod...more >>

RE: Remoting Delegates and events
Posted by Charlie Rundles at 4/22/2008 9:33:01 AM
Hi Steven, I tried the same thing--I believe you're trying to implement the Observer pattern. This is not simple--I've have not quite figured out how to do so. Existing examples implement "chat room" patterns, where one client can post messages to other clients--the server only relays messa...more >>

Re: how retrieve client IP
Posted by Iwan H at 4/19/2008 12:56:29 PM
mttc wrote: > Remoting with tcp chennel. how I can retrieve client IP you may have to create a custom server sink. try google / search the msdn with keyword "CommonTransportKeys.IPAddress". HTH....more >>

Multiple Server Objects Sharing a Common URI
Posted by Mark Assousa at 4/18/2008 6:08:06 PM
I have an assembly (iFormsServer) that exposes two objects descended from MarshallByRefObject (iFormClient and iFormInstrument). The server side configuration is as follows: <?xml version="1.0" encoding="utf-8" ?> <configuration> <system.runtime.remoting> <application> <cha...more >>

GC.Collect() not cleaning memory, how to find out what references to lots of memory still exist?
Posted by DR at 4/15/2008 2:04:02 PM
GC.Collect() not cleaning memory, how to find out what references to lots of memory still exist? When all my processign is done i set everything to null and then: GC.Collect(); and then GC.WaitForPendingFinalizers(); but it still shows that my process takes 400 MB of memory. Is there any ea...more >>

Remoting Delegates and events
Posted by Steven Rosenberg at 4/15/2008 10:40:39 AM
I am trying to create a remote class that will allow a client to subscribe to an event using delegates in C#. I have tried to do this my setting up a class that is marshaled by reference to be used as the object that handles the event public delegate void RemoteAlert(string str); public...more >>



SSPIException @ using Remoting security channel sink provider
Posted by Stephen S at 4/14/2008 9:46:02 AM
We use .Net Remoting as our communication channel. In our config file we have a remoting section to use Windows security. <system.runtime.remoting> <customErrors mode="off" /> <application> <channels> <channel ref="tcp" port="38415"> <serverProviders> ...more >>

how to use remoting to execute native dll calls from ASP.NET page?
Posted by Chris Bordeman at 4/10/2008 6:25:35 PM
I have a native C dll (NOT COM) and I don't want to do a COM wrapper. My problem is that ASP.NET won't let you directly call (DllImport) native code unless using COM, which isn't an option. Is there a way to maybe run a process somewhere that I can use .Net remoting to make these calls fro...more >>

Remoting hangs when tcp client is missing 'channel' element
Posted by roger.orr@gmail.com at 4/10/2008 1:14:43 PM
Hello, I am finding that if the remoting client is misconfigured then client calls can hang. I'm using .Net 2.0 and secure tcp remoting. Server side: <!-- Remoting hosting section --> <system.runtime.remoting> <customErrors mode="off"/> <application> <service> ...more >>

PerformanceCounterCategory.Create() takes 3 minutes to add a new category!! How come? What can cause this?
Posted by DR at 4/10/2008 12:25:49 PM
PerformanceCounterCategory.Create() takes 3 minutes to add a new category!! How come? What can cause this? ...more >>

Connect to remote COM+ object
Posted by sjoshi23@yahoo.com at 4/8/2008 9:10:58 AM
All I'm trying to get this to work but I'm having problems. I have added reference to a COM+ dll to get the class (type) I need. Now this is hosted on a remote server (SP3DSMP1) as a COM+ component. So I tried this from a client... Type comType = Type.GetTypeFromProgID("NTNameService.Upd...more >>

Re: Is .net remoting what I am looking for?
Posted by Oolis Kraprin at 4/8/2008 12:30:14 AM
Just to followup, I implemented both client and server classes as remotable objects and defined c# interfaces to represent the remotable interfaces. I ended up putting both interface descriptions in the client module, and making the server reference the client module. A better design would have ...more >>

ILS.Net - doubt
Posted by Parry at 4/6/2008 8:28:01 PM
Friends, Im studying the ILS.Net, a Manhattan Associate Product, for an implementation. I would like to know more about the system however, I have not been provided with enough material. Could anyone of you share the knowledge with me. Rgds, Parry...more >>

Re: some new languages
Posted by king at 4/5/2008 11:26:05 PM
<davidboon28@gmail.com> 写入消息 news:3a4e24be-2e9a-4d37-8b78-f511d37e7a76@d21g2000prf.googlegroups.com... > > http://comp-languages.blogspot.com > > > > http://computer-language-tutorials.blogspot.com What are you talking about! ...more >>

Are Activator/Remoting Proxies Thread-Safe?
Posted by Jules Winfield at 4/4/2008 10:18:40 AM
I have a singleton object that's accessed via remoting by way of Activator.GetObject(): SomeObject someObj=(SomeObject)Activator.GetObject(typeof(SomeObject),someUrl); My question is: Is the proxy returned by Activator.GetObject() thread-safe? I know that my IMPLEMENTATION of SomeObject ...more >>

Re: Web Service [SOLVED]
Posted by Peter Bradley at 4/3/2008 9:16:36 AM
Peter Bradley wrote: <snip /> > > In order to get something to work with, I have tried to construct an > interface for the Web service using the wsdl.exe utility: > <snip /> I realised that I could put all the files up on a Web server and create a Web reference in a VS project. The ...more >>

Re: MarshalByRef class and non-serializable members
Posted by alex at 4/3/2008 6:59:23 AM
Hello Jeroen, Thank you for your reply > Why? That would be my first question. There's something very > unintuitive about one AppDomain creating this object and another one > using it. There was an idea to create asp.net host (by calling ApplicationHost.CreateApplicationHost()) on the f...more >>

Re: MarshalByRef class and non-serializable members
Posted by Jeroen Mostert at 4/2/2008 8:18:21 PM
alex wrote: > I need to send an object of HttpListenerContext class to another > AppDomain. Why? That would be my first question. There's something very unintuitive about one AppDomain creating this object and another one using it. > HttpListenerContext class is neither inheritor of > M...more >>

Web Service
Posted by Peter Bradley at 4/2/2008 9:16:12 AM
I'm not sure if this is the correct forum for posting queries about .NET Web services. If it isn't, please point me in the right direction, and I'll trouble you no more. I have to write an application that will interact with a Web service exposed by a partner organisation. Unfortunately t...more >>

MarshalByRef class and non-serializable members
Posted by alex at 4/2/2008 7:24:37 AM
Hello I need to send an object of HttpListenerContext class to another AppDomain. HttpListenerContext class is neither inheritor of MarshalByRefObject nor marked as Serializable (more over it is sealed). I wrote a wrapper for this class and tried to send an object of this class which inherits...more >>

Response Point
Posted by FCS at 4/1/2008 7:20:04 AM
I am trying to make an outbound call and the system keeps coming back and saying that this is not a valid extension. This seemed to be working the other day and now it has just stoped working...more >>

how retrieve client IP
Posted by mttc at 3/22/2008 3:22:39 PM
Remoting with tcp chennel. how I can retrieve client IP...more >>

remote desktop
Posted by abid at 3/22/2008 8:51:00 AM
how to configure remote desktop on LAN (on workgroup computers...more >>

Mcafee buffer overflow conflict with .NET remoting
Posted by Max K. at 3/21/2008 8:28:41 AM
We are having issues with .NET remoting and Mcafee VirusScan. Our managed browser extension runs in Internet Explorer and communicates through .NET remoting with our logger application to log request/ response information. Both: the IE extension and logger are written in .NET 1.1. The logger c...more >>

some new languages
Posted by davidboon28@gmail.com at 3/18/2008 6:40:44 AM
http://comp-languages.blogspot.com http://computer-language-tutorials.blogspot.com...more >>

Finding my VPNs
Posted by Ton Geurts at 3/17/2008 2:39:00 AM
I am writing a connection program for which I need to iterate my VPN connections. When I use the static method System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces() I can't find them unless they are already connected. But I am looking for the ones that aren't connected yet...more >>

SocketException: An attempt was made to access a socket in a way forbidden by its access permissions
Posted by Les Caudle at 3/13/2008 9:56:11 AM
I've got code that's been working for years. This is running on Win2003 Server whiled logged in as the admin. When the MS sec fixes were installed last night, this code now fails with: System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its acce...more >>

Re: Client crashes when calling method in server
Posted by JamesB at 3/12/2008 9:53:55 PM
"JamesB" <james@com> wrote in message news:47d84def$0$10638$fa0fcedb@news.zen.co.uk... > Hi, > Still working away on my remoting based client/server setup - new problem > I have is as follows: > > My windows service (the "server" as far as remoting is concerned) has a > method that is ca...more >>


DevelopmentNow Blog