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

Filter by week: 1 2 3 4 5

HttpChannel
Posted by David at 5/31/2004 5:40:46 PM
What is the namespace of HttpChannel type in VS.NET 2003? I'm using System.Runtime.Remoting.Channels.Http, but there is error while compiling. Error Message: "The type or namespace name 'http' does not exist in the class or namespace" ...more >>

PLEASE PLEASE help me out here - Client/Server
Posted by Stark Frost at 5/31/2004 12:03:04 PM
Hi, I hope this is the right forum for this post, if it is not, please forgive my insolence. I'm not qualified in .NET nor am i qualified in any other language, i learn languages the way i always do: on my own research/trial-by-error. The problem is, i need to create a client/server utility...more >>

CAO and Shared Assembly Interfaces
Posted by j_robertraj NO[at]SPAM yahoo.com at 5/31/2004 6:48:55 AM
Hi All, Recently I read one of the article in MSDN it says following information No shared assembly. In the CAO approach, you cannot use the shared assembly approach with interfaces I have no idea why it is not possible ?Any help on this appreciated. Thanks Robert...more >>

How do I use a COM+ component from a remote .NET client
Posted by Charlie at 5/30/2004 11:36:55 AM
First the background: Business Objects (.NET) I have a series of business objects (stateless .NET classes) written to provide our products core functionality. We are trying to expose these business objects such that end-users can write code using their prefered language. A requirement is that...more >>

How can I serialise an object and send it to a client?
Posted by Joshua Ellul at 5/30/2004 12:19:33 AM
Hi There, could someone tell me how I could serialise an object on a server, send it to a client and deserialise on the client? Josh ...more >>

Get subnet mask
Posted by Joshua Ellul at 5/29/2004 9:27:40 PM
Hi There, Can someone tell me how I can get the subnet mask? Josh ...more >>

Aborting a thread calling a metod on a remote object
Posted by Max Samookha at 5/29/2004 1:19:22 PM
There's a local thread calling a method on a remote object. When aborting the thread, ThreadAbortException is not thrown untill the remote method call returns. Is there any way to abort the thread immediately without waitng for the method to return? Thanks. ...more >>

.NET Remoting performance problems
Posted by Stefan at 5/28/2004 12:31:03 AM
Hi We've developed an application, consisting of a server application and a client application Both communicate via .NET remoting. We've got performance problems with it, so we tested it. There are some strange results The Client calls a server method to get some data. The object on the serve...more >>



What's the optimalized buffer size to receive socket data?
Posted by Anony at 5/27/2004 8:30:52 PM
Hi All, I need to receive large data (> 10 Mb) and tried the iBufferSize from 1024 to 8096. It seems to me 16384 is even better. mSocket.BeginReceive(mbytData, 0, iBufferSize, SocketFlags.None, AddressOf DoSocketReceive, Nothing) Does anyone know a right size? Thanks for any tips, A...more >>

Initializing SAO
Posted by Emiel van de Laar at 5/27/2004 12:18:34 PM
Greetings, I'm building a small sample application in order to better understand ..NET remoting. I have a graph object (my model) which lives on the server side as a Singleton activated object. Clients can access this object and, for example, add or remove a node. When a client connects ...more >>

connecting to a remote server using ssh
Posted by shalin at 5/27/2004 12:01:02 AM
hi I know the ip of a remote machine. I need to connect to this machine using ssh protocol and ppk encryption. Can I do this using dot net framework sockets?? Can some one provide me the code its very urgent Shalin...more >>

Distributed application programming
Posted by Tim Marsden at 5/26/2004 8:26:36 PM
I am new to distributed application programming. Could anybody give me advice on how to accomplish the following? I am writing in VB.NET. I would like to keep away from web services and IIS if possible. Perhaps using some form of remoting. I would like to develop an application which sits ...more >>

Remote type does not exists on client
Posted by Shurik at 5/26/2004 3:55:42 PM
How can I use remote object if there is no remote type on client side. On client side I only know an interface that server side object implements and probably full name of server-side class implementing the interface. How can I create instance of an object without having object definition on cli...more >>

