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

Filter by week: 1 2 3 4 5

How to specify client to use HTTP Binary Progmatically ??
Posted by at 4/30/2006 11:40:28 PM
Ok we have .config files to specifiy the Remoting configuration, but I cant use them as the URL and potentially the formatting mode may change based on client requirements. I need to pull the settings from my own configuration data and apply code at runtime which has the same effect. I h...more >>


Problem using Remoting with 2 NICs
Posted by KidO at 4/27/2006 9:49:01 AM
I have a remoting server (Class Factory) running on a PC with 2 NICs. NIC 1 is DHCP, NIC 2 is fixed IP Address. I have clients connecting successfully on NIC 1, but clients connecting to NIC 2 fail when accessing the methods of the inner classes of the Class Factory. For each NIC (IP ...more >>

remote web service error, please help !!
Posted by Mr. Ali Hasan at 4/27/2006 9:31:02 AM
There's a problem in my application that calls a remote web service's method, when it tries to connect to the webservice it displays this error: "The request failed with HTTP status 407: Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the...more >>

Cannot load type: RemotingType, RemotingType
Posted by machcoder at 4/26/2006 8:46:02 PM
I am sure this is just a configuration problem but I can seem to get my very simple remoting sample to work. The error is occuring on the server side when my remoting type is first access by a client. I have exhausted all my patients and resources on this one. Can anybody help? I am using ...more >>

Memory Leak/Problem with Remoting
Posted by HeatherS at 4/26/2006 12:36:02 PM
We are hosting our remoting through windows services. The remote class is basically a data access component. So, in the client application will call the remoting object passing in a stored procedure and its parameters and the function passes back a dataset. The problem is that if you watch...more >>

Windows login to remote server
Posted by Dorte at 4/25/2006 3:56:01 AM
Hi, I have an ASP.NET application where the user can enter an IP address, windows login and password information for remote servers (connected to the same network). The information is stored in a SQL server for different purposes. Before saving the windows login and password information i...more >>

Remoting Question
Posted by Demetri at 4/24/2006 5:01:02 PM
The only way I can ask the question I have is to present an example. Lets say I have a server application (server.exe),that runs unattended of course, and goes out every 20 minutes and gets stock information and holds the info it finds. I have a client app that provides a button that a use...more >>

WinForm in IE - Slow Load Times w/ Interface
Posted by Spam Catcher at 4/24/2006 12:13:53 PM
Hi all, I've added a shared remoting interface to WinForm in IE control. Since adding the DLL, load times have double - it takes ~2 minutes to load. The DLL is 16K and only contains shared interfaces. I checked the Fusion binding log (as well as my own custom logging), initial load takes...more >>



Will This Remoting and Load Balancing Scenario Work?
Posted by Stephen Barrett at 4/24/2006 9:46:50 AM
We currently have an application where we the web application uses .net remoting over the TCP channel with binary formater to contact our BL tier that is hosted in a windows service application. We now have a need for our app to be load balanced. We will have multiple web servers and multi...more >>

How to Pass Object to Server?
Posted by Quin at 4/24/2006 6:41:40 AM
Hi, I'm trying to create a client object and pass it to the server, but this fails on the client side at the point of passing the object, with the following: ++ Because of security restrictions, the type System.Runtime.Remoting.ObjRef cannot be accessed. ++ Both projects reference each ot...more >>

Passing Object to Server
Posted by Quin at 4/22/2006 2:01:27 PM
I have a client that creates a remoteable server object, "serverobject", and can pass strings. The client creates a "clientobject" to pass to the server, as: serverobject.pass(clientobject) This fails with the following: Because of security restrictions, the type System.Runtime.Remoting...more >>

RealProxy RemotingException Object has been disconnected or does not exist at the server
Posted by Dave Sexton at 4/22/2006 11:57:11 AM
Hi everyone, Using a custom RealProxy implementation the following RemotingException is thrown in Invoke: "Object 'tcp://computername:50/TestServer' has been disconnected or does not exist at the server." or "Object '/{guid}/TestServer' has been disconnected or does not exist at the se...more >>

Has Remoting changed in VS 2005?
Posted by Dan Reber at 4/21/2006 1:27:25 PM
I would like to get some books/training on Remoting but all that I can find is for .net 1 or 1.1. Were there any changes for .net 2.0? Thanks Dan Reber ...more >>

How to Detect if you're still subscribed to an event
Posted by James Hancock at 4/20/2006 2:05:23 PM
Ladies and Gents, I have an event that I raise. When that event is raised I raise it like this: if (NewAlert == null) return; AlertEventArgs aea = new AlertEventArgs(EmployeeID, AlertID); EventHandler<AlertEventArgs> eh = null; foreach (Delegate del in NewAlert.GetInvocationList())...more >>

RemotingException at second IPC channel
Posted by FrankSt at 4/20/2006 7:00:02 AM
Hi all, i have a problem with the following scenario: (Using VS2005 and .Net 2.0) I have two services (name it service1 and service 2) running on the same machine with different tasks to do for the client. Access to the services should be only local, so i selected the IPC channel. Clien...more >>

Webservice call to Remoting Singleton
Posted by Bill Strong at 4/20/2006 6:36:01 AM
I am designing a system that uses an ASP.NET webservice to call methods on a remoting singleton (I need the singleton to keep alive some specific COM instances as the COM components exist and the budget to migrate them doesn't). I believe I either have an architecture problem or a configur...more >>

Making [DllImport(...)] configurable at runtime in C#
Posted by It's the Angry Snapping Goose at 4/19/2006 9:51:05 PM
Hi All: Can the following be done in C# Go from: [DllImport("test.dll")] extern "C" int testFunc(int y); To: [DllImport(dllNameVariable)] extern "C" int testFunc(int y); Where "dllNameVariable" is some kind of "string" object that can be initialized either by looking at an envi...more >>

Remoting + Firewalls
Posted by Alexandre Brisebois at 4/18/2006 5:46:32 PM
Hi, I have currently developped a small test app for remoting, it currently works great if the firewall is turned off. how do i deal with firewalls ? i currently am using onecare on my dev machine and the server will be local and the client will be remote how do i go though the firewall ? ...more >>

How to deal with the exceptions in remote event?
Posted by Muzzy at 4/18/2006 3:06:01 PM
I wrote a program that is a server like a broadcast station. Client program will connet the server with dotnet remote. Client program connets an event of the remote object. So when server want to broadcast something, it raise this event. Then all clients can get the broadcast information. But s...more >>

IPC two-way communication
Posted by sbparsons at 4/18/2006 10:02:02 AM
I have IPC set up for my remoting using config files. I have the channel registered on the server as: <channel ref="ipc" portName="server" authorizedGroup="Everyone"> I can successfully communicate with the server via a client on this IPC channel (methods and properties) but when the server r...more >>

directly accessing a marshaled object from within the registering process
Posted by amp NO[at]SPAM gmx.info at 4/18/2006 9:28:05 AM
hi, i've done some search about this, but it didnt bring up anything. so its not possible, not known or such a newby-question, nobody talks about it. maybe you can help me with this: i register a tcp-channel and a singleton-object in a "server"-process. done by these lines: #ChannelSe...more >>

I'm starting to lose faith in Microsoft...
Posted by Jeff Mcphail at 4/18/2006 8:28:01 AM
Hi All, First of all I would like to say that I have always been and am still an advocate of Microsoft products and .Net in particular, over unix/linux/Java type solutions. But the last few times that I have had what I thought was a very straightforward problem for a .Net expert to so...more >>

Version error
Posted by Steve at 4/18/2006 8:21:01 AM
We are using remoting and I have updated an application on the web server however some clients receive errors when accessing the application. When they run the app it appears to be loading a previous version of the app however I can log on to their machine and the correct version runs. Is th...more >>

Object lost when remoting
Posted by Jonah Olsson at 4/17/2006 1:33:51 AM
Hello, I have a Windows Service running that manage all communication to and from a serial COM interface. The service updates a SQL Server database whenever something happens on the COM port. To be able to send commands to the service, I added .NET Remoting. The connection works fine and...more >>

Question on .NET remoting
Posted by wqisheng NO[at]SPAM gmail.com at 4/16/2006 11:49:46 PM
Hi. I have been trying to figure this out but without avail. Seems like most users of .NET remoting isn't using it quite the same way as I am trying to. So I'm wondering if it is even possible to do so. Help will be greatly appreciated. The scenario: I have a server and a remote object. The s...more >>

What sucks about Remoting. Unless I'm missing something.
Posted by Dave at 4/16/2006 6:30:00 PM
When a client is using a MarshalByRef object, you cannot inspect the members of the class using the debugger?! All you see is the proxy stuff, which is worthless. Makes debugging extremely difficult. Or am I missing something? ...more >>

Marshal by value vs. ref of aggregated objects
Posted by Dave at 4/16/2006 5:55:54 PM
I understand the difference between marshalling by value vs. by ref. However, in complex object aggregation scenarios it gets very confusing when mixing the two. For example: Let's say I have a Project object that is MarshalbyRef. Within the Project class I have a SortedList collection th...more >>

IPC, Singleton and Object ref.
Posted by Andy at 4/15/2006 4:03:25 PM
Is there ANY way of getting an object reference to a singleton remoting object IN THE REMOTING server? Any help/pointers greatly appreciated. Andy ...more >>

Windows Service and Client App do not have the same object reference
Posted by kpotdar NO[at]SPAM gmail.com at 4/13/2006 7:23:41 PM
Hello All, I have a very sticky situation, and was wondering if anyone had a solution. Here is what I have got. 1] A Remote Object that has several properties and methods. Inherits MarshalByRefObject 2] A Windows Service that hosts the remote object, but also needs to modify properties p...more >>

