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 2003

Filter by week: 1 2 3 4 5

Copy file from server to client
Posted by Shayer at 8/31/2003 3:05:23 PM
Hi , I want to copy a file from Server to Client . I am using .net remoting. I want to copy a .mdb file from server machine to local client machine. How can it possible . Thanks . Shayer ...more >>


Creating a TcpChannel throws exception
Posted by Bernhard.Keil NO[at]SPAM soft4science.com at 8/31/2003 12:03:45 PM
Creating a TcpChannel throws the following error: "TypeInizializer for System.Net.IPAddress threw an exception." Code snippet: // Exception occurs at this line channel = new System.Runtime.Remoting.Channels.Tcp.TcpChannel(3000); This exception occurs only on a mashine ...more >>

MS CRM or in house .NET Remoting
Posted by Roger R. Smith at 8/30/2003 10:39:48 PM
Hi everyone, I have been contacted to do some work to allow a small retail company to be able enter products in for customers as the salesperson is helping the customer along with some install information for this customer. Then if the customer would like a quote, the salesperson can generate a ...more >>

Does Remotable assembly is loaded in both Client & Server sides?
Posted by jean_stax NO[at]SPAM hotmail.com at 8/30/2003 7:31:04 AM
Hi ! There is something basic in .NET Remoting that I am missing: I have created some simple Remoted type (MarshalByRefObject ,with custom Host), which was referenced by simple client application. During the development all the modules were locally and when I referenced my Remoted assembly ...more >>

Need an Example
Posted by Mark at 8/29/2003 2:09:10 PM
All- I've found a few .net remoting examples online (and in msdn), but they all use console apps as their example where they start the server part on the server in a console and then run the client. I just want to create a test win forms app that accesses an object using Remoting (without sta...more >>

Remoting errors: "(405) Method Not Allowed", and "Requested service not found"
Posted by ejstembler NO[at]SPAM hotmail.com at 8/29/2003 10:57:52 AM
I cannot get any remoting examples to work across a network (LAN intranet). If I use TCP, I keep getting "Requested service not found" error whenever accessing a method or property on the remote object. When I switch it to a HTTP on an IIS virtual directory, I keep getting "(405) Method Not Al...more >>

how to deal with an interrupted connection when remoting
Posted by Scott Bonds at 8/29/2003 10:37:52 AM
I have created a server that has an object that can be referenced via remoting. When I reference the object from the client, everything works just fine until I shut down the server. Once the server is shut down, and at the exact moment it stops listening on its port, the client generates a "Ob...more >>

CAO Hosted by IIS works on localhost but not ouside server?
Posted by Levi Wilson at 8/29/2003 10:34:52 AM
Alright, I was able to get a CAO in IIS to function properly, but it only works when the object is hosted by IIS on my local machine. If I put the CAOTest object on one of our outside servers, I get a WebException with a 404 Not found. Does this make any sense? Here is my test code. Btw, I c...more >>



Where is my object executing?
Posted by Kenny Thomason at 8/29/2003 7:47:39 AM
Problem: I am serializing an object to the client, no problems there. However, during parts of the object's execution the object needs to know if it is running on the client or server. My first thought was to try and determine this by looking at one of my member variables and determine ...more >>

Remoting Help
Posted by Nick Bunton at 8/29/2003 3:28:51 AM
I have an application I want to install and the user will attempt to install it on several machines, but only pay for one or two licenses. Each install will have it's own serial number and this is stored in the registry. Can I use Remoting to install a small utility with the application wh...more >>

sending copies of objects
Posted by Norvin Laudon at 8/28/2003 11:40:29 AM
Hi, I'm new to remoting and .Net, so please bear with me. I would like to send objects (instances of a class I've written) from one process to another. This process may or may not be running on the same machine, it could be running on another computer on our LAN. I _don't_ want to remotel...more >>

Are XmlDocuments Serializable???
Posted by Mark Baer at 8/28/2003 8:57:54 AM
I thought I could just return an XmlDocument from my Remote Server but I am getting an "Internal Server Error" message. I think the code is good. The only thing I can come up with is maybe XmlDocuments are not serializable. I have a hard time believing that, but that's the only thing I ...more >>

Why is Remoting better than Sockets ?
Posted by David Child at 8/28/2003 8:44:57 AM
Why is Remoting better than Sockets ?...more >>

