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 > july 2004

Filter by week: 1 2 3 4 5

Problems with remoting objects which hosted in Windows Service
Posted by notacat at 7/31/2004 6:37:03 AM
My Remoting service objects works fine when hosted in a plain Console Application. But when I run it in a Windows Service, it works only partially. Clients can make calls to its' methods, but can't subscribe onto its' events. When client tries to do something like this: MyObject.MyObjectEvent ...more >>


Remote Object Not Found When Service Installed with Setup Project
Posted by Jim Davis at 7/31/2004 12:37:44 AM
I have a simple remote object that is hosted in a Windows Service. I register the WellKnownType via the services app.config file. I look up the path to that file using Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), then pass that to RemotingConfiguration.Configure(path). I...more >>

One config file for IIS and custom app server
Posted by Christian Jung at 7/30/2004 5:19:10 PM
Hello, we usually use IIS as appserver, but for one customer we are not allowed to do so. For this reason we have written our own appserver to host the remote objects. For the sake of simple configuration management it would be great if our own appserver could use the same web.config file as I...more >>

Examples on remoting in vb.net
Posted by Will at 7/30/2004 4:31:39 PM
I'm looking for ant tutorials or examples concerning remoting with vb.net. Thanks ...more >>

Advice on remoting vb.net
Posted by Will at 7/30/2004 4:30:29 PM
Looking for some examples and or tutorials for remoting with vb.net. Thanks. ...more >>

CAO First Method Call Slow
Posted by Jason at 7/29/2004 12:47:48 PM
I am having an issue w/ the performace of a CAO. The first method call seems to take between 7 and 30 seconds to respond when the server and client are on different machines. If they are on the same machine, the performance is fine. It seems to me like the response should not take this long. Am I...more >>

Limitation of events over SOAP/HTTP
Posted by Luke Church at 7/29/2004 12:34:59 PM
Hi all, I'm currently doing priliminary research into the usability of event passing through remoting. I've been experiencing some difficulty. Using a sample that I found I now have the eventing working successfully using a BinaryServerFormatterSinkProvider and a TCP Channel. Ideally I wo...more >>

Are callbacks supported - How do I subscribe to an event within a remote object from the CLIENT side
Posted by Chester West at 7/29/2004 11:02:35 AM
After MANY hours of frustration, I've finally gotten an object to create... However, I am attempting to get a callback by using delegates at both the server and client. The server and the client are one in the same application, just run on different machines. I've learned the hard way, th...more >>



PRB: Remoting and COM-Interop
Posted by news NO[at]SPAM esna-ashari.de at 7/29/2004 5:13:27 AM
The problem: I developed a remoting server and a corresponding client dll. I used a dll as the remoting client because I want to prevent my applications from knowing remoting details. So applications call functions in the remoting client dll. This dll talks to the remoting server via tcp and re...more >>

System design: management of server side application threads
Posted by timasmith NO[at]SPAM hotmail.com at 7/29/2004 3:47:31 AM
Hi, I have a system which comprises of a number of server side application and services. There is a thread per service or application and some threads may also create their own application threads. ServerApplication.exe ----------Controller Thread ...more >>

Windows remote application launch through a Web service
Posted by pberna at 7/28/2004 6:41:24 PM
Dear all, I possible to create a web service that launch a Windows Graphics .exe application (like notepad.exe, for example) installed on a remote server though a Web Service. If yes, what are the main .NET API functions involved in the application call on the server side ? Best Regards, P...more >>

LifetimeServices is killing me.
Posted by Bob Rundle at 7/28/2004 3:36:42 PM
LifetimeServices seems to be killing off my SAO's and I am getting very frustrated. I've overridden MBR:InitializeLifetimeService() to return null for all of my objects, but this does not solve it. I've tried writing a test problem, per the requirements of this group, and the test program w...more >>

Hosting thru IIS and Configuration
Posted by Jon Turner at 7/28/2004 3:07:10 PM
I have developed a compression sink that works with remoting using a TCP Client and Server. So I know that the sink works. I am having trouble getting this into IIS. My client can no longer communicate with the Remote Object when it is being hosted by IIS. My question is how do you config...more >>