Any third party library or tool?
Posted by jldearmas NO[at]SPAM yahoo.com at 4/13/2006 10:38:31 AM
Hi folks Is there any third party library or tool like RemObjects SDK to automate remoting and n-tiers application over .NET, it could be using .NET Remoting or not. TIA -- Lic. Jorge Luis De Armas García Chief Software Architect DATYS email: jldearmas@ticex.co.cu jldearmas...more >>

Remoting streams in .NET 2.0
Posted by Milan at 4/12/2006 2:01:48 PM
I've got a slight problem with an application I'm creating: I am passing a client side Stream into server side method call (remoted method call). The server side method call creates a BinaryReader around the stream. When reading from the BinaryReader I get a Remoting.Exception with the text...more >>

Remoting using a Windows Service
Posted by Chad at 4/11/2006 11:11:51 PM
I am doing Remoting via a Windows Service. The problem I have is this: When I go to release a new versionof the Service, I first stop the = service. Then, I copy the new exe and dependent files to the bin folder = and try to retart the service.=20 I get this error: 55121 not opened.=20 E...more >>

Help to monitor processes on remote computers
Posted by tim.leh NO[at]SPAM gmail.com at 4/10/2006 5:34:11 PM
Problem: My company has many scheduled jobs running on different computers. I am asked to write a program to check some of these (critical) jobs and make sure that they are running normally. For those that run too long than expected, these need to be terminated and a notification will be sent t...more >>