Cannot create Word application object using remoting
Posted by Stuart Hunter at 5/26/2004 3:21:00 PM
I have class that creates a word application document using the following basic code: Public Sub CreateDocument() Dim app As Word.Application app = New Word.Application ... End Sub This works as expected when called from a console application. However, when the same co...more >>

How to imitate a network problem on a local computer?
Posted by Max Samookha at 5/26/2004 2:48:55 PM
Hi everybody! I'm testing a server/client app. Both server and client are on the same computer running Windows 2000. Is there any way to imitate a network problem locally? Maybe deactivate sockets somehow? Thanks in advance. ...more >>

Cannot assign to IMethodReturnMessage.Exception
Posted by Nick Carter at 5/26/2004 1:40:26 PM
I have written a RealProxy descendant which intercepts my client's message calls to the remoting server. In its Invoke method I catch the IMethodReturnMessage and look at the Exception property. If it is a certain exception I want to change the exception to my own exception to provide more infor...more >>

binary formatter not binary?
Posted by juergen doubrawa at 5/25/2004 8:16:15 PM
Hello, it doesn't matter if I use the TcpChannel or the HttpChannel. I always can read the tcp stream in ascii. I can see the method names in the tcp dump for example. shouldn't that be a binary format with tcp? I would understand it I were using http and soap. it even doesn't change if I ...more >>

monitoring
Posted by Felipe Garcia at 5/25/2004 5:38:45 PM
do you guys know if there is a way to track all remoting activity ? I implemented ITrackingHandler but it didn't fit my requirements, I need more power at my remoted objects. I need to do an application using remoting(all business objects), and thus need the ability to watch the components and...more >>

_at_client_side
Posted by Shaw at 5/25/2004 2:31:07 PM
I try an event sample from a book “.NET Remoting” chapter 3. It looks everything’s OK at server side. But at client side, the event handler never gets called I download the source code from www.microsoft.com/mspress/books/6172.asp, and (1) Add typeFilterLevel="Full" attribution in config fi...more >>

unregistering?
Posted by delphiconsultingguy NO[at]SPAM yahoo.com at 5/25/2004 2:27:42 PM
Hi all, I have: a classLibrary with a remotable object in it, a windows Server app that registers the remotable object as a wellknown service type, and a windows client app that registers the same remotable as a wellknown client type. The first thing I did was run the client without running...more >>

Disconnecting Network Cable and Channel Types
Posted by Steve Binney at 5/24/2004 7:48:42 AM
I have a client/server application that uses remoting. The client and server are separate applications that can either run on the same computer or run on separate computers in the same domain. Both computers have the .Net framework 1.1 installed. Based on these requirements, I have chosen th...more >>

remotable object does not output file
Posted by mi97ki NO[at]SPAM yahoo.com at 5/23/2004 4:00:08 PM
Hi, I have a remotable object hosted in IIS that loads a native DLL. The DLL is supposed to generate an output file. When the object is not hosted in IIS and implemented as a console application, there is no problem: the output is there. But not when it implemented as an assembly and hosted i...more >>

remote events
Posted by jm at 5/23/2004 2:47:50 PM
Hi, my question is more theoretical. If I like to develop let's say a chat server with sockets, all my clients can stay connected with the server as long the client runs. If there's a new text message for all clients, the server can send this message to all the clients over the established...more >>

MS strategy for local RPC?
Posted by Koji Ishii at 5/23/2004 1:31:02 PM
I'm looking for MS's strategy for local RPC. Does anyone know if such thing exists I understand Remoting is today's technology, and Indigo for tomorrow, but both target RPC between PCs and not within PC. I also understand I can use Remoting with local loopback, but I'd like to avoid it if possible ...more >>

Remoting Object Instance Variable overwritten
Posted by George at 5/23/2004 9:11:04 AM
I've questions about remote object instance variable share use. I've two remote object (of the same class) instances at the client side. Their instance variables seems to overwrite each other which it should not be expected like static ones I have a service class defined like <Serializable()> P...more >>

unhandled exception as a result of RemotingConfiguration.Configure
Posted by Hazzard at 5/23/2004 5:32:33 AM
As a result of the following line of code from Juval's article and sample code from last year; (http://msdn.microsoft.com/msdnmag/issues/03/03/ContextsinNET/default.aspx) RemotingConfiguration.Configure("LogbookViewer.exe.config"); I get the following error; An unhandled exception of type '...more >>