Memory Grow Returnig DataSet
Posted by Mauricio Pires at 8/28/2003 5:41:17 AM
My singleton server object has a method that creates and returns a big dataset to a client application. Although the server doesn't have any reference to dataset after returned it, the server memory grows and doesn't reduce. I think that after the Return statement the memory would reduce ...more >>

call a remote object from within an other remote object
Posted by Chris at 8/28/2003 1:24:34 AM
Hi I've got a problem with remoting and can't find a solution by myself. I have 2 remote objects, 2 servers to host the remote objects and a client. The client uses one of these remote objects, which should use the other remote object. But I'm not able to get the reference of the 2nd remo...more >>

Hooking RealProxy/Identity Creation
Posted by Tim Findlow at 8/27/2003 11:41:26 AM
G'day, I've got a slight problem - does anyone have any suggestions? I have a server with a few potentially long-lived clients. Each client maintains a large number of long-term references to MBR objects on the server. I therefore need to implement an ISponsor object on the server tha...more >>

Why client require access to remotable obj & business obj's
Posted by Terry at 8/27/2003 11:40:37 AM
Hi, I'm new to remoting. I have written a remotable object that makes use of a business object. What I have found is that I need to copy both the remotable object along with the business component out to the client in order for things to work. Why is the remotable object required o...more >>

Remoting calback
Posted by Manuel Escobar at 8/27/2003 8:50:39 AM
Does anybody have a simple Remoting calback sample?. Thanks. -- Manuel de Jesús Escobar Díaz Laboratorio Nacional de Informática Avanzada, A.C. Rébsamen No.80, Col. Isleta Jalapa, Ver. 91090 México Tels. (52) (228) 841-6100 ext. 1205 ...more >>

Problem with custom sinks and IIS ???
Posted by Gian Piero Anselmi at 8/26/2003 8:29:00 PM
Sorry I forgot the attachments and the title... "Gian Piero Anselmi" <Anselmi@nit.it> wrote in message news:... Hello everybody, I got an interesting (at least for me) problem: have a simple = application server (SingleCall) with some custom sinks (thanks Ingo) on = a HTTP channel; I r...more >>

Best way to convert byte array (from TCP socket) to C# Object?
Posted by zvi NO[at]SPAM zvis.com at 8/26/2003 5:33:52 PM
Hi All, Basically my situation is this, I have a server implemented in C++, unmanaged code, using proprietery protocol over TCP/IP to communicate with the cilent(c++ also). Now, I am implementing the another client in C#. Server side can not be changed :( So, I am using tcp/ip sockets. In the...more >>

.Net Remoting vs Web services
Posted by IGor at 8/26/2003 11:37:09 AM
I heard from my boss: That .Net Remoting is not a recommended solution for any environment that is not high speed LAN. In other words, that any recommended remote communication for slow wan, vpn-a or public Internet are Web services. Does anybody know for any text or patterns and practice d...more >>

Error 407: Proxy authentication required
Posted by Giancarlo Stoppani at 8/25/2003 5:01:55 PM
I'm using a client, which does remoting with HTTP channel. There are ..NET remoting clients who access the internet through a proxy, which requires authentication. I know that I have to set the proxyName and proxyPort setting of the channel but how can I set the credentials to authenticate at th...more >>

Remoting and network load balancing.
Posted by Kevin Burton at 8/25/2003 1:54:39 PM
Is there some magic that needs to happen to get NLB and remoting to work? Remoting works fine but as soon as we add in the virtual address it stops working. Any ideas? Thank you. Kevin...more >>

Singleton behaves like a Singlecall in 1.1
Posted by LCompere NO[at]SPAM isl-france.com at 8/25/2003 3:28:12 AM
Hi, My application, server declared as singleton and clients on the same machine, is working well with Framework 1.0. / VB.NET 2002. Now, in Framework 1.1 / VB.NET 2003, after adding new lines in ..exe.config files as Ingo Rammer recommanded, no problems when the first client log-in but whe...more >>

Where does the .SOAP file in .config files come from
Posted by JerryK at 8/23/2003 11:53:07 AM
Hi, I am new to remoting and having trouble understanding where the .soap entry in my .config files comes from. For example, on the server side a web.config file that has the following lines .... <wellknown mode="SingleCall"> type="MYApp.Profess.HelloWorld", "HelloWorld" objectUri...more >>