.Net Remoting and DataSet
Posted by Robert Strickland at 4/8/2006 10:14:26 PM
Could someone direct me to documentation that explains what is best when sending data through .Net Remoting using TCP/Binary. Do I use a DataSet or is the DataTable more efficient? ...more >>

Secure TCP Remoting
Posted by Spam Catcher at 4/8/2006 5:00:06 PM
Hi All, Are there any good examples online on how to build a secure TCP channel? I understand there is Geniune Channels, but any open source alternatives? Thanks....more >>

WindowsService stops just after it's started - remoting
Posted by mdz NO[at]SPAM jawnet.pl at 4/8/2006 3:13:27 AM
hi, I created WIndowsService to host SAO object. Everything was ok before, but when I get back to it a few days ago i realized that it doesn't work properly. So what I did wrong? Service host remote object so it has work to do and service shouldn't be stopped. The only solution I see is to ...more >>

Remoting Issue with Events
Posted by James Hancock at 4/6/2006 1:12:10 PM
Ok, so here's a weird one. Everything I've found on this is indicating that the assembly hasn't been loaded. But in this case it definately has. I'm rasing an event that is captured in another class that is part of the same dll which then fires a method on an interface that is setup when the ...more >>

Windows Service and remoting
Posted by ermonnezzaro NO[at]SPAM gmail.com at 4/6/2006 8:18:42 AM
Hello there, I am developing a windows services in (VB.NET). This service runs 2 threads whose tasks is to monitor the database and update few records. I would like to communicate with this window services with remoting - and I found many examples - but none of those showed me how to communi...more >>

remoting excpetions
Posted by msuk at 4/6/2006 7:21:02 AM
All, I have a remote server that my client calls running on two separate PC's. On my remote sever I have a method that returns a ADO.Net Dataset that has a try and catch block around it. Now if for example I cause an exception by using an incorrect connection string I would like to throw ...more >>

Async & Sync calls togethers
Posted by mtv at 4/6/2006 5:59:02 AM
I have an WinForm application that mainly has 2 parts, for the sake of this discussion: a synchronous call to Remote object and an asynchronous call (also has event handler to trap remote object's events fired back upon new data is sent). So, once an async call is made, remote object keeps sen...more >>

Credentials cannot be changed on TcpChannels
Posted by Bruno Hunziker at 4/4/2006 2:35:02 AM
The first time I use the secured TcpChannel (.Net 2.0) in my app everything works well. The problem is when I change the credentials those changes are always ignored and the server does no new authentication. The client has to be restarted. Is this the wrong way of going about this? How...more >>

Remoting and Threading
Posted by Itay Sandbank at 4/3/2006 1:00:02 AM
Hi there. Can someone please point me in the direction of a good document explaining how remoting works with threads? Which threads are used, can I limit these threads some way (I'd like, for instance, all calls made on a specific SingleCall objects to occur in a specific thread), etc.....more >>

Server + Multiple Clients + Notify specific client
Posted by James Hancock at 4/2/2006 2:36:02 PM
This is my first forey into Remoting, so please bare with me... Every sample I can find uses a Singleton system. As far as I can tell, if I raise an event on the server side at that point, every client that has registered will get the message... What I want to do is have the client registe...more >>


DevelopmentNow Blog