The remote server returned an error: (405) Method Not Allowed.
Posted by Sutty at 5/22/2004 7:16:04 PM
I have worked through Dino Esposito’s example using remoting (http://msdn.microsoft.com/msdnmag/issues/02/10/NETRemoting/default.asp My machine has V/Studio 2003, XP professional SP 1, Net frameworks 1.0 and 1.1. The machine is not on a Domain. I have admin rights. I have not changed the proce...more >>

Abstract factory and remoting
Posted by mi97ki NO[at]SPAM yahoo.com at 5/22/2004 10:22:04 AM
Hi, I developed an application that allows a client to build objects (called Servers, for simplicity) of a specific type using an abstract factory. The Servers are remotable objects hosted in IIS. This are the various modules the application consists of: 1. AbsServer (interface to the concr...more >>

Client/Server
Posted by MoeJoe at 5/22/2004 7:01:04 AM
I need to write an application (Server) that listen to a specific port, and receives and processes all requests that come from multiple machines (clients) at the same time. My question is; where can I start? Are there any examples that can help me? Thanks in advanc ...more >>

Remoting Multithreading Problem
Posted by Irfan at 5/21/2004 4:17:24 PM
I have some Questions regarding Multithreading in Remoting. I am a bit confused and i do hope to get the response that can clear my vision so Thanks very much in advance. I have a console hosting server that host a singleCall component named ThreadCreator. The ThreadCreator implements IThrea...more >>

SqlDateTime serialization
Posted by DotNet at 5/21/2004 12:25:11 PM
Hello everyone, From remote server side I am trying to send an object which contains sqldate time value or object. I am unable to serialze that object. What could be the problem? ...more >>

Reconnecting events after server crash
Posted by sergey_zaikov NO[at]SPAM hotmail.com at 5/21/2004 1:46:33 AM
Scenario: I design a distributed solution using .NET Remoting. Client applications connect to a well-known service in the server application. Clients call methods on the server and receive events from server application using .NET Remoting. Server application crashes and is restarted. Client...more >>

Can't get the remoting error message
Posted by Cesar Ronchese at 5/20/2004 10:46:28 PM
Hello, All! I have one component instanced in my server application, and my client application access that component via remoting. My problem is, when any error occurs in server side, I receive a standard error response, saying to adjust server.config file. Well, I've changed in the machine...more >>

Remoting and user interaction (MessageBox, confirmations etc.)
Posted by Manfred Gloiber at 5/20/2004 10:33:35 PM
Hello, First: I'm pretty new to .NET Remoting so please be patient with me ;-) I have a service running on a server. This service has to write some data to a database. There are some clients which tell the service what he should do. My problem now is: How can I react on e. g. errors? How ca...more >>

Chicken and the egg situation help
Posted by Lee Alexander at 5/20/2004 3:20:04 PM
I have a remoting object (singleton) that when activated listens for mutlicast messages so that it can tell clients where it is. The clients then access the remoting objects methods from there. The problem I'm having is that under IIS the object is not instantiated untill the first call to it wh...more >>

Need method calls to cross process boundaries on local machine
Posted by Helen B at 5/20/2004 2:36:09 PM
Hi I want two .Net classes, instantiated by different winforms apps (but on the same machine) to be able to send and receive info with each other. Is remoting the right way to do this? This article suggests it is, using TCP Channel: http://www.thinktecture.com/Resources/RemotingFAQ/Remoti...more >>

Remoting and strong names
Posted by Richard Bell at 5/19/2004 11:13:50 PM
Is it possible to override version information being serialized for strong named assemblies. The strictBinding and includeVersions elements of the config file do not seem to override the default behaviour which is to include version information.Thanks. ...more >>

Give me a Solution!
Posted by TRIP1304 at 5/19/2004 1:26:08 PM
Hi all Am developing an Apllication in vb.ne The architecture is like this I have a Client(Windows forms When the client needs to connect to a remote datbase. it should go through a DLL(Developed in Vb.net) registered in the remote machine and then connect to the datbase Any one has example...more >>

Because of security restrictions, the type System.Runtime.Remoting.ObjRef cannot be accessed
Posted by parkster at 5/19/2004 5:46:07 AM
Help I am trying to pass back a simple object to COM+ class using remoting and getting the above erro I have tried setting the typ filter to full etc etc have ensured all assemblies are strongly named, tied increasing assembly trust - nothing seems to work The code for my config files etc is b...more >>

How to know which channel the client used
Posted by Greg at 5/18/2004 3:25:38 PM
Hi, I've implemented a Windows service which host some objects (singleton) and makes them available through two TCP ports. But is there a way for one hosted object to know which TCP port the client used to call it (get the channel name for instance) Greg ...more >>

Port Number
Posted by ffreitas NO[at]SPAM cc.isel.ipl.pt at 5/18/2004 12:00:15 PM
How can i know what port was chosen when i create a channel with the value 0? SoapServerFormatterSinkProvider provider = new SoapServerFormatterSinkProvide(); provider.TypeFilterLevel = TypeFilterLevel.Full; IDictionary props = new Hashtable(); props["port"] = 0; props["name"] ="myHttpChann...more >>

Mutex not working for CAO
Posted by Jevelson at 5/18/2004 11:41:07 AM
Hi I am trying to use synchronize object Mutex to allow exclusive access to modify method on ServiceBaseClass derived client activated object. When I try to call lock first time the mutex is signalled . If the lock is called second time with same mutex name it must not be signaled.But I get it sig...more >>

10065 (unreachable host) socket when a computer is disconnected from network
Posted by leonid at 5/18/2004 11:09:34 AM
Hi all I need help for solving the following problem: There are 2 executables located on the same computer and interact by .Net remoting mechanism (channel is set to tcp and address is set to localhost or 127.0.0.1). The second application defines remote delegates, the first application...more >>

Remoting Class From Seperate DLL
Posted by Richard Bell at 5/18/2004 8:44:27 AM
I have a class in a seperate dll which I want to remote. I have referenced the class and registered it using a simple exe. I can connect to the class's interface using Activator.GetObject and call it's methods. However, when I use soapsuds to extract meta data, I get the following error: Error...more >>

Registering channels in programmatically creted AppDomain
Posted by Dirk Declercq at 5/17/2004 11:31:27 PM
Hi, How can I register specific channels in my new created AppDomain ? ...more >>

Where's System.Runtime.Remoting.dll?
Posted by Richard Lewis Haggard at 5/17/2004 7:27:49 PM
I'm having trouble with this line: ChannelServices.RegisterChannel( new HttpServerChannel(8978) ); It generates an error of "The type or namespace name 'HttpServerChannel' could not be found (are you missing a using directive or assembly reference?) I've included using System.Runtime.Rem...more >>

Can´t listen to port 80
Posted by Andre at 5/17/2004 3:55:01 PM
hi, i wrote a tcplistener, who should listen to port 80 as an windows service. but after i start the service, the service will stop immediatly. what´s the trick? thx andré ...more >>

Remoting through a proxy
Posted by Gwyn at 5/17/2004 11:01:05 AM
Hi, I'm trying to remote through a proxy I don't seem to need to setup anything for it to find the proxy - I just remote to the destination and it seems to work out that it needs to go through a proxy. This is on a computer I didn't build so not sure what setup makes this piece of magic happen A...more >>

Samples/Help on building distributed caching mechanism using remoting
Posted by Matt Daley at 5/17/2004 8:26:07 AM
Hi all I am trying to build a distributed caching mechanism using .NET Remoting. I want to be able to cache infrequently changing data at the front-end on a number of web application servers. When such data changes, I want all the caches to be updated. Whilst I have got some of the way towards ...more >>

Date Problem - When remoting is enabled.
Posted by Mike Kearl at 5/17/2004 2:33:36 AM
I am having a problem with dates and storing them to SQL server. This problem does not seem to occur when I have disabled remoting and conect directly to the sql server. When I save a date it is saving instead of 04/15/2004 00:00:000 as 4/14/2004 23:00:00:000 But in winforms it is showing a...more >>


DevelopmentNow Blog