Performance of .NET Remoting vis-a-vis Web Services
Posted by Abdullah Kauchali at 7/28/2004 9:35:30 AM
I am aware that .NET Remoting offers better overall performance than Web Services, but ... is there any documentation (benchmarks) on the *magnitude* of the performance advantage of .NET Remoting over Web Services? By how much is it better? Also, what is the impact of enhancing Web Service c...more >>

Do I trust the implementation ?
Posted by hugo batista at 7/27/2004 8:10:28 PM
Hi I have a factory pattern that gives me an instance of an implementation that is not a well known. All I know is the interface, and I read the final implementation somewhere from my configuration. This is great for plug-ins, where you can have your code completely independent of the final imp...more >>

Doubt on Remoting!
Posted by SenthilVel at 7/27/2004 7:31:17 PM
Hi just a small doubt ... When ever i run a windows service and when i access a method from any other system and if i need to acccess some methods which this service exposes, why must always have a LOCAL reference of the DLL from the system i am runing the application? ,,,, Senthil ...more >>

One more try before I give up on .NET Remoting
Posted by Chester West at 7/27/2004 4:48:57 PM
Ok...It is brain surgery, although it shouldn't be.... I've got ONE application, to be used either as a client or as a server I've got two EXACTLY the same objects, with events. The ONLY difference is the name of the object. I can get the application to register the object for usage (eith...more >>

some ideas on the Component Design in .NET
Posted by Tarundeep Singh Kalra at 7/27/2004 3:46:53 PM
Hi, I am new to .NET. I want to design a new architecture for my application that has following :- 1). Application should be pluggable in architecture, i.e new modules , new funcationalities can be added in it easily. 2). Event based communication I was doing the above stuff in COM , but...more >>

Can you determine CAO from SAO with TransparentProxy?
Posted by Sam Santiago at 7/27/2004 11:42:15 AM
I have a scenario similar to the one described in the link below. I = have a SAO factory object that creates other remote objects for the = client. The information in the link below indicates that the returned = objects from the SAO are CAOs. I wanted to verify this. What if I wanted ...more >>

How to obtain the Network name of the client using Remoting?
Posted by José Joye at 7/27/2004 7:46:36 AM
Hello, What is the way to get the Network name of the client using remoting a NT Service exposes? Thanks, José ...more >>

How to avoid Internet Explorer proxy settings causing Remoting problem?
Posted by harry at 7/27/2004 2:30:05 AM
Hi, I have a program that runs on multiple client pc's. Occasionally one or more of those pc's use VPN to connect to another corporate network. When using VPN they need to set proxy server in Internet Explorer connection settings (proxy:8080). However, as soon as this setting is enabled, the r...more >>

Catching Exception
Posted by Harold at 7/26/2004 5:24:42 PM
My app is using: Dim obj As System.runtime.Remoting.ObjectHandle = System.Activator.CreateInstanceFrom() oApp = CType(obj.Unwrap, someObject) To create an object in a different assembly. This works great. However, I would like my app to handle any unhandled exceptions generated in o...more >>

Newbee quiestion
Posted by I. Longhorn at 7/26/2004 4:59:36 PM
Hi all, How can I trap the event when a client gets disconnected. I have remoting application where the server object is singleton. With first client call the object is created, and never destroyed. I hold internal list of the connected clients but is there a way to understand if a client di...more >>

