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

Filter by week: 1 2 3 4 5

Two Remoting Servers in a single Windows Service...
Posted by ShiTvm at 9/30/2005 10:28:11 PM
Hi, Can I host two remoting servers on a windows service using a single configuration file. If so how can I do it? It it possible to make call from server1 to server2 in the specified environment? I have a situation where I have to call server1 from a client and then server1 will call serve...more >>

app.config file & remoting
Posted by Tejas.Patki NO[at]SPAM gmail.com at 9/30/2005 12:08:20 PM
I do not know if this is the right forum to ask this question but here it goes... I have a client and service running. There are entries in the <appSettings> element in the client's app.config which are being read by the classes in the service using ConfigurationSettings.AppSettings(). These ...more >>

Another ChatCentral issue.
Posted by Glenn at 9/30/2005 9:25:04 AM
I've compiled the ChatCentral application described in... FIX: Remoted Events (Chat) Sample in Framework Documentation Does Not Work as Expected http://support.microsoft.com/default.aspx?scid=kb;en-us;312114 When I run the application and send a message from the chat client, I get the fol...more >>

Apparent permissions problem with IIS
Posted by Mark Saini at 9/30/2005 9:19:20 AM
I get a remoting exception thrown to the client. The Windows 2003 event view shows no problems. The virtual directory is anonymous user enabled. Any ideas on where I could look: "Config file E::Server\test\web.config cannot be read sucessfully fue to exception System ID. File Load Exceptio...more >>

MarshalByValueComponent
Posted by Amir Shitrit at 9/30/2005 3:49:04 AM
What is this class? If this class is used to marshal objects by value (as opposed to MarshalByRefObject), why do I need it? Can't I use the Serializable attribute and the ISerializable interface instead?...more >>

Remoting (TCP) channels and multiple clients
Posted by Tom at 9/29/2005 12:50:04 PM
I am fairly new to remoting... I have set up a Windows Service that uses remoting to communicate with a client 'Service Manager' app (all in VB.NET). Now, I have this same application running on two different servers (each one accesses a different database). My question is: When the service i...more >>

Identify channel at client connection
Posted by greg g. at 9/29/2005 5:59:03 AM
Hi all, suppose I publish an object simultaneoulsy through the Tcp channel (+ binary formatter) and the Http channel (Soap formatter). Server side : is it possible to know which channel the client used to "access" the object. grégory...more >>

Remoting using large library
Posted by tjfdownsouth at 9/28/2005 8:09:02 PM
I may have missed something but going through the remoting examples I have to call out each function I would like to call in a config file. I need to place a large library with many functions on another server and call it from a desktop client. Having the server process the functions is the ...more >>



Error: "no connection could be made because the target machine actively refused it"
Posted by Cos at 9/28/2005 5:29:34 PM
Hello there, I've been playing with a very simple remotng example (code from an article at http://www.codeproject.com/csharp/absoluteremoting.asp ). Well, it builds OK, but when I run the simple client project I get: "no connection could be made because the target machine actively refused...more >>

How can one remote a thread-bound MarshalByRefObject
Posted by Bern McCarty at 9/28/2005 7:13:31 AM
I have a MarshalByRefObject instance that I dynamically publish on my server. This server object is thread-bound and its methods can only be called on a particular thread. My client can access this object successfully, but I find in my server process that the object's methods are being inv...more >>

