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 > august 2006

Filter by week: 1 2 3 4 5

Object must implement IConvertible
Posted by Rich Wood at 8/31/2006 11:15:01 AM
I am using remoting to pass data from a server to a client (or clients). It has worked really well until we had some DNS problems yesterday. Now I am getting an InvalidCastException with the message "Object must implement IConvertible". The strange thing is that I'm only getting this message ...more >>


Document Managment
Posted by Jeff Mason at 8/31/2006 9:16:20 AM
I hope I can get some advice on a design/technology question here. The app is a medical claims case management system. It is written in VB.NET and it works great. It is a Winforms app primarily; there is a web component, but that is not relevant to this discussion. A new requirement has re...more >>

CallContext get dropped with Delegate Call?
Posted by Spam Catcher at 8/31/2006 12:00:00 AM
Hi all, Are CallContexts dropped when using using Delegate calls? On the server side: Dim _SetStateDelegate As SetStateDelegate = New SetStateDelegate(AddressOf GetClient(_UserID).WebDialer.SetState) _SetStateDelegate.BeginInvoke(_EndState, _DialItem, Nothing, N...more >>

Remoting - Server Object in a Windows Service
Posted by SC at 8/30/2006 2:50:32 PM
I'm new to remoting and was hoping that someone could help me out. I've followed along with the examples in the Remoting Bible (Rammer) - he like others, for simplicity always seems to create their server processes as a console application. I've created this and everything works as advertise...more >>

ChannelServices.RegisterChannel - urgent
Posted by Balaji Narayanan at 8/30/2006 5:27:01 AM
I have a .net application migrated from 2003 to 2005.In the new version 2005 of .net,a new parameter has been introduced for this method which is a boolean param named "ensure security".Please tell me the impact of this parameter when it is set to true ,also any Suggestions in this regard woul...more >>

WMI and checking database connections
Posted by cdsingh NO[at]SPAM gmail.com at 8/29/2006 4:26:35 PM
hello everybody Today itself I started looking at WMI and its wonders. I am trying to look for a way to see how many active sql connections made by an application to some specific sql server. 2) How many active connections exist on the sql server. Is it possible??? please help ...more >>

How do client and server access same instance of a remote object?
Posted by Kürþat at 8/29/2006 12:00:00 AM
Hi all, I have a remote object, a client application and a remote host application. I can access remote object from client but I want host application to use same instance of the object. How can I implement this one instance two reference approach. thanks in advance. ...more >>

Is it possible to use a Form method as callback method?
Posted by Kürþat at 8/29/2006 12:00:00 AM
Hi all, I know that callback methods should be members of MarshalByRefObject derivative classes. A windows Form already derives from Form class and multiple inheritance is not accepted. So a form can not derives from MarshalByRefObject. Well, but how does a remote object call back a form ...more >>



Basic remoting question
Posted by MIke Brown at 8/28/2006 11:37:05 PM
I'm having some trouble updating data inside my remote object. Basically I have a remote object server running as a windows service, serving up a marshalbyref object called 'ConfigController'. 'ConfigController' contains another object, which is marshal by value. When I try to remotely update da...more >>

Remoting Hosts
Posted by David Jessee at 8/28/2006 8:42:01 AM
In java world, there are all kinds of different EJB providers (e.g. JBOSS) that can be used to host EJBs What are the options with .NET remoting? I know I can create a windows service from scratch or host them in IIS (performance hit, there). Does MS provide anything similar to what exists ...more >>

Remoting Performance http - binary
Posted by Max at 8/28/2006 7:57:02 AM
I use .Net Framework 1.1 with Remoting channel= http and formatter=binary. The remoting server components are hosted as webservice in IIS. The client application is a WinForms application for file upload and download I have serveral performance differences, why ? The quantity of data is say 1...more >>

is guaranteed message delivery possible in .net remoting?if possible how?
Posted by reju at 8/27/2006 8:17:25 AM
any vb.net sample codes regarding certified messaging in .net remoting... ...more >>

Remoting Vs. TcpClient
Posted by Ram at 8/26/2006 11:05:12 AM
Hey, I'm current developing a small network/internet game in .Net 2.0 for mulitple players. The game is played in "real time" and not turn-based, Meaning alot of message are to be sent. Based on that, should I use directly TcpClient or Remoting? and if so, should I use CAO or Singleton? Th...more >>

