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 2006

Filter by week: 1 2 3 4 5

This remoting proxy has no channel sink ??
Posted by Johannes Setiabudi at 1/31/2006 7:43:09 PM
OK, I have a code that tries to do a CAOfor SQLCommand object (code is below): And it failed on cmdLoad.ExecuteReader line ... giving "This remoting proxy has no channel sink which means either the server has no registered server channels that are listening, or this application has no suita...more >>


Timeout before SocketException
Posted by Code_Hound at 1/31/2006 3:52:55 PM
I have an application that talks to a shared add-in via .NET remoting but occasionally the shared add-in will not be available. This results in a SocketException as I run my remoting through a TCP channel. I catch this exception and communicate via a different method. All well and good. H...more >>

Proxy of a proxy?
Posted by Ingo Wenzel at 1/31/2006 2:57:41 PM
If I create a MarshalByRefObject the object will be created on the targetserver and my clientobject is a proxy. That works fine. But consider the following situation: On that targetserver - inside my object - I create *another* MarshalByRefObject on a third server. So a member of my first objec...more >>

Help on runing remote object ???
Posted by serge calderara at 1/31/2006 7:13:27 AM
Dear all In order to understand remoting, I have found a sample which is based on : A remote object named "BuisnessComponent" which collects data from an SQL server database which is handle as a service component as follow: =======> <Transaction(TransactionOption.RequiresNew), _ Const...more >>