Events in .NET Remoting
Posted by Kishroe Raghavan at 8/22/2003 11:11:54 PM
Hi All, I am trying to build a remote broadcasting server. I get this exception when trying to send a message from the server to the connected clients. Has anyone come accross this problem. Any help would be appreciated. "Type System.DelegateSerializationHolder and the types derived from it ...more >>

Contexts and Interception for Multiple Services
Posted by qdm0308 NO[at]SPAM yahoo.com at 8/22/2003 3:32:50 PM
I'd sure appreciate help from any of you experienced with creation of aspect-oriented services, where calls to objects are intercepted and routed through IMessageSinks. We have taken this approach to transaction management. Our "transaction-able" objects extend ContextBoundObject, and we've ...more >>

Looking for a pattern to solve this problem;
Posted by Brad Quinn at 8/22/2003 10:41:09 AM
Friday, no brain power remains... I have three assemblies; Client, Interface and Implementation. The Client uses Implementation through remoting. Client has a reference to Interface, but not to Implementation. Likewise, Implementation has a reference to Interface, but not to Client. Inte...more >>

Some Basic Remoting Questions
Posted by Andrew at 8/22/2003 8:57:44 AM
I'm new to remoting and having been having some problems getting my projects to work. Any help with any of these questions would be appreciated. 1) I want to use instances of classes (i.e. Customer), fill these instances with information (i.e. Customer.Name = "bob") and pass them over remoting....more >>

serverProviders and WSDL
Posted by Donald Xie at 8/22/2003 1:49:10 AM
I've noticed something interesting: if I configure a remoting server in code like HttpChannel Channel = new HttpChannel(8088); ChannelServices.RegisterChannel(Channel); RemotingConfiguration.RegisterWellKnownServiceType (MyType, myUri, ObjectMode); I can query the WSDL definition in IE us...more >>

