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

Filter by week: 1 2 3 4 5

Garbage collection of remote objects
Posted by Peter Haislund at 1/31/2004 11:14:24 AM
Hi, I have a small question I hope someone can help me with. When setting Public Overrides Function initializeLifeTimeService() As Object Return Nothing End Function on a MBR remote object and the object is no longer referred, will it be garbage collected or will this be preve...more >>

Transfer an image using .NET remoting
Posted by Gerald Brown at 1/30/2004 3:45:43 PM
I have a distributed intranet application where the GUI client runs on one PC and a server runs on another PC. One of the actions the server can perform is to grab an image from a camera, which I would like to display in the client GUI. When needed, the GUI will call a function on the server to...more >>

Reading a Configuration File
Posted by Chris B. at 1/30/2004 1:43:04 PM
It is possible to read the <system.runtime.remoting> section of a configuration file similarly to the way that you can read a user-defined section using ConfigurationSettings.GetConfig()? I'm finding that attempting to load and read the <system.runtime.remoting> section as if it were a user-def...more >>

Server design advice..
Posted by KZG at 1/30/2004 5:56:08 AM
Heya I have a windows service written in C# which I would like to be pluggable with an Admin Console (my own stand alone app, not using the MS Management Console). I would like to have all of the objects in the server visible to the Admin Console, but have all of the functionality execute o...more >>

Chat Sample
Posted by Husein at 1/29/2004 10:21:05 PM
I have successfully implemented the chat sample after reading Microsoft's Knowledge Base Article - 312114 "FIX: Remoted Events (Chat) Sample in Framework Documentation Does Not Work as Expected" and after reading Ingo's NET Remoting - Changes for .NET 1.1 / Visual Studio 2003. Also, I use a SoapServ...more >>

Application wide MessageSink Chain
Posted by Bert at 1/29/2004 7:36:14 PM
Hi, I'm developing an application, which is using Remoting. Now I want to intercept all incoming messages on the server, no matter to what object or to which context they are sent. Is there something of a application wide messagesink chain, regardless of context? Thanks, Bert....more >>

Remoting from an Add-in
Posted by Peter Marshall at 1/29/2004 4:36:56 PM
Hi, I have written an add-in for outlook, which should communicate with our middle tier via remoting. The problem I am having is that whenever I configure the remoting and make a call to our middle tier, outlook stops responding. The other big problem is with the configuration of the add-...more >>

Remoting channels and sockets
Posted by Orlin Popov at 1/29/2004 4:12:32 PM
Hi, I use my own client and server sinks with TCP channels and binary formatters. My sinks are between formatters and transport sinks. They exchange messages through request and response headers. They also replace response and request streams. I test this with a very small demo program - a ...more >>



TCP/Binary Remoting and Perf Problems
Posted by Raghu at 1/29/2004 11:13:39 AM
Our deployement consists of web server (dual processor) and application server (dual processor). The ASP.NET web application makes remoting (Tcp/Binary) calls into a window service (our own) hosted on application server. During our load testing, we found that there is huge gap in time during cro...more >>

client ip from tcpchannel
Posted by Greg at 1/29/2004 9:51:16 AM
Is there any way to get a socket object from a remoting channel object on server. I need client IP from remoting server. I have seen an example using a custom sink but that seems to be parsing http header. What about tcp channel? Any ideas? TIA -Greg ...more >>

Remoting/Marshal from non-default Domain
Posted by Bill Gowans at 1/29/2004 5:08:39 AM
Hi, Just recently encountered a problem while building an application with multiple domains. If I try to marshal an object/interface from one of the non-default domains I am unable to connect to it from another application. If the object lives in the default domain, everything works as it...more >>

Problem in .NET Remoting with Client Activated Objects(CAO)
Posted by deepalk NO[at]SPAM sabretch.com at 1/29/2004 4:28:56 AM
Hi; I'm doing an example program from a book regarding .NET Remoting. Both the Client and Server are C# Console Applications. Server Code is using System; using System.Runtime.Remoting; using System.Runtime.Remoting.Channels; using System.Runtime.Remoting.Channels.Tcp; namespace Wrox...more >>

Object monitoring
Posted by Alan at 1/29/2004 12:21:09 AM
Hi, I want to have a GUI program on the server to monitor the activity of the remote object. One approach is activate it in one thread and put a semaphore for making it alive. Then in the main thread, make an instance of this object and register to a specific event for getting internal informatio...more >>