new tcpChannel() with no port specified problem.
Posted by Sylvain Ross at 7/26/2004 3:25:41 PM
Hi, I'm having a little problem with a remoting system. Here it is : I got a remoting singleton object published somewhere. I'm accessing it with the following code (VB) ChannelServices.RegisterChannel(New TcpChannel()) myServer = Activator.GetObject(Type.GetType("the_good_stuff_here"),...more >>

Having trouble using regsvcs.exe
Posted by moondaddy at 7/26/2004 3:18:12 PM
I'm running vb.net 1.1 and I need to register a dll using regsvcs.exe and am getting the error: Command "RegSvcs.exe" is not valid. the path to the dll I want to register is: D:\nwis\Apps\CSLA 1.0\csla\CSLA.Server.ServicedDataPortal\bin\CSLA.Server.ServicedDataPortal.d ll and I've tried l...more >>

Inserting my Sink into the chain
Posted by Jon Turner at 7/26/2004 10:15:51 AM
I have a compression sink called JTHCompressionSink. If I use a config file and use the RemotingServer.Configure call the config file looks like this: <configuration> <system.runtime.remoting> <application> <channels> <channel ref="http"> <clientProviders> ...more >>

A Mirror of my Remoting Object
Posted by Phil Jones at 7/25/2004 12:11:28 PM
I'm toying with a design idea related to how I work with a remoting collection. I'm getting a collection or remote object and binding them to a grid - however I'm thiking that rather than bind the remote objects directly to the grid, copying the data into a DataTable and binding that to the gird...more >>

.NET Training
Posted by Jon Turner at 7/25/2004 12:03:52 AM
Can anyone recommend an Advanced .NET Remoting Instructor Led training course ? Many Thanks In Advance ...more >>

RegisterWellKnownServiceType singleton object and instantiation of this singleton.
Posted by Sylvain Ross at 7/23/2004 6:20:55 PM
Hi, I'm publishing a class through the RemotingConfiguration.RegisterWellKnownServiceType, as a Singleton. Everything works fine. An instance of the published class get created once a remote client try to access it. Then, since I'm working with Singleton, every other remote client acessi...more >>

Remoting and security
Posted by José Joye at 7/23/2004 8:13:56 AM
Hello, I have created a NT Service and I expose some methods through "Remoting". All works great. However, I want to prevent that everyone (within my Intranet) will be able to use it. As I understand it, assuming that the client is installed on a PC within the intranet, It will be possible to...more >>

Remoting problem (SerializationException).
Posted by Tincho at 7/23/2004 7:16:08 AM
Hi, I have an application (lets call it MyApp) that can run in 2 different modes. As an add-in of another application (OtherApp) or it can run by itself. When it works as an add-in, it is created using a COM component that opens the add-in in the other application. One of the functional...more >>

Named Pipes across VS6 and .Net
Posted by Natasha at 7/23/2004 12:36:22 AM
Hi Can anyone suggest a work around for using named pipes to send data from a dev studio 6 app to a .net app, where the dev studio app is the server using CreateNamedPipe() and ConnectNamedPipe() methods and the .Net app is the client, using something other than inter process connection t...more >>

Deploying a Remote Client
Posted by Jon Turner at 7/22/2004 5:10:19 PM
I have a client that calls into a Remote Server hosted in IIS. I don't want to have to distribute the Remote Server DLL, or a Proxy DLL with the Client. What can I do to accomplish this. 1. If I reference the Remote DLL in the Client Project, the DLL must be resident on the Client machi...more >>

paralyzed newby
Posted by Claire at 7/22/2004 9:17:13 AM
I'm totally new to remoting and panicking. I've 2 winforms applications. The client has to ask the server for a database record asynchronously. Some time later the server returns the response with data for the record. I've found lots of simple examples on the net but they all seem to be for pur...more >>

Handling remote events error
Posted by Terry at 7/22/2004 8:15:58 AM
We are getting the following error when trying to set a remote client to handle a event trggered by the server. The code follows the erro message below Any ideas? ERROR MESSAGE STARTS HERE: An unhandled exception of type 'System.Security.SecurityException' occurred in mscorlib.dll Additio...more >>

Problems with DAO/Jet
Posted by Michael at 7/22/2004 4:30:01 AM
Hello, I have some strange configuration of dlls and assemblies, which I want to ( Have to) use for a distributed application ( My Job is to glue existents tools together and perform a calculation on a specific machine). All Code is in (M)C++. I use a mixed mode dll as remote object (Client-Activ...more >>

Remoted Component generates soap exceptions when calling web service
Posted by Sam-I-Am at 7/21/2004 9:56:34 PM
Hi All I have an asp.net app that uses .net remoting to call a function on a remote server. The function also calls a web service on the remote server to perform its tasks. All works fine untill I the .net remoted component calls the webservice. I get the following error: "The type System....more >>

temp files on server
Posted by Paul Hilton at 7/21/2004 8:28:23 PM
Hi All, I am referring to this article for exporting a report to pdf file . http://msdn.microsoft.com/library/default.asp?url=/library/en-us/crystlmn/html/crtskexportingwebbasedreports.asp The issue is that I am not able to delete the temporary files generated on the server. As per this art...more >>

error catching on client side
Posted by BK Kim at 7/21/2004 4:31:40 PM
Hello. I have a question about catching errors. My middle tier machine got an error while executing a function but my client machine cannot catch what that error was. In my middle tier, I have try/catch block that throws exception but I cannot get that exception on client side. Is ther...more >>

Throwing exception remoting ArrayList?
Posted by A. Burch at 7/21/2004 2:00:25 PM
I'm having a problem handling an ArrayList of object who content is 90 records of data items.. The code below demonstrates the exeception error. The text of the error is the following...... "Recieve: The type Admins.BCBarData in Assembly TestClient, Version 1.0.1663.23136, Culture=neutral, Pu...more >>

Raising an Event in a Delegate causes problems
Posted by Jon Turner at 7/21/2004 12:56:31 PM
I have an asynchronous call to a remote procedure that is invoked thru BeginInvoke. The problem is that in the Delegate if I throw an event before the CallBack function exits, the CallBack will get called multiple times and error out with the following Error: <EndInvoke can only be ca...more >>

Remoting using http limited?
Posted by Donald Adams at 7/21/2004 10:43:54 AM
Does Remoting using http have the IIS send packet limit of 4MB? Thanks in Advance, Donald Adams ...more >>

The channel tcp is already registered... error
Posted by Donald Adams at 7/21/2004 10:37:10 AM
I get this error: "The channel tcp is already registered" when trying to do the following: _chanTCPOut1 = new TcpChannel(7001); ChannelServices.RegisterChannel(_chanTCPOut1); _chanTCPOut2 = new TcpChannel(7002); ChannelServices.RegisterChannel(_chanTCPOut2); //error thrown h...more >>

can a remotable object call the methods of the host?
Posted by nick at 7/21/2004 10:30:11 AM
For example, I have Windows Form application hosting a remotable object. And I want the hosted remoted call a function after the remote client called the it....more >>

forum for Visual C# develoopment
Posted by JamesK at 7/21/2004 8:47:06 AM
Pardon the interuption, 1. Looking for a good C# development forum? 2. Also, if anyone has come accross this problem would appreciate some help. Having difficulty uploading a file to a Tomcat server in C#. I am using WebClient.uploadFile(uri, image). My code is as follows(have tried it on ...more >>

Exception: cannot call non-public or static methods remotely
Posted by ajafry NO[at]SPAM gmail.com at 7/21/2004 8:01:57 AM
Hi, I am trying to call a method on an SAO which contains the following lines of code: .....lines removed..... SqlDataAdapter da = new SqlDataAdapter(cmd); da.Fill(myDataTable); // Exception is thrown here .....lines removed..... An exception gets thrown at da.Fill, reading: ***begin ex...more >>

Remoting through a firewall
Posted by Henke at 7/21/2004 12:35:33 AM
Hi We are building a distributed application where we split the business logic, data base and the UI (web) on three different machines. Between the web server and the business logic server there is a firewall. For the moment we are using web services to get data from the business layer, but we...more >>

Multiple Remote Objects
Posted by Lord2702 at 7/20/2004 10:28:15 PM
Tue. July 20, 2004 10:30 PM PT Is it possible to host more than one remote object on one server? On one channel, but with different URI. Appreciate your answer. ...more >>

Remoting and security limit problem,help
Posted by whtinkm NO[at]SPAM sina.com at 7/20/2004 8:49:23 PM
Hi all I begin to study .Net remoting recently,and I happend to a problem. The following is my test code //share dll namespace sharedll { public class FirstClass:System.MarshalByRefObject { public FirstClass() { } public void SetData(SecondClass oneClass) ...more >>

MBR vs. MBV
Posted by Adam Snider at 7/20/2004 7:51:29 PM
I have a class (in a class library) that opens a database connection and returns a connection object. I have a reference to this class library in my server code and my client code. I tried inheriting marshalbyreference in the database class, but when I ran the client-side code it wanted to open...more >>


DevelopmentNow Blog