How to check if remoting server is running?
Posted by Nicolas at 9/27/2005 8:49:47 AM
Hi, I have a question concerning .NET Remoting. I walked through a couple of examples in books and on the internet concerning .NET Remoting and in every code sample I find the following code fragment: SharedObject = (SharedObject) Activator.GetObject(typeof(SharedObject), "tcp://localhost:...more >>

How to set customErrors mode = Off programticaly
Posted by Roy Chastain at 9/26/2005 9:34:45 AM
I have a client and a server that do not have .config files. I have managed to set all settings programmatically until now. I need to set customErrors mode=Off. Anyone know how? Thanks ------------------------------------------- Roy Chastain KMSYS Worldwide, Inc. http://www.kmsys.com...more >>

Short .net remoting calls and bad performance
Posted by apoc69 NO[at]SPAM gmx.net at 9/26/2005 3:10:43 AM
hi all, in my distributed application i have the problem that i send many short ..net remoting calls which are leading to a bad performance. i already use remoting over tcp and the binary formater. so, is there a way for example to send client-requests/calls delayed to the remoting server? ...more >>

What permissions does a remoting server need?
Posted by Rob Richardson at 9/23/2005 8:41:25 AM
Greetings! The meat of my application is contained in a Windows service written in C# and exposing methods through .Net Remoting. The user interface is written in FoxPro, communicating with a COM object written in C# that resides on the client. The COM object uses remoting to talk to the ser...more >>

ASP.NET + Remoting
Posted by Brad Quinn at 9/23/2005 8:26:03 AM
Sorry for the double post, but I don't know if this is a remoting or ASP.NET problem. I have a WebApplication that uses tcp/binary remoting to communicate with remote objects hosted by a Windows Service on another machine. The WebApplication takes an XML post (~200K) and turns that into ab...more >>

IIS Timeout
Posted by Rob Morgan at 9/22/2005 11:24:15 AM
Hi, I'm trying to figure out why I'm getting this error and what alternatives I have to fix it. The underlying connection was closed: An unexpected error occurred on a receive... I'm running a schedule tasks that kicks off a console window. Then, using remoting , this calls a method on...more >>

Multiple host
Posted by Ravindra Deuskar at 9/22/2005 10:52:10 AM
Hi, My name is Ravi. I am developing a application which requires two exes refering same remote object. Unlike a single host running a remote object. Which ever exe starts first should host the remote object. Is this possible? Ravi. ...more >>

problem with RemotingConfiguration.Configure
Posted by Morix at 9/21/2005 12:00:00 AM
I all. Here's my code: --- RemotingConfiguration.Configure("myapp.exe.config"); --- The file myapp.exe.config resides in the same directory of myapp executable and is as follows: --- <?xml version="1.0" encoding="utf-8" ?> <configuration> <system.runtime.remoting> <application n...more >>

Timeout Problem
Posted by Hakan Cicek at 9/20/2005 5:33:06 AM
When the target machine is shut down or network cable is plugged off the timeout duration is very long..it takes too much time to application understand the host is unreachable.Are there any way to shorten this time....more >>

Exceptions Being Masked
Posted by Brad Quinn at 9/19/2005 1:29:03 PM
I asked this question in dotnet.framework.aspnet, but I guess it's really a remoting question. My web application communicates with my application layer using tcp/binary remoting. I've just started testing in a new datacenter. The network infrastructure is completely new, or at least ...more >>

strange... Singleton object, but 2 different fields
Posted by David Krmpotic at 9/17/2005 12:00:00 AM
Hello, I have a simple app with server (a bunch of singletons) and clients that connect to it. Each client gets a unique ID (some integer) upon connection and then pings the server regularily with it. if there is no ping for some time, server concludes that client has died (freeze, reboot) a...more >>

When does IIS instantiate a remoting singleton?
Posted by Microsoft at 9/17/2005 12:00:00 AM
Hello, I need a server process that does stuff continually in the background. It also needs to allow some of it's methods to be called remotely. I tried writing a remotable object and hosting it in IIS. The object starts a background thread to do the background stuff. Everything seems t...more >>

How does a tcp channel get it's ChannelName property set?
Posted by RJ at 9/16/2005 4:11:34 PM
I do RegisteredChannels and diplays the ChannelName of the only IChannel object returned. The name is "tcp"? This doesn't seem to uniquely define one channel. How can you detect if a specific channel ( by name or by port) is already registered? TIA RJ ...more >>

How to find a list of appdomains in the main process domain
Posted by Hank at 9/16/2005 3:43:23 PM
Hi, I have client and server. First client calls server, server uses the factory pattern to create a new domain "newDomain" and object from the domain "newObject". At certain point, after using the newObject, client need to call server to dispose the newObject and unload the newDomain. I tri...more >>

Return Object Twice from a Remote Call.. Possible ?
Posted by ShiTvm at 9/16/2005 12:00:00 AM
Hi Group, I have situation where a call from client retrieves an object from remote server which contains a collection of child class. Some times the child class collection will grow to tens of thousands. When the child collection grows, the client need to wait for a longer time, inorder to...more >>

Problem Destroying and Recreating Remoting Object
Posted by raedwa01 NO[at]SPAM gmail.com at 9/15/2005 12:09:06 PM
I have created an object that inherits MarshalByRefObject and implements IObjectHandle for remoting purposes. I wrote a client that connects using code like this: Dim myRemObj as IObjectHandle RemotingConfiguration.Configure(AppDomain.CurrentDomain.BaseDirectory + AppDomain.CurrentDomain.Fri...more >>

How to pass a MarshalByRef object as a parameter in a remote metho
Posted by Romain at 9/15/2005 11:44:05 AM
Hi, I want to write a method of a remote object that expects another type of MarshalByRef object as a parameter. When I run it, I get a SecurityException, but I don't undestand why. Let's say the AvSession object is registered as a client-activated object. It has the following method: Av...more >>

Lease renewal requests stop after several (maybe 5) minutes
Posted by Bob L. at 9/15/2005 10:09:39 AM
Hi everyone, I have created a CAO (VS2003) and I am overriding the InitializeLifetimeService method to set the InitialLeaseTime. On the client side I register a sponsor and again set the renewal time to the same time as the object. If I set the lease/renewal time to 6 minutes, I never get a r...more >>

Need ref. to mobile code
Posted by Anders Jacobsen at 9/15/2005 9:50:22 AM
Hey Within the next months i am to determine my research topic. I know i want to look into mobile code. With mobile code iImean code that can travel between computers over a network. Not PDA applications and soforth. My general idea is to some how serialize the call stack and send this and...more >>

Remoting - Attempted call method declared on object exposes...
Posted by Ken Beard at 9/15/2005 4:27:06 AM
Here is the message I'm getting... "Attempted to call a method declared on type AttachmentClass.Attachment on an object which exposes AttachmentClass.AttachmentFactory." Now some back ground... I have one application deployed using the AttachmentClass.Attachment Remotly but I didn't use i...more >>

typeof - VC++.NET Remoting
Posted by Ratan at 9/13/2005 11:52:01 PM
Hello All, I am calling a .NET Remoting server object using VC++.NET 2005 (Beta 2). The statement in the client code looks like- IRemoteObject^ obj = (IRemoteObject^)Activator::GetObject( typeof(IRemoteObject), L"tcp://localhost:9999/abc.rem"); obj->Method(); It gives compiler error C...more >>

Remoting the key??
Posted by TheMadHatter at 9/13/2005 5:15:02 PM
The Problem: I am trying to create a windows service that will collect infomation, save it on the harddrive, as well as be a server... and that is where my difficulty starts. The idea was to get information across application boundries. The only way I could figure out how to make remoting t...more >>

How can a CAO server object notify it's hosting process?
Posted by RJ at 9/13/2005 5:09:22 PM
I want to have a stand alone .exe assembly host a remoted object, which will be activated as CAO. The host process does little more than call RegisterActivatedServiceType(), and contains NO reference to any instance ( proxy) of the remoted object. If the remoted object raises an event, how can...more >>

Byte Array Allocation within proxy HTTPRequest == Memory Leak
Posted by casey.kramer NO[at]SPAM gmail.com at 9/12/2005 9:28:18 AM
I'm having an issue that I'm hoping some remoting whiz out there can shed some light on for me. I've got a remoted class, set up as a singleton, hosted via IIS utilizing a Binary Formatter. This class has two methods which accept another object configured to Marshal By Value, mainly because t...more >>

C dll in different context
Posted by Christophe MIGNOT at 9/12/2005 6:59:12 AM
Hi all, On my current project, i need to run "some" operation from a dll writen in fortran (the result is the same as C or C++, native Win32). To optimize server resources, i try to compute multiple data at the same time. But (and this is my problem), my dll is initialized by a file (there ...more >>

Async Remoting With Callback
Posted by RPT at 9/12/2005 6:59:06 AM
Hello All, We are trying to develop a n-tier app with async remoting. We are using Interface based callback mechanism for Async invocation. The code looks something like this interface IDataReadyCallBack { OnDataReady(object res1, object res2, object res3); } class RemotingCli...more >>

hardware requirements
Posted by StefanT at 9/12/2005 1:56:03 AM
Hi, I expose a remote object on a server hosted on windows service as a SingleCall activated object. I need to know if I run this server on a machine the with 2 or more CPU the remoting framework will know to use all the CPUs. Best regards, Stefan ...more >>

alex
Posted by Alexander at 9/10/2005 6:57:02 AM
Where I can find information that explain me how to use .Net Remoting. greetings....more >>

HELP: pass object to client from a different appdomain
Posted by Hank at 9/9/2005 7:36:11 PM
I am writing a windows service application and multiple clients, they run on the same machine. I used SAO/CAO factory pattern, they worked fine if I "new" the server object when client request it. However I run into a problem when I tried to create new object and run on a new appdomain, followi...more >>

use .net remoting or com objects?
Posted by Wendy Elizabeth at 9/8/2005 9:55:01 PM
I want a Visual Basic 6.0 web or desk top application to communicate with a Visual Basic.NET web or desktop application. I also want a Visual Basic.NET web or windows application to communicate with Visual Basic 6.0 web or desktop applications. Can you tell me what is the best communicati...more >>

.NET Remoting, C#, IIS Server, first remote call succeeds, second fails with "The Underlying connection was closed: Unable to connect to the remote se
Posted by chugg at 9/8/2005 9:14:54 AM
I am using IIS Server and .NET Remoting. The code is written using C#. The code works fine when the client is on the same network as the server. When the client is moved to a different network, the code fails. However, the "codes = Manager.GetIrCodeRatingsByCdm(3517);" call works fine. It return...more >>

Remoting
Posted by Assem Abdel Maqsoud at 9/8/2005 6:08:22 AM
Hello guys, i have a question regarding the DotNet remoting technology. i have noticed, after reading a lot of articles, that in order for a client application to properly excute methods exist in a remote object it has to have a copy of the binary of that remote object in the same directory of...more >>

How can I understand .net remoting?
Posted by Jet at 9/8/2005 12:00:00 AM
Hi all, I am a freash man in .net remoting. What I understood that .net remoting was a technology to call an object which was in remote site.The simply is in different application domain. But when I read the book, it told that if the client app want to call method from the server class or rem...more >>

C# & Unix
Posted by Bala Nagarajan at 9/7/2005 4:26:41 PM
Hello, How do i communicate between C# and Unix? The scenario is as follows. I have a C program residing in UNIX box that does complex calculations and returns a result. I need to invoke this C program residing in the Unix box from Windows Client C# application through a button...more >>

Problem: Hosting remoting in IIS with Windows Authentication
Posted by saarcarmi NO[at]SPAM gmail.com at 9/7/2005 7:13:30 AM
Hello I am hosting remoting within IIS. Everything works just fine as long as I allow anonymous access at the IIS level. When I allow only Windows Authenticated sessions, something very strange happens: If the client activates the remote object with IP address - works fine ...more >>

How to debug Remote Object..?
Posted by Shibu at 9/3/2005 12:00:00 AM
Hi, Can anybody please tell me how can I debug a .Net Remoting Object (tcp) using Visual Studio .Net. I am running the Remoting server as a windows console application, and my client application is a windows forms running in same machine. Shibu (I have reposted this from another news for...more >>

Remoting socket / port cleanup on process termination
Posted by RJ at 9/2/2005 4:30:18 PM
What cleanup should I do on the client side, after I terminate the process that is hosting the singleton remoting server object? When I try to activate a new server proxy in the client, using the following, the client throws an exception : Underlying socket was closed. Dim TargetPath As Stri...more >>

Cannot receive data across socket connection by .NET app
Posted by Subu Anantharam at 9/2/2005 8:17:05 AM
I have a .NET app that connects to a third-party server on a socket and sends data. This works with a test server on the local network, but does not work across the frame connection to the third-party server. They see a connection, but never see any data coming across. This works with Win32 a...more >>

Remoting Problem
Posted by Stein Karlsen at 9/2/2005 3:57:02 AM
Hi I have 2 remoting servers where one is sending data to the other. One is using tcpchannel and the other ipcchannel. The tcpchannel server is checking a database for changes and when something in a specific table has changed it sends that table to the other remoting server, that again p...more >>

Sharing files
Posted by JAYAKUMAR NATARAJAN at 9/2/2005 2:34:15 AM
Hi all , i have designed a sample IIS hosted remoting application. the basic idea is to read a file from the server and send to client machines. I am using binary reader and binary writer. the problem is , when i am trying to run more than one instance of the client application , there is...more >>


DevelopmentNow Blog