Call Context- Remoting - Weird problem! - Is this a remoting bug or Am I doing somethingwrong
Posted by (aravinthan.narayanan NO[at]SPAM kla-tencor.com) at 1/28/2004 11:10:18 PM
I have a strange problem, if I set an object that derives from the ILogicalThreadAffinative interface into the callcontext.setdata before calling any a remote object, the call to the remote object fails with the serialization exception. Please see the code snippet below: Remote server Code: ...more >>

Singleton or SingleCall SAO Socket problems
Posted by Orlin Popov at 1/28/2004 6:32:00 PM
Hi!! I have a very strange problem. I have a pair of client and server. Server exposes just one object (Server activated object) and for the problem I have it does not matter whether it is a SingleCall or Singleton. I use standard TCP channel with binary formatters. On the server side I ...more >>

Debugging quit when not console app
Posted by Greg at 1/28/2004 5:26:27 PM
When I started hosting my remoting via IIS instead of a windows console, server side debugging quit working. The breakpoints do nothing. All projects are one solution. I have created a virtual directory and changed my output folder to bin/ instead of bin/Debug. Could that be it? By ...more >>

"Newbie" - xml as on of parameters in a function (over Remoting)
Posted by Benjamin T at 1/28/2004 4:35:42 PM
Hi devs! I have started on a remoting solution (using "Interface"). In one of the functions to be called remotely I would like a "Xml.XmlDocument" to be a parameter. But that is not allowed - error message: The type System.Xml.XmlDocument in Assembly System.Xml, Version=1.0.5000.0, Culture=...more >>

Passing IDataParameters to Remote object
Posted by Jerry Weindel at 1/28/2004 4:07:58 PM
Should I be able to pass an array of IDataParameters to a remote object? Jerry ...more >>

Make my DAL dll know where the database is????
Posted by Alex Stevens at 1/28/2004 12:42:08 PM
Hi All. I've written a data access component which I want to install on a database server machine. I have two questions which I'd would appreciate anyone's advice / experience. I want to make the data access component dll available to - say a business layer which could reside on another ma...more >>