Exception when trying to connect
Posted by Fabrício de Novaes Kucinskis at 8/21/2003 2:33:01 PM
Hi all, I have a load balancing app (isn't to a WebSite or WebFarm). In this application, all computer can be a client from, or a server to, another computer in the network. This app has a sort of different objects to manage. Each object provides a service to clients. These objects are...more >>

Change remoting settings without application restart.
Posted by Artem Kliatchkine at 8/21/2003 11:01:29 AM
Hi All, I my client application I register HttpChannel and well known client type. If application settings are changed I need to change connection settings for the channel and a url for the client type. So, I unregister the channel (ChannelServices.UnregisterChannel) and then register it aga...more >>

One channel that listens on mulitple ports
Posted by Raghu Rudra at 8/21/2003 11:00:14 AM
The following article: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/hawkremoting.asp says in the Channels section that: "You can register the same channel listening on two different ports." (Third bullet point) However none of the constructors of either...more >>

Remoted Object Creation Detection?
Posted by Jonathan Hughey at 8/20/2003 9:51:27 PM
Is there any way to tell from the server side when a registered Single Call object is created? I needed to know this for performance tracking of my remoting application. Thank you. ...more >>

remote object being locally instanced instead (behavioral error)
Posted by SEWilson at 8/20/2003 6:02:03 PM
the app config for the service process has: <activated type="DAL.Query.Data.Remote, DAL.Query" /> A client application is creating an instance of this object using either one of the following: Remote remote = (Remote)Activator.CreateInstance(typeof (DAL.Query.Data.Remote)); Remote rem...more >>

Error whit Remoting Events and delegate
Posted by Diego Molina at 8/20/2003 3:20:21 PM
HI all: I have some strange error (use remote events) when register the event: An unhandled exception of type 'System.Runtime.Serialization.SerializationException' occurred in mscorlib.dll Additional information: Cannot find the assembly WinCliente, Version=1.0.1327.20096, Culture=n...more >>

Multiple Servers, One Client and Remoting Events
Posted by sharipastore NO[at]SPAM yahoo.com at 8/20/2003 12:40:46 PM
The goal is to have the identical servers running on several different machines while sending events to one client located on one of the machines. I can get remoting events to work for each server individually, but I'm not sure how to register multiple URLs for each server. I've tried using th...more >>

IIS HTTPchannel + Binary formatter and SOAPSuds.exe client proxy throws type cast error
Posted by Bogdan CIRLIG at 8/20/2003 12:25:32 PM
Hi all, I have some strange cast error (from the same type to the same type) when trying the following: - IIS Hosted remoting app configured as following: ---------------------------------------------------- <system.runtime.remoting> <application> <service> <wellknown mode="SingleCall" t...more >>

Passing Types without dll
Posted by James Hancock at 8/20/2003 11:46:03 AM
Is there any way to do remoting and pass a type that is defined separately (but identically) in both the server and the client instead of having to have them share a dll between them? Thanks, James Hancock ...more >>

clinet 1.0 <-> server 1.1
Posted by IGor at 8/20/2003 11:02:23 AM
I'm trying to use .net framework 1.1 server with framer 1.0 clients and have some problems. Need to change server to 1.1 (because of some memory problems in 1.0), but changing clients to 1.0 is not an option for a few months at least (too many clients on many locations ~200). Short description...more >>

newbie: Is is possible to implement Remoting through ASP.NET
Posted by ahakim99 NO[at]SPAM yahoo.com at 8/19/2003 4:34:05 AM
Hi Is it possible to implement Remoting through ASP.NET, in particular I would like a remote object to be available to another client (not a web page) when a web page is downloaded. Thus when page.aspx is downloaded I want a remote server object to be created as well as the host. If so how can ...more >>

HttpChannels registering different ports are conflicting in the same app
Posted by Vineet Singla at 8/18/2003 1:27:46 PM
Hi, I am registering 2 HttpChannels in the same app, one without a custom provider and one with. The first channel that has no custom provider overrides the second one and does not let the custom sink be part of the second channel. They are both registering different ports in the same applicati...more >>

Using remoting on a single machine
Posted by Chris.Hughes NO[at]SPAM managesoft.com at 8/17/2003 6:25:25 PM
I wish to expose an interface that multiple processes can call to massage some data into a database. For performance reasons, I wish to preserve LDAP and DB connections across multiple client processes. All calling processes will be running on the same machine as the callee. I considered writi...more >>

Channel problem with framework 1.1
Posted by Ladislav Prosek at 8/16/2003 11:52:45 PM
Hello, I wrote a remoting channel that worked perfectly with framework 1.0. When I switched to framework 1.1, I started to have the following problem. During a remote call when the server throws an exception, no matter what exception it is, on the client side "RemotingException: Server encount...more >>

How to build a simple "push" technology
Posted by Carl Klouda at 8/15/2003 9:42:45 AM
I am struggling to get a couple patches out to some PCs on my network. Basically, this is what I want to do: 1. Push the 2 patches to the machines from my PC (presumably using the Admin$ share on the machines) 2. Install the patches on the remote systems from my PC. Basically... a ru...more >>

Two objectUri's sharing one port
Posted by cgray2 NO[at]SPAM hotmail.com at 8/15/2003 7:37:36 AM
I have a .config file that looks like the following: <system.runtime.remoting> <application> <channels> <channel ref="tcp" port="9999" /> </channels> <service> <wellknown mode="Singleton" type="RemotingHostProcess, RemotingHostService" objectUri="RemotingServiceConfigu...more >>

Passing User Types to Remote Calls
Posted by Richard Bell at 8/14/2003 5:43:27 PM
I am trying to pass a user defined struct to a method of a remote class. The struct is defined in a separate assembly accessible to both client and server. However, calls to the method are refused with the message 'Because of security restrictions, the type MyType cannot be accessed.' Many thanks...more >>

How can i force a remote object to be destroyed before its lease has expired ?
Posted by Elp at 8/14/2003 12:10:52 PM
Hi, does anybody knows how i could destroy an object, exposed as singleton via ..NET Remoting, without waiting the end of its lease ? I've tried the RemotingServices.Disconnect method but it doesn't work at all : my object is unreachable by the client by still there. Or is there a way to ma...more >>

Plan B
Posted by Russ at 8/13/2003 7:42:42 PM
Hi, I'm using VB.net 1.1 to build a Web based server and a Windows based client. Having read through two books and various articles I'm beggining to wonder if this is simply beyond my mental capacity. Sorry this goes on a bit, but any help would be greatly appreciated. I have a 'contact' ...more >>

singleton-singlecall
Posted by Krijn Michiels at 8/12/2003 12:58:56 PM
Hello, I have a server - application (windows service) with 40 wellknown remote objects. All of these objects expose Get and Save methods witch return and accept only datasets (or integer,strings, ..). Because the methods or very small (select from a DB) the application works fine with single...more >>


DevelopmentNow Blog