Groups | Blog | Home


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 > october 2003 > threads for october 15 - 21, 2003

Filter by week: 1 2 3 4 5

System.Security.SecurityException
Posted by Thomas Craven at 10/21/2003 8:15:48 PM
Hopefully a quick question, I have a remoting app that works fine on the dev platform (XP SP1A) but trips up on the production platform (2003 Server). I have a well known singleton type + delegate type + event. Clients can hook into events in the usual way. So my client code looks like.....more >>


Best way to get local IP Address and Domain Name?
Posted by Tony at 10/21/2003 3:49:56 AM
What's the best way to get the local IP address and domain name? Right now I 'm using the following to get the domain name: string local_domain_name = System.Environment.UserDomainName; And the following to get the local IP address: IPAddress local_ip_address = Dns.Resolve( Syst...more >>

Assembly(code) Migration
Posted by Gareth Gauci at 10/20/2003 10:41:02 PM
Hi, Consider two nodes, A and B. B is the 'server' and A is the 'client'. The client has a class definition with a number of methods. One of the methods is called Execute(). B does not have the class. Only A has the class. Is it possible to migrate the assembly or class defn from A to B ... ha...more >>

Application freeze, can somoone help me please
Posted by jan v at 10/20/2003 10:22:21 PM
I have a project wich uses remoting. I have read the book ".net remoting" from MS press and I decided to use the same architecture as described in chapter 3. I have a caching dataset wich contains all the data in a SQL server and is filled on startup of the program.. When something in the cli...more >>

How to serialize inherited typed datasets
Posted by Laurie Paulin at 10/20/2003 5:37:50 PM
If I have a class that inherits from a typed dataset, how do I serialize it? i.e. all the serialisation functionality is protected at the typed dataset level and therefore I can not override any of the methods. For example, I can not override GetObjectData to put my other properties in the info ...more >>

the best host
Posted by Tom Hartnett at 10/20/2003 3:12:14 PM
I would like to hear some opinions on what the best way to host a remote object is. I've got a small, inquiry-only (well mostly inquiry) app. Taking advice from CodeMonkey (thank you) I am using SingleCall objects. I'm hosting my remote DLL in IIS; I chose IIS because it was there already. Gi...more >>

Simple Channel /Formatter Questions
Posted by Ron Lemire at 10/20/2003 10:54:41 AM
Hi, When .NET Remoting is implemented using the HTTP Channel and the SOAP Formatter, is the .NET Framework required on the client and the server? In other words, can a .NET Remoting client running Windows XP communicate with a non-Windows server that is not running the .NET Framework? I've ...more >>

Who's the caller??
Posted by Andy at 10/20/2003 10:02:47 AM
I want to host a remote component that will be used by multiple applications. Is there a way on the remote host to identify what application is calling the component? I'm sure there is something simple as I would guess that CAS has to know to allow calls so what's the code look like? eAn...more >>



Force an Icon member to Be marshalled by value
Posted by Codemonkey at 10/17/2003 4:22:29 PM
Hi, I have a MarshalByValue class which has a member that is of type System.Drawing.Icon. Because the Icon inherits from MarshalByRefObject, when clients that receive an instance of my class that has been marshalled, the Icon property is actually an ObjRef object. I'd like to force the Icon...more >>

Newbie question on remoting
Posted by Mike Grace at 10/17/2003 3:22:56 PM
Would I use remoting to achieve the equivalent of the Java Web Start, or am I getting confused? I want to be able to launch a windows forms app from a web page and then load the objects/dlls from the server down to the client. I would also prefer to use web services too. Regards Mike ...more >>

Remoting and security access
Posted by love_dotnet NO[at]SPAM yahoo.com at 10/17/2003 10:48:23 AM
I created a simple remoting application where remote object is a simple object returning a dataset. I tried to access it from a different machine but I got a security error. I know I have to do some security related stuff but am not able to figure out what. I am using tcp channel . could someon...more >>

newbie: client-activated or singleCall?
Posted by Tom Hartnett at 10/17/2003 10:08:08 AM
I've been skimming several articles about Remoting. I know remoting is the best fit for our needs (no firewall, .NET on both ends, etc.), but I can't figure out if I should use client-activated objects or SingleCall objects. I've read that client-activated is the most similar to DCOM. No articl...more >>

.Net remoting behind firewall - The remote name could not be resolved
Posted by mark_hanson_eng NO[at]SPAM hotmail.com at 10/16/2003 5:11:46 PM
My client is in a DMZ trying to connect to a asp.net hosted remoting app. Inside the firewall it works and my client has this config file: <client url="https://servername/test/HelloWorldObject3" displayName="MyApplication"> <activated type="HelloWorldObject3.Hello, HelloWorldObject3" /...more >>

Singleton acts like SingleCall
Posted by David Steigerwald at 10/16/2003 4:58:43 PM
I have based my application on the "VB.NET How-To: Remoting" sample code. I copied the Customer client and server, and created one which stored some credentials in an ArrayList. The Customer client was retained in the code, and still works. However, the new Credentials client acts like a Single...more >>

Get System.Net.Sockets.SocketException only when using configuration file with TCP channel.
Posted by pvsherman NO[at]SPAM yahoo.com at 10/16/2003 4:38:35 PM
When I configure tcp channel in the code my app. works fine: SERVER: TcpChannel chanTcp = new TcpChannel(65106); ChannelServices.RegisterChannel(chanTcp); Assembly assem = Assembly.Load("ServerClassFactory"); Type ClassFactoryType = assem.GetType("ServerClassFactory.ClassFacto...more >>

Passing username/password in a secure way on a Remoting call
Posted by Elp at 10/16/2003 3:14:46 PM
Hi, I'm developping a distributed application where a client app calls some methods on a remote .NET remoting object. For some reasons, i have to host that object within a Windows service (not IIS) using a TCP channel and i can therefore not use the authentification features of IIS (this was ...more >>

Permission denied for activating type soap:... on .NET Framework 1.1
Posted by Vitomir Spasojevic at 10/16/2003 1:20:12 PM
Hi! I have a problem bothering me for a few days. I have a distributed application working very well on .Net Framework 1.0 (IIS hosted) for a while. But, now I got an issue to transfer it to Framework 1.1 because new IIS 6.0 doesn't support Framework 1.0 within new isolation level. Then I bu...more >>

cao IIS
Posted by Hector at 10/16/2003 12:42:06 PM
I have read this article. http://www.ingorammer.com/RemotingFAQ/CAOS_INTERNET_FIREWALL.html I have couple of question ? Do you make the modifications on the client configuration file? I assumed yes. On the machineName Attribute. can I put a Ip address ? And If I make the changes do I nee...more >>

Callback Timeout
Posted by Young at 10/16/2003 7:56:42 AM
In my remoting architecture, the callbacks are done by inheriting the common class that is known to both client and server. The callbacks work OK until we keep calling the method of remote object. However, when the clients are idle for more than 5 minutes, the callback doesn't get fired...more >>

Soapsuds can't find System.Drawing namespace
Posted by Stephan Desmoulin at 10/16/2003 7:23:55 AM
Hi, I am writing a client-server application with .NET Remoting and everything was working fine until I introduced the System.Drawing namespace into my dll component. Now when I try to run soapsuds.exe to generate the metadata only dll for the client, I recieve the following error: e...more >>

Passing objects in remoting method calls
Posted by Richard Fenn at 10/16/2003 4:04:20 AM
Hi, I want to pass an object by ref to a method of a server activated object, but keep getting the error: "Because of security restrictions, the type System.Runtime.Remoting.ObjRef cannot be accessed" anyone know why this is? thanks, Richard Fenn...more >>

ThreadPriority question
Posted by Lloyd Dupont at 10/16/2003 3:15:23 AM
I'm writting some custom remoting code, and the server method get called in a seprate thread. However this server is also a user GUI application probably running while the user is using its PC. to let the user the more power all these server method are called in a Thread with a ThreadPriority...more >>

Best practices for passing data over remoting
Posted by Aaron Saikovski at 10/15/2003 8:07:17 PM
We are after the best way to pass data from an sql database over remoting. We were looking at a datatable approach as it inherits from the MarshalByRef class. Or we could write our own "data" class to do something similar. We want speed and overall performance for our data requests. I ...more >>

A faster alternative to .NET Remoting
Posted by PromisedOyster NO[at]SPAM hotmail.com at 10/15/2003 6:43:26 PM
We are developing a C# application that will be running primarily on LANs (TCP/IP) but will also run on WANS (TCP/IP or HTTPS for internet connections). The application performs standard database select, insert and update operatons via stored procedures. Most select queries return approx 20->...more >>


DevelopmentNow Blog