Remoting Errors with overloaded functions
Posted by Jim at 1/28/2004 11:11:07 AM
(I apologize if this is showing up multiple times... My posts don't seem to go in now that MS has updated their interface to thsi newsgroup. :( Please let me know if any deatils of this are not specific enough, and I can provdie the specifics.. I am having problems with applications that use re...more >>

Call Context - Problem - In remote objects
Posted by (aravinthan.narayanan NO[at]SPAM kla-tencor.com) at 1/28/2004 7:19:01 AM
Hi, I have an object "A" that inherits from the ILogicalThreadAffinative interface and this object is set in the Callcontext.setdata in my mainmethod. No i create another object "B" in the main method which contains an remote object "C" (hosted as bycall activation in a windows service). IN the ...more >>

SocketException on Socket.Connect(EndPoint remoteEP)
Posted by bpoon NO[at]SPAM advent.com at 1/27/2004 8:20:36 PM
I am having problems with .NET Remoting. The exception along with some stripped down code are below. We have two machines with a switch and firewall between them (with all ports open), but right now we are bypassing the switch and using actual machine names in our code. Machine A has a TcpSer...more >>

Changing to tcpchannel
Posted by Alan at 1/27/2004 4:56:06 PM
Hi I want to have maximum performance on my remote object. I am currently using http/soap. may be tcpchannel is the best; what changes I should do in my config file and client code. thanks, Alan...more >>

Are any examples for server side sponsors using the factory?
Posted by GG at 1/27/2004 11:03:16 AM
I am using the TCP CAO SAO factory pattern. Does anybody know an example for server side sponsors? Thanks *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!...more >>

Remoting, GC problem outside VS.NET
Posted by daniel NO[at]SPAM karlsson.com at 1/27/2004 12:52:21 AM
Hello, I've created a remoting host as a console-app and all classes have a "Console.WriteLine" in their constructor/destructor for debugging reasons. I'm using singlecall objects. After compiling the application in releasemode and running it in VS.NET I see all create/destroy (I force a GC...more >>

405 error from remote server.
Posted by chauncy at 1/26/2004 11:09:46 PM
I'm a little lost with this. I'm using a http channel with binary formatter. Using the configurationfile method. The connection gets made but any method call throws a 405. I can't think there's anything in my code. Maybe an IIS config issue. I've given the aspnet worker thread admin permissi...more >>

Remoting and Static Methods
Posted by Mallik at 1/26/2004 3:21:05 PM
We are using ASP.Net Remoting with our business Objects. All our BO’s are stateless. In each call I pass all the parameters. Currently we are using Instance classes (objects). On each page we instantiate an Object and call the method. Our application Performance is low. My question is, if I use St...more >>

Configuration Problem..Please Help
Posted by Arsalan Ahmad at 1/26/2004 2:59:13 PM
Hi all, I am developing a simple one page application in ASP.NET which takes an input in a text box and print in a label. But when i uploaded it to the website i get the following error: Server Error in '/WebApplication2' Application. --------------------------------------------------------...more >>

Debugging in the server
Posted by James at 1/26/2004 12:46:09 PM
My server is a console application. My client is an exe WinForms application. I use a common General class library for my interface definitions. All three projects are in one solution. How do I run the solution so that I can set a break point in the server. Right now I have to execute...more >>

NLB and Remoting (TCP)
Posted by Raghu at 1/26/2004 11:33:23 AM
We have an application that uses remoting with TCP protocol. The client communicates with server using remoting. If I have 2 or more application servers, can we use network loading balancing to distribute the load from client to servers? Are there any issues? Thanks. Raghu/.. ...more >>

Permission denied for activating type soap
Posted by iyuen at 1/26/2004 9:33:21 AM
I've currently switched my application to VS 2003 due to the Remoting security level problem. My application is a pair of CAO server-client applications. But my client-side program generates a 'System.Runtime.Remoting.RemotingException' .... Anyone can help me with the problem? ...more >>

ExecutionEngineException
Posted by Bo at 1/26/2004 6:21:05 AM
..Net 1.1 upgrade problem : ListBox gets ExecutionEngineException during remotin Hi we have an application with a remoting interface between a clien app and a service app The client has a listbox internal class DynamicListBox : System.Windows.Forms.ListBox wich holds a list of entrie...more >>

Example Application
Posted by Bob at 1/24/2004 12:15:54 AM
I've seen articles, small tutorials, MSDN documentation, and best practice guidelines on Remoting, but I'd really like to see an enterprise example application using Remoting. Does anyone know of a link where this might exist? C# preferred, but I'll take anything. Thanks in advanc...more >>

Firewalls
Posted by Adam Waterson at 1/23/2004 5:11:05 PM
I am intested in compability issues when using Remoting over a firewall, which for example only exposes port 80. I know i can use XML web services over port 80, but what about remoting? I see that if Remoting is used under IIS, the code samples on MSDN show that you dont specify a port number beca...more >>

remoting interop to MFC client - lifetime of remote .Net objects
Posted by Max-Ph. Blickenstorfer at 1/23/2004 5:02:45 PM
We run several .Net services and need to connect to them via remoting from MFC/C++ clients. I assume the lifetime/lease problem is the same for MFC Clients as it is for c# managed-clients. The connection to the server and creation of the remote object does work. However, how to implement the c...more >>

serious remoting performance problem - possible workaround
Posted by Kuba Szmigielski at 1/23/2004 1:42:48 PM
Hi, I think I found a serious problem in remoting calls, and specifically in formatter/serializer I think. Example: Using remoting TCP channel (on LAN) and binary formatter it takes more then 6 !!! seconds to get the results from this routine: public string[] Test() { string[] cach...more >>

vs2002 to 2003 break change help!
Posted by udm330ci at 1/23/2004 1:41:05 PM
i am gettin "Attempted to call a method declared on type System.Reflection.IReflect on an object which exposes 'myobject i am using ' Initialize Configuration MyObj = Activator.GetObject(GetType(myobject), EngineURL MyObj is strong typed, as is myobjec ...more >>

serious remoting performance problem - possible workaround
Posted by Kuba Szmigielski at 1/23/2004 1:30:04 PM
Hi, I think I found a serious problem in remoting calls, and specifically in formatter/serializer I think. Example: Using remoting TCP channel (on LAN) and binary formatter it takes more then 6 !!! seconds to get the results from this routine: public string[] Test() { string[] cach...more >>

MBRO and buffer logic
Posted by Markus Reiner at 1/23/2004 10:08:00 AM
Hello, I noticed a problem in .NET remoting with the following definition in a MBRO class public abstract int Read(byte[] buffer, int offset, int count); When you call this method, remoting will transmit the buffer from the client to server although you need only the data from the server ...more >>

Use of Config Files
Posted by Steve Binney at 1/23/2004 9:58:02 AM
My application implements CAO with a SAO factory. I would like to = switch my code over to using config files to allow for settings changes = without re-comple The server can reside on any machine in the users lan. The location = (machine name) of the server is passed to the client when the ...more >>

typeFilterLevel, Interface Remoting & IIS
Posted by linda NO[at]SPAM boystown.org at 1/23/2004 6:52:10 AM
I am having a problem getting binary formatting to work now that I have moved to .net framework 1.1. I am using IIS as the host and interfaces as the client/server bridge. I set the server config file to binary and set the typeFilterLevel = "Full". I figure I have to do this on the client sid...more >>

Insufficient state to deserialize the object attempting to add a client callback
Posted by Mark Tomas at 1/23/2004 4:47:48 AM
I can accomplish my task without remoting, but when my object is remoted, it breaks. I hate to post questions that may have simple answers, but I've combed the groups and have found no advice that has helped me. I've been focusing on making sure my remoted object is serialized, is my pro...more >>

Asp Remoting Error
Posted by Jelani Brandon at 1/22/2004 4:48:40 PM
I'm need help trying to diagnose a error I'm receiving from IIS 5.0 on a Windows 2000 Server machine. We are trying to remote a call to a remoted Object service and receive the following error: System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a re...more >>

[OT] Windows Server 2003 stops my service from running
Posted by Kevin P. Fleming at 1/21/2004 7:59:05 PM
I know this is a little OT for this group, but figured at least someone here would know the answer. I've got an app using remoting, the server side is a Windows Service and the client side is a standard Windows Forms app. The service is installed on a W2K3 ADS domain controller (the only on...more >>

Problem with CAO Factory
Posted by Steve Binney at 1/21/2004 5:51:25 PM
I have implemented the CAO factory pattern. My Interface code is as = follows: public interface IBroker { IRemote CreateRemoteSystem(string systemConfigXml); } public interface IRemote { bool InitializeSystem(); } My code works well when the client and server are on the ...more >>

Difference.
Posted by msnews.microsoft.com at 1/21/2004 5:10:04 PM
What is the difference between Client activated and Server Activated services. Please give some real time example. Thanx and regards. ...more >>

Passing a DataSet to a remoted type: possible bug
Posted by Greg at 1/21/2004 1:57:38 PM
Our DAL (Data Access Layer as a dll) is hosted by IIS. We use binary serialization to pass a DataSet into the DAL from a client exe. Our client exe calls GetChanges on DataSet and passes the changes to our remoted DAL. On inserts we have an output parameter for the primary key. After the c...more >>

Singleton question
Posted by microsoft.public.dotnet.framework.remoting at 1/21/2004 11:29:14 AM
I, If I create an instance of the object A ( obj _a = new A() ) and register it to the Remoting framework with RemotingServices.Marshal( A ) as a Singleton object, do I have a way to retrieve this instance and not a proxy to the object ? Thanks, Sylvain ...more >>

ASP.net application using RemotingConfiguration.Configure
Posted by a_newcomb NO[at]SPAM yahoo.com at 1/20/2004 10:04:39 PM
I am writing an ASP.net application using the web.config file and RemotingConfiguration.Configure to define the remoting configuration. This technique works fine for the initial page load; however if the page is refreshed or accessed again, I receive the following error: Remoting configuratio...more >>

Have this server code - how is it translated to the config entry
Posted by GG at 1/20/2004 12:05:20 PM
This is the server code RemotingConfiguration.RegisterWellKnownServiceType( typeof(OrderQuery.BLL.PTS.LoginFactory), "OrderQueryLogin.rem", WellKnownObjectMode.SingleCall); Have this entry in the server config <wellknown mode="SingleCall" type="OrderQuery.BLL.PTS.LoginFactory, serve...more >>


DevelopmentNow Blog