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

Filter by week: 1 2 3 4 5

Problems with remoting in VS2005?
Posted by Kevin S. Goff at 11/30/2005 1:39:30 PM
Hi, all, Recently, a few people have told me that they've read about bugs/issues in VS2005 remoting....things that worked in VS2003 that are "broken" in VS2005. I asked them where they read about it, and they couldn't specifically recalll....it was on some blogs or forums. Can anyo...more >>


Detecting a dead proxy to a remote object
Posted by Michael Groeger at 11/30/2005 12:01:29 PM
Hi, is there a chance to find out if a proxy to a remote object is dead without calling a method on the proxy? I have written a frontend for a service, the service itself is the remote object. Now when calling Activator.GetObject() I get a TransparentProxy created even if the service is not st...more >>

How can I restrict remoting access to the local machine?
Posted by Ken Varn at 11/30/2005 9:24:16 AM
I am hosting a TCP remoting object in a managed C++ application. Is there any way that I can determine on the server side whether the caller is originating from the local machine? I want to restrict access to the remoting methods to allow only callers that are on the local machine. Wasn't sure...more >>

Specifying Outbound Port for ClientChannel
Posted by Brent.Lakatos NO[at]SPAM gmail.com at 11/30/2005 6:17:03 AM
Hey All, Hopefully someone can help here, I have yet to find a solution to my problem. I am using .net remoting in the 2.0 framework. Everything works fine, but I want to be able to specify what port my client app uses to send messages to my server. Through some digging around I found o...more >>

Binary Formatter on IIS
Posted by MaK at 11/30/2005 4:51:08 AM
Hello! I have a problem setting binary formatting on IIS (wellknown, SAO, singleton – if that matters). In web.config I use: <channels> <channel ref="http" /> <serverProviders> <formatter ref="binary" /> </serverProviders> ...more >>

Help!! Client side database access
Posted by den 2005 at 11/28/2005 10:22:04 PM
Hi everybody, Is there a client side approach of sending and receiving data from a sql database without a web service or a server component (servicedcomponent and server app)? How can you simulate a network connection over the internet that could send and receive data from and to database? ...more >>

Hangging in Activator.CreateInstance
Posted by Tanveer Azam at 11/28/2005 9:22:44 PM
I am facing a problem in remotting in ASP.net. When i try to access a system, which is not in the network it halts at line 3 in provided code, where as it should raise an error at line 1 line 1: System.Runtime.Remoting.Activation.UrlAttribute URLAtt = new System.Runtime.Remoting.Activation.UrlAt...more >>

RemotingException: Host the service in IIS with Integrated Windows Authentication to secure the server
Posted by Seth Livingston at 11/28/2005 7:38:18 PM
Hi, I get the following exception when a remoting client hosted in IIS talks to a remoting server also hosted in IIS. They're both using IWA and only IWA: [RemotingException: Remoting configuration failed with the exception 'System.Runtime.Remoting.RemotingException: Host the service in ...more >>



Datasets 2.0 = >1.1
Posted by Mark Newmister at 11/28/2005 1:05:04 PM
Trying to pass a dataset from a 2.0 client (release version) to a 1.1 server - using binary formatter over HTTP channel. The 2.0 client can receive datasets and other ojects just fine from the 1.1 server but fails in all attempts to pass a dataset to the server with the following error : "...more >>