.NET Remoting on WinCE 5.0
Posted by ganeshokade NO[at]SPAM gmail.com at 8/25/2006 5:35:19 AM
Dear Experts, I understand from various threads in this group that .NET remoting is not available on the .NET Compact Framework. I would like to know the alternatives. Please bear in mind that using an IIS is not an option for me and so I cannot use web services to network WinCE with my se...more >>

Windows service and remoting
Posted by nyhetsgrupper NO[at]SPAM gmail.com at 8/23/2006 1:16:15 PM
Hi, I am writing a windows server program implemented as a windows service. I need a way to check the status of this server-application and thinking about implementing a web based front end to the server. Is remoting the best way to go? I'm thinking of an asp.net application using remoting to ac...more >>

Can an ActiveX Control be a .NET Remoting server to a C# app?
Posted by gkustas NO[at]SPAM hvc.rr.com at 8/23/2006 12:23:55 PM
I am trying to implement a solution for integrating with a third party web browser application (call it appB). This third party supports "web plug ins", meaning we can embed a page in their app, and that page can contain an ActiveX control. This control would allow communication between our appl...more >>

Managing CAO lifetime
Posted by valerossi NO[at]SPAM tiscali.it at 8/22/2006 6:11:04 AM
Hi all, I was reading "Advanced Net Remoting v2" by Ingo Rammer, and in Chapter 7(about lifetimes), i've read a strange thing, that is, client-side sponsor cannot be used with client behind firewall, nat ecc.. The book advices to create a sponsor as CAO Object and to use a client thread to ke...more >>

Bogus "Cannot find the assembly" exception
Posted by dvestal NO[at]SPAM gmail.com at 8/20/2006 7:40:26 AM
I have a very strange error; an ASP page invokes a method through .NET remoting which returns an exception as an output parameter. Unfortunately, no matter what exception the method returns, it appears as a different one ("Cannot find the assembly") to the ASP page. To clarify, I have an inter...more >>

Locating remote assemblies
Posted by Peter Franks at 8/18/2006 12:58:01 PM
Assume the following scenario: c:\a\remoteclient.exe c:\b\remote_c.dll c:\b\remote_r.dll remoteclient makes remoting calls through remote_c.dll. Some remote interfaces are in remote_r.dll, and are only instantiated on return from the remoting call. Under the above scenario, I'm get...more >>

Problem with delay
Posted by oskar NO[at]SPAM musiker.nu at 8/18/2006 12:46:07 AM
I have created an application that consists of a server running as a service on a hardware server and 11 clients running on different computers. The server and the client computers are all on the same subnet with a couple of switches in between. Every 80 seconds the server calls each of the clie...more >>

.NET 2.0 BinaryFormatter Compatible with 1.1?
Posted by Spam Catcher at 8/17/2006 2:26:57 PM
Hi all, Is .NET 2.0 Remoting compatible with .NET 1.1? Can a 2.0 client connect to a 1.1 Remoting service? Thanks....more >>

How to shut down host application from withing remoted class
Posted by Jeremy Chapman at 8/17/2006 9:19:29 AM
I've got a win forms application that is hosting a remotable class. Several instances of the host application can be run on various machines or all on one machine. We then have a Seperate application which uses the remotable classes by connecting to the host applications. It's been running ...more >>

SocketException
Posted by Isabel_ve at 8/16/2006 1:59:01 AM
Hi, I have a console application which creates the TcpServerChannel, and which will create the RemoteObject. My Client-application is trying to connect to the server-application and getting the remoteObject. When my service is not running, it throws a SocketException. What is totaly nor...more >>

Databinding to Remote Objects
Posted by LOBOMINATOR at 8/14/2006 1:47:06 PM
Hello, I was wondering if anyone already achieved to databind a client's application to remote objects and also dynamically bind the events from a client to the remote instances? Thanks for your help Dani ...more >>

Raising events from remote objects
Posted by Jono at 8/12/2006 11:14:21 AM
Hi everyone, I'm having a little bit of trouble doing some remoting with .NET framework 2.0: I have a client-activated marshalbyref object and I would like to be able to callback into the client code periodically during the remote method. Suppose I have two classes that look like this: publi...more >>