Help on remoting clarification ???
Posted by serge calderara at 1/30/2006 11:26:36 PM
Dear all, I am deep in remoting studying, and I am actually down in my shoes on a point that I do not catch. I hope you could help me to understand. In all samples I have reads from my book or asp.net\quickstart, there are 3 actors in remoting : The client (client.exe) The server (ser...more >>

Remoting not remoting... I don't understand why
Posted by ThunderMusic at 1/30/2006 4:25:10 PM
Hi, I have a service that accepts remoting connections. On the other hand, I have a client application that wants to connect to the service and get new objects. The problem is that when I try to instanciate a remote object, I always get a local object. I should receive a proxy, but I receive ...more >>

Singleton Server Object seems to stop listening
Posted by John West at 1/30/2006 1:09:26 PM
I have a singleton server object which acts as the connection destination for multiple client connections. I set the object up as follows: public class MFService : MarshalByRefObject { // Defined in dll used by both server and client. public override object InitializeLifetimeService() {...more >>

Debugging Remote Calls Under IIS
Posted by Rob Schieber at 1/30/2006 12:36:26 PM
Hi, I am trying to debug an ASP.net (2.0) client app that makes remote calls to a singlecall assembly hosted in IIS. None of my breakpoints int the remote project are getting hit even after I copied the symbols to the bin dir. Any ideas? TIA, Rob Schieber...more >>



Remoting Object not in application's folder
Posted by donnythebowler NO[at]SPAM gmail.com at 1/30/2006 10:04:47 AM
I am developing a remote object that will be part of an application's Plug-In framework. As a result of this framework, the plugin has to conform to the following: 1) Inherit from System.Windows.Forms.UserControl 2) Have it's resulting assembly copied to the application's 'PlugIns' direc...more >>

Delay in remoting calls sometimes
Posted by Jayme Pechan at 1/30/2006 9:06:54 AM
I'm having a very strange problem with remoting sometimes. I use the Activator.GetObject to retrieve an instance of my server object which is configured for a http soap url. Normally everything works just fine but sometimes it retrieves an object that has some very bad delays for calls. Fo...more >>

2005 remoting error
Posted by guzelmurat NO[at]SPAM gmail.com at 1/27/2006 7:29:48 AM
i have server and client application made by dotnet 2003. when i rebuild them via dotnet 2005, .net remoting crashed and i did not get any error. only message is myapplication as encountered a problem. if i get the real message i will fix it. My questions : 1. How can i see the real framewo...more >>

How to reference server
Posted by moondaddy at 1/26/2006 8:36:10 AM
I'm making a simple MBR remoting sample from my pc to server. I understand that I need to reference the remote server and assemply something like this: http://YourRemoteBoxName:32469/RemoteMsgObj.soap (as per an example in the book Pro C# 2005 and the .NET Platform) It says to drop my DL...more >>

Remoting Collection Objects
Posted by Johannes Setiabudi at 1/24/2006 8:23:22 PM
Can objects that inherit from ICollection be remoted? For example, I have a class that is inheriting from a "base" class and that base class is inherinting from CollectionBase. Public MustInherit Class MyBasicCollection : Inherits System.Collections.CollectionBase .... End Class Pu...more >>

Security error when use secure = "true" on 2 workstations (dotnet 2.0)
Posted by Nikolay Unguzov at 1/24/2006 4:19:45 PM
I like new security futures of dotnet 2.0. But they work only if workstation is joined to domain and server is placed on the server, or when two workstations are using a common user. This is great for internal network software, but is not possible to use when clients and the server are usin...more >>

Get Instance of remote object without crossing Remote Boundary
Posted by jpt007 NO[at]SPAM gmail.com at 1/24/2006 1:03:16 PM
My problem is that I have three objects (two are remotable and one is not) on the same server that cannot talk to each other without crossing remote boundaries. I would like the non-remoting object to talk to the other two who are remoting objects without crossing remote boundaries. Is this po...more >>

Help on sample remoting app ????
Posted by serge calderara at 1/24/2006 6:19:04 AM
Dear all, I try to study .NEt remoting for my next exam. Does any one hase or know about good links on working remoting samples ? thnaks for your help regards serge...more >>

SerializationException in Client
Posted by amnon at 1/23/2006 5:26:02 AM
I get this exception when when calling a remote object from the Client: IRemoteService rmotwe = (IRemoteService)Activator.GetObject(typeof(IRemoteService), "http://localhost:80/HttpBinary/SAService.rem"); {System.Runtime.Serialization.SerializationException: The input stream is not a v...more >>

syncronizing DataSets
Posted by Ryan at 1/22/2006 12:26:33 AM
I have a server app, and multiple clients that connect to the server. Each of the clients retrieve a DataSet from the server to work with. What I need to have happen is that when one client adds or alters a record in their dataset, those changes automatically propagate to the other clients w...more >>

Register everything in config files?
Posted by Vijay at 1/20/2006 12:21:01 PM
Hi, There is a problem we are facing. Initially, we used to put just one object in the remoting config files and thought that objects created by that main object would be remoted. We found that all objects have to be registered individually by class for them to be on remoting. So we adde...more >>

Remoting Sample
Posted by dkode8 NO[at]SPAM gmail.com at 1/20/2006 11:17:21 AM
Hello, I successfully some msdn docs and made a sample remoting app. It includes the following: RemotingObject.dll (Class Library of class to be consumed) RemotingHost (console remoting server app) RemotingClient (windows forms client app) I am using config files for RemotingHost and Rem...more >>

Is remoting available in Express editions?
Posted by Stevod at 1/19/2006 12:40:03 PM
I am using VB Express, however when I try to import the namespace: System.Runtime.Remoting.Channels.Tcp, or .Http, or .IPC, it is not recognised as a valid namespace. The namespace down to and including System.Runtime.Remoting.Channels is recognised ok. Has the Express edition been cut do...more >>

cool list of threads for clearing Software Interviews
Posted by suraj at 1/18/2006 10:54:51 AM
..NET Interview Questions http://blogs.crsw.com/mark/articles/2542.aspx http://www.geocities.com/dotnetinterviews/ http://blog.daveranck.com/archive/2005/01/20/3553.aspx http://www.dotnetspider.com/technology/exams/ExamsCategory.aspx?CategoryId=3 http://techinterviews.com/ http://www.cer...more >>

Unable to open a new window on a remote application??
Posted by Boris at 1/18/2006 5:29:20 AM
I am writing Web UI for a remote running application. The problem is when I want to open another window in the remote app this new window opens but it does not get initialized (the new window is seen in the taskbar but it does not have interface and remote app refuses to respond entirely). I ne...more >>

Setting the typeFilterLevel option for my default binary formatter/channel?
Posted by AdamM at 1/18/2006 12:22:27 AM
I have two app domains that are calling each other's methods. I became = aware of the typeFilterLevel option and to resolve my current = RemotingException, I may need to set that option to "Full". My problem is that I don't know how to access or get a reference to the = binary formatter or cha...more >>

BinaryFormatter slower than DataTable.Save!?
Posted by windsurfing_stew NO[at]SPAM yahoo.com.au at 1/17/2006 9:09:15 PM
Hi All, I was saving a DataTable out to disk using DataTable.Save(). Later loading it with DataTable.Load(). In order to get greater performance I replaced these two calls with BinaryFormatter.Serialize() and BindaryFormatter.DeSerialize. Both of these used a FileStream to work with files...more >>

Remote machine doesn't return oriiginal exception
Posted by Vitali Z at 1/17/2006 6:33:33 PM
Hi, The Remote machine throw the application exception, but the Client machine always catch the some message: "Server encountered an internal error. For more information, turn on customErrors in the server's .config file" . App.config of the remote machine contains the following lines: <con...more >>

multi-client server application HOW-TO?
Posted by Larry Foulkrod at 1/17/2006 4:14:02 PM
I need to implement two-way communication between many clients and a single server using the remoting framwork. When a client requests a remotable type from the server, the server will also need to request a remotable type from that client. How can the server discover the client's inform...more >>

Question about ChannelData in IpcServerChannel
Posted by Kwokho at 1/17/2006 10:54:58 AM
Dear all, I have a question on retriving IpcServerChannel.ChannelData in the remote object. My code is like this: Server code: private void RegisterServerChannel() { IpcServerChannel serverChannel = new IpcServerChannel("MyIpc", "MyApplication"); ...more >>

New some guidance.
Posted by UJ at 1/16/2006 4:04:14 PM
I have a couple of programs that are all going to need to talk to each other. Sometimes it will be a simple text message from one to another, other times it may be things like datasets. My current thought is to use remoting. What's the best way to do this? Set up each as a server and all o...more >>

Guidance on remoting
Posted by AMDRIT at 1/16/2006 11:22:05 AM
Hello folks, I appologize for the cross post, but I really need an answer on this: I do not think that I am seeing the whole picture here. I would like to create a windows service and a management console, using Visual Basic 2003. The windows service part, I think, is easy enough. I am m...more >>

2.0 TCP timeouts
Posted by Ryan at 1/15/2006 12:07:22 AM
Random entries such as the one at http://blogs.msdn.com/manishg/default.aspx have lead me to believe there is a timeout setting available for tcp remoting in v2.0. My question is: How do I use this setting? Where is the documentation and examples for all these 2.0 remoting improvements?...more >>

Form as remote object?
Posted by kcamhi at 1/14/2006 2:40:03 PM
Can a form not be a remote object? If not, is there any work around... basically I want a central computer to be controlling forms on several computers on a network? When I try to add Inherits MarshallByRefObject to a Windows Form class, I get the error: Base class 'System.MarshalByRefObj...more >>

Access to and from remoted objects
Posted by LEFritz at 1/12/2006 4:20:45 AM
Hi, I created a simple WindowsForms application (basically a form with a listbox on it) and registered an object for remote access: RemotingConfiguration.RegisterWellKnownServiceType( typeof(CMyClass), "MyClass.rem", WellKnownObjectMode.Singleton); So far that works fine ...more >>

Prevent service from stopping
Posted by ThunderMusic at 1/11/2006 4:20:03 PM
Hi, I have a service which is only a server for some objects the user can instanciate and call. Right now, the service starts and then stops automaticaly. The only line of code I added is in the OnStart event and is "RemotingConfiguration.Configure(configfile)". So I guess the service ...more >>

exception when using remoting
Posted by ThunderMusic at 1/11/2006 4:01:31 PM
Hi, I'm using remoting in my app and when I call a method from my objects, I receive the following exception : /* **** Beginning of the stack trace **** "No connection could be made because the target machine actively refused it" Server stack trace: at System.Net.Sockets.Socket.Connect(En...more >>

.NET Remoting within a web page
Posted by ThunderMusic at 1/11/2006 10:55:38 AM
Hi, I have to use .NET remoting in my web application. I'm not familiar at all with this in a web page. I've used it a lot in Windows Applications thought... What I would like to know is : Where do I put my "RemotingConfiguration.Configure("client.config")" line? is putting it in the Form_Load...more >>

Remoting 2.0 encryption options
Posted by Ken Ross at 1/11/2006 9:11:01 AM
I had read in the early Whidbey press that remoting in the 2.0 framework would support SSL "natively" but since the release I've not been able to find any mention of this. Everything I can find seems to point at using a custom channel link with "home rolled" SSL or other encryption. In my c...more >>

Serializing problem
Posted by Vitali Z at 1/10/2006 7:23:39 PM
Hi, I have a problem with serializing class in .NET Framework 1.1. During a call to remoting object with serialized parameter, I catch the error message: "Because of security restrictions, the type ContactCenter.ExceptionsServices.ExceptionMessages cannot be accessed" The class ContactCenter....more >>

COM+ or Web Service?
Posted by ThunderMusic at 1/10/2006 4:52:59 PM
Hi, I have to connect to a distant DLL (.NET DLL) and I would like to know which of the COM+ or Web service is the best... What are their pros and cons? I absolutely don't know how COM+ works, so that's why I can't really compare. I've seen on the web many people are having trouble us...more >>

Still don't understand remoting.
Posted by UJ at 1/9/2006 1:41:18 PM
I've posted a couple of messages asking how remoting works in that I have a client that I want to send a message to a server saying 'Go ahead and access the file.' Would a named pipe work just as well? All I need to do is send a message saying - Go for it! I haven't been able to get a cl...more >>

Unknown clients
Posted by Ryan at 1/9/2006 1:56:50 AM
I'm creating a C# 2.0 client-server app that will have clients running on unknown machines. I'm sure it's possible, but I have yet to see an example of using an encrypted tcp remoting channel in such a situation. Would someone please be as kind as to point me to some code for both the cli...more >>

Locale (Regional Settings)
Posted by John Smith at 1/7/2006 11:41:22 AM
Where can I find some information on how the clients Locale is handeled when crossing remoting bourdaries? (I'm also looking for remoting best practices to prevent any strange behaviour because of Locale issues.) Currently I have a simple remoting server that formats some numeric data type...more >>

InvalidCredentialException when client on remote machine...
Posted by Das Bose at 1/6/2006 7:09:02 PM
I'm created a small n-tier app. I'm using tcp channels. For testing the server is hosted in a console app which outputs messages to the screen. I intend to host the server in a Windows Service. I am working on a simple workgroup called "HOME" and not a Windows NT domain (I am wondering i...more >>

Custom Sink with Compression and Encryption
Posted by kshetgar NO[at]SPAM gmail.com at 1/5/2006 9:16:47 AM
I have my custom sink which does encryption and compression. I am referring to Ingo Rammers Advanced .NET Remoting to use Compression. Whenever I try to UnCompress the Stream, I get this exception: System.FormatException: Header checksum illegal at NZlib.Compression.Inflater.DecodeHeader() ...more >>

Remote Objects On App1 and App2 both
Posted by Zafir at 1/3/2006 6:53:36 PM
Hi! I want to make to separate applications. I want some sort of communication between them. I have decided to use Remoting for it. What I am going to do is, to expose one object Obj1 in App1 application and object Obj2 in App2 application. I will remotely Access the object Obj2 in App1 ...more >>

How to reference the server with MBV ?
Posted by Gilles Lambert at 1/3/2006 7:46:47 AM
Hi, I found many examples with MBR, but nothing really complete with MBV. I just know about the Serilize attribute, but nothing about registration of the component on the server and how the client knows where it resides ? Thanks if somebody knows something about it and best regards Gilles...more >>

Read Serial Ports With Visual Basic .NET 2003
Posted by Tolis Carpenter at 1/2/2006 12:44:02 PM
I develop an application with visual basic .net 2003 and my problem is that my program it has to known when a weighing machine gives the weight value from a serial port and read it I will be grateful if someone can help me. Thanks Tolis ...more >>

cool list of threads for clearing Software Interviews
Posted by C# at 1/1/2006 8:23:42 PM
..NET Interview Questions http://blogs.crsw.com/mark/articles/2542.aspx http://www.geocities.com/dotnetinterviews/ http://blog.daveranck.com/archive/2005/01/20/3553.aspx http://www.dotnetspider.com/technology/exams/ExamsCategory.aspx?CategoryId=3 http://techinterviews.com/ http://www.cer...more >>


DevelopmentNow Blog