Wellknown-Singleton object is being created 2 times
Posted by polism NO[at]SPAM gmail.com at 11/28/2005 8:02:26 AM
Hi, I have a singleton class which I want to "create" (call it's GetInstance() for the first time) in server process, and after some time I want to use it in client process, through .Net Remoting. I define the singleton as MarshalByRefObject. My server process looks like this: 1.Register si...more >>

Passing an ADO recordset using remoting
Posted by WayneB at 11/27/2005 1:11:04 PM
Hi I have inherited an existing Windows application written in VB6 with all UI, BL, DL embedded in the one app. I am intending to move some of the functionality from the VB6 client app to a central server so that it may be accessed by both the client app and a web app. The problem is that t...more >>

Client IP Address
Posted by Kerwin Cabrera at 11/26/2005 9:20:57 PM
I am new to remoting. How can I detect the IP that the client is coming from at the server level? I am using C#. ...more >>

Remoting problems in VS2005?
Posted by Kevin S. Goff at 11/26/2005 2:25:13 PM
Hi, all, Recently, a few people have told me that they've read about bugs/issues in VS2005 remoting....things that worked in VS2003 that are "broken" in VS2005. I asked them where they read about it, and they couldn't specifically recalll....it was on some blogs or forums. Can anyo...more >>

How to create communication between TCPClient, USB port and modem
Posted by den 2005 at 11/24/2005 8:25:04 PM
Hi everybody, I never programmed using sockets over networking, I know a little about using TCPClient. That's it. So, I like to asked how this is done, for a program to send and receive data from windows application to TCPClient then to a Network Connection class (via USB) and then to M...more >>

Bidirectional Remoting
Posted by Glenn at 11/24/2005 10:27:51 AM
Could somebody tell me how you make a rmeoting channel bidirectional so that the server users the same port the client uses to communicate back Also is this limited to TCP channels or can you do it on http channels also? Thanks ...more >>

Remoting + Marshal By Value
Posted by Alexj at 11/24/2005 12:00:00 AM
Hi everybody, I'm trying to create a very simple remoting application and I'm trying to do it using "Marshal By Value" (using MarshalByRef it works fine). the problem is: I get this exception: Trying to create a proxy to an unbound type. at System.Runtime.Remoting.RemotingServices.Unm...more >>

RemotingException: Cannot load type
Posted by Sharon at 11/22/2005 8:02:10 PM
Hi all. I have a console app which is a remoting server. When trying to access the server using console app client, it works fine. But when i try the same client code from aspx page on iis i get this: RemotingException: Cannot load type Any ideas? Thanks, Sharon. ...more >>

Adding credentials to a remote call
Posted by Dotcom at 11/22/2005 2:06:03 AM
Hi, I am building a simple proof-of-concept app to call a remote service across a network domain boundary. I am hosting the remote service in IIS have built the app according to the instructions at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconremotingex...more >>

NAT & Remoting
Posted by Kris at 11/22/2005 12:00:00 AM
Hi all Suppose there are 2 clients A & B that behind a NAT router calling methods on some remote server C. Now A decides to set up a p2p with client B and so A requests an objref to B (B's machineName property is set to it's external ip). A then calls a method directly on B. All this work...more >>

XP SP2 Firewall issues remoting locally between client app and service
Posted by Glenn at 11/21/2005 4:59:45 AM
Hello I have a windows service app and a client app. I am using remoting to make calls to the service. This service will be never be contacted from another machine just locally. How can i get it so that the XP SP2 firewall does not keep popping up to allow/block the connection. I am usin...more >>

.NET Remoting Security
Posted by Joe at 11/18/2005 9:52:18 AM
Hello everybody, I'm hosting my .NET remoting object in IIS (remote server), and internet = users connect to the client server through SSL connection. Since a .NET = remoting object hosted in IIS can leverage all the same security = features provided by IIS, I am wondering whether the SSL + II...more >>

ASP.NET Session state / Remoting
Posted by Chris Pielak at 11/18/2005 8:45:21 AM
Hello. I am starting to develop an ASP.NET application and have a decision to make regarding data retrieval and storing persistent data for users. This application has an ASPNET portion, a Win32 console portion, and a Framework portion which handles all the business logic (standard n-tier de...more >>

Forcing a remote user to use a specific RAS IP address
Posted by Dean at 11/18/2005 8:36:18 AM
Hello, Is there a way to force a user that connects to a VPN to use a specific IP address everytime they connect? TIA, Dean...more >>

NT 4.0 Workstation remoting call problem
Posted by Jovan Racic at 11/18/2005 12:00:00 AM
Hello everybody, I'm hosting my .NET remoting singleton object in IIS (remote server), and intranet users connect using windows integrated security. It works fine for W2K and W2K3 systems, but on NT Workstation it does not work at all. It throws exception System.ComponentModel.Win32Exception: ...more >>

Remoting problem
Posted by Dincer Uyav at 11/17/2005 1:18:19 AM
I have socket server application(srvC) which connects to Remoting server(srvR) acts as an integration server to clients. Each client connection to srvC handled in a separate thread. srvC uses one client tcp channel to connect to srvR. I am using a sink(usersink) at srvC which adds an identi...more >>

Firewall Popup when invoking TcpChannel Constructor
Posted by Wolfgang at 11/15/2005 11:58:07 AM
Hi there! I really hope someone here has an idea, because i can't find anything about my problem on the net. Altough it's not really high sofisticated... I just made my first steps in remoting and created a simple server-client-app. It works perfectly. The only thing that bothers me is th...more >>

Remoting Performance Issues
Posted by lazyTrucker at 11/15/2005 10:26:16 AM
Hi all, Ok, first I am new to dotNET so bear with me, I am creating a remotin host, client app which would potentially get alot of traffic, say 200 hits a second, the host is seraching SQL and building an XML REPLY. It looks like the db is the bottle neck here, is there any way to spee u...more >>

Single instance apps and remoting
Posted by davem at 11/15/2005 10:21:02 AM
Hi, We've got a c# application that uses remoting, and everything was working. We needed to make the client a single instance application, and to do we used WindowsFormsApplicationBase, as described in the article http://msdn.microsoft.com/msdnmag/issues/05/09/NETMatters/default.aspx Int...more >>

RemotingConfiguration.Configure question
Posted by Bob Dankert at 11/12/2005 6:04:53 PM
Once a program calls RemotingConfiguration.Configure, how long do these settings remain set in the program? Are they set within the class it is called from and need to be called for each instance of a class? Are they valid in the current thread only? Are they valid in the current applicatio...more >>

Stupid Question
Posted by WhoAmI at 11/12/2005 3:36:02 AM
I am new for .net remoting. Sorry for this stupid question. I just tried a simple program. [Server side] Module ServerApp Sub Main() Dim chan As TcpChannel = New TcpChannel(8082) ChannelServices.RegisterChannel(chan) RemotingConfiguration.RegisterWellKnownService...more >>

New methods not recognized
Posted by CedricCicada NO[at]SPAM gmail.com at 11/11/2005 11:33:52 AM
Greetings! I have a remoted class hosted in a Windows service that has been working well. I added two simple methods to it. If I install the service on my computer, the new methods work as expected. When I install the service on another computer, I get exceptions saying that the new method...more >>

Hosting remote objects in Windows Service
Posted by Stein Karlsen at 11/11/2005 2:13:03 AM
Hi I have a problem hosting my remote object in a Windows service. I all worked fine in beta 2 of VS2005, but after compiling the project in the final edition I get a message saying that the service started and then stopped and that some services do this if they have nothing to do. I hav...more >>

Invoking .NET 2.0 DLL throws "The format of the file 'NN' is inval
Posted by Joakim Sundén at 11/9/2005 11:46:05 PM
Hello. I have a bunch of .NET 1.1 DLL:s I initialize from a console application. They are all Singleton and I use RemotingConfiguration.Configure to configure them from rows similar to this: <wellknown type="org.myorg.TestAgent, TestComponent" objectUri="Tes...more >>

Remoting security with IIS and custom Forms authentication
Posted by miha.valencic NO[at]SPAM gmail.com at 11/9/2005 2:08:26 PM
Hi! What are the options for securing remote objects, which are accessible through IIS, when you have an application deployed on the same server, which uses custom Forms authentication? Scenario: Server hosts app a, which is configured as: authentication:Forms, authorization: deny users="?...more >>

Can one refer to GAC on a server?
Posted by buffob1 NO[at]SPAM msn.com at 11/9/2005 12:14:23 PM
I have a Windows .exe which loads up an assembly from a folder on a local, internal web server. That .dll, which is the main program, depends heavily on 3rd party user controls. Currently, the user controls are installed on the client machine through the setup program. I want to bypass that an...more >>

Help: Dataset problem when sending to serviced component
Posted by Jo ARild at 11/9/2005 12:11:02 AM
I currently have a web-application which on last framework called a serviced component (the serviced component is in a server application in component services) with a dataset.. On version 1 of .net this worked fine on the latest .net build it doesn't work. Why? Im running Visual Studio 2...more >>

TransparentProxy casting
Posted by Lorenzo at 11/8/2005 7:52:14 AM
Could some one please tell me how I can cast/determine the compatible interfaces from a TransparentProxy reference, e.g. //using simple interface, defined as: //interface MyService //{ //void MyMethod(); //} IMyService myService = (IMyService)Activator.GetObject( typeof(IMyService), ...more >>

Remoting between .NET 1.1 and 2.0
Posted by Cordell Lawrence at 11/7/2005 3:43:31 PM
Can anyone give me a clear answer as to weather Remote objects can communicate between version framework 1.1 and 2.0? I've done some searching, but thus far I have not not come accross anything authorative and definite. I have done some simple preliminary tests and the results were negative. ...more >>

Can I share data between a remoting class and its service
Posted by Dave at 11/7/2005 8:31:07 AM
I am writing a remoting server hosted (if that is the right term) by a Windows service. The service will be doing some processing, and I want to be able to use the server to pass the results of this processing to the client on request. I understand that the server object (implemented as a sing...more >>

Class that contains Image over remoting?
Posted by Alasdair Thomson at 11/6/2005 10:11:27 PM
Hi, I have a class that contains an Image and cannot pass this using remoting (presumably since Image is not serializable?). What is the easiest workaround for this? Note that the images will be small (typically ~10 to 40kb) I want to avoid solutions such as using IIS, ASP.NET etc. to s...more >>

Is .Net remoting possible from VB6 apps
Posted by John GI at 11/3/2005 7:20:14 PM
Simple question. Is .Net remoting possible from VB6 apps through the interop? Do I need to do anything special to accomplish this or just use it as a COM object. Obviously, one would create the .Net DLL with a strong name and register its generated interop. Please help!!!! ...more >>

Access denied to Server 2003 IIS remoting host
Posted by Ian Harding at 11/3/2005 12:00:00 AM
It worked under .NET 1.1, and works under .NET 2.0 (beta and final) when hosted on an XP Pro box, but no go with .NET 2.0 on Server 2003. I am hosting a remoting object in an IIS ASP.NET application, but the client is unable to connect. In the server application event log are two messages,...more >>


DevelopmentNow Blog