MarshalByRef confusion!?
Posted by Rudy at 8/9/2006 7:52:02 PM
Hello all! My first try at building a client/server application. Been looking at a lot of sample and reading a ton of articles. I think I'm heading down the right path, and need to use "MarshalByRef" object. But all the samples are bits of code, or it has SQL in the mix. I can't seem t...more >>

WinFX: Remoting with GUIs
Posted by LOBOMINATOR at 8/9/2006 1:52:52 PM
Hello EveryOne, I'm currently playing a little bit with the new wpf in Visual Studio 2005. I was pretty excited about the posssibilities you have with XAML. I was wondering if it would be possible to dynamically build up a client's UI? Meaning like providing just a dumb application who load th...more >>

Remoting and NUnit Tests - Release Channel
Posted by Erik Jensen at 8/8/2006 2:49:01 PM
I have a configuration file which configures the remoting framework I am building for my application. When two of my unit tests access the remoting provider in quick succession I receive the message "Only one usage of each socket address (protocol/network address/port) is normally permitte...more >>

MemberwiseClone of a MarshalByRefObject
Posted by Robert Ludig at 8/4/2006 7:08:51 AM
When I call MemberwiseClone on an object that is a MarshalByRefObject that is currently marshalled I do not get a a "true" copy of that object but instead I get an object with the exact same proxy so the "clone" will share its identity with the original object and remote calls on a proxy to the ...more >>

How to use event in Remoting (VB2005)?
Posted by Eternal Snow at 8/4/2006 12:00:00 AM
I wanna create a remoting solution to transfer a event from server to client. My code are below: ////// Interface ///// Public Interface ISample Event result(ByVal sum As Integer) Sub sum(ByVal a As Integer, ByVal b As Integer) End Interface ///// Interface End /// ///// Ser...more >>

Fast streaming via Remoting
Posted by victor at 8/4/2006 12:00:00 AM
Hi, Is it possible to do fast data streaming, for example displaying images with a pace of 15 or 30 frames per second, thru a Remoting-TCPIP channel? (Images can be 512x512 or 1Kx1K). Thanks, victor...more >>

Object references in a Mashal-by-Value object
Posted by Matthias Heise at 8/3/2006 3:33:02 AM
Hello, I discovered some problems if I want to serialize and transfer an object hierarchy existing of next and child pointers. Doing this I had to implement the ISerializable interface. Lets say I have the following class: public class Test : ISerializable { [NonSeri...more >>

Some methods hang on certain setups.
Posted by Michael Maes at 8/3/2006 12:16:02 AM
Hi, We have a windows service passing objects to a client application by remoting. The windows service is started and running successfully. * When the client app is running on the same machine as the windows service (W2K3) every method gets executed successfully. * When the client app ...more >>

What is wrong about RemotingException
Posted by Günter Prossliner at 8/2/2006 5:29:31 PM
Hi! Why does MS make it impossible to handle RemotingExceptions? I use a IpcChannel for IPC Communication. On the server side I want to know when a client has been "hard" disconnected (e.g. Process has been killed). Because I use two way communication, it is no problem. example: try{ ...more >>

TcpChannel secure mode
Posted by Daren Terry at 8/2/2006 3:06:35 PM
I am trying to find out the secure option in the TcpChannel works. I have read that it can provide encryption of the data. If so what algorithm does it use? Cheers ...more >>

Remoting & DataReader
Posted by Isabel_ve at 8/2/2006 7:47:02 AM
Hi, I've written a windows-service and a client-application. Via Remoting I'm executing some methods of the remote-object. Some methods are using a DataReader (Odbc), to read data from a system dsn-connection. Some remoting specifications: Client and Server Channel are both Tcp ServerC...more >>

Remoting, SOAs and HTTP Keep-Alives
Posted by Oisin at 8/1/2006 2:59:37 PM
Can anyone in MS tell me (and no doubt many others on this newsgroup) why Microsoft's implementation of the HttpClientChannel doesn't allow you to enable/disable Http KeepAlives via the client side ('connection: close' header)? 1.0, 1.1 and 2.0 's internal HttpClientChannelSink class's const...more >>


DevelopmentNow Blog