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

Filter by week: 1 2 3 4 5

custom sink channels and closing connections.
Posted by lloyd at 4/29/2005 6:26:06 PM
i'm using custom sink channels to encrypt (among other things) my remoting tcp channels, but i've noticed that for every call, even though its a client activated object, it opens a new tcp connection and leaves it open until i run out of available sockets at around 4000 connections (8000 showi...more >>


Problem with multihomed remoting server with no DNS setting
Posted by Tim Laughton at 4/29/2005 12:36:01 PM
I have a two computer network. Neither computer is running a DNS server. On one computer, I have assigned multiple IP addresses to its network card (kind of simulates multiple network cards). Now, if I run a .net remoting service on this computer and leave its DNS entry empty, when my clien...more >>

structure for error handling for calls to a MarshalByRefObject
Posted by Paul Wohlhart at 4/29/2005 12:00:00 AM
hi i'm currently implementing a distributed chat application (yes another one - for university) using MarshalByRefObjects (with RemoteConfiguration.RegisterWellKnownServiceType and Activator.GetObject and stuff around) now i want to (and did) implement a reconnect method that tries to rea...more >>

Asynchronous Remoting and its effects on ASP.NET Threading
Posted by Stewart Rogers at 4/28/2005 10:58:01 AM
Hi all, Now I know that we can call .NET remoting components asynchronously from ASP.NET pages and it works like a charm! But I am concerned about the behavior of the overall system in this case and how does ASP.NET handle threads. (1) Lets say I asynchronously call .NET remoting component...more >>

Asynchronous Remoting from ASP.NET Web Pages
Posted by Stewart Rogers at 4/28/2005 7:40:05 AM
Guys, My ASP.NET application (on SERVER-A) has been calling .NET remoting components that are hosted in IIS (on SERVER-B). So far i have been calling components in synchronous fashion where my ASP.NET page waits for the call to return. But new requirments just came and now I would have to ...more >>

Problem with tcp
Posted by Fabrizio Romano at 4/28/2005 12:00:00 AM
Hi everybody, I'm trying to build an application msn like to play chess with my friends. I have almost done everything, I have the chat form, and it works pretty good. To do this, I use TcpListener and TcpClient, threads and a ChatMessage serializable class that contains the body of a message...more >>

Microsoft.Samples.Runtime.Remoting.Security and Interfaces.
Posted by lloyd at 4/27/2005 7:53:23 AM
I've been using this for a couple days now and its all working well but I can't yet figure out how have just an interface in the library used by the server and the client. The OpenFile example does have an IFoo but it doesnt use it. Searching google the only sample code I found uses Activa...more >>

Apparent timeout on a long-running remoted process.
Posted by SolDel NO[at]SPAM online.nospam at 4/25/2005 2:07:53 PM
In an application using .NET remoting (the remoted server is hosted in IIS), a long-running remoted call terminates after running for around 46 minutes. There is no exception thrown on the server, nor do the ASP.NET performance counters register any application or worker process restarts. T...more >>



Can Not Remove "Listener" Remote Client From Collection
Posted by dotNetDave at 4/25/2005 10:36:02 AM
I have an assembly that mainly communicates to clients via events. I need to turn this into a remotable service. I read that remoting events can be error prone, so I read an article about the setting up a Listener and Broadcaster (that keeps an collection of Listeners). This works great except...more >>

CAO - Interfaces - IIS
Posted by porter_wss NO[at]SPAM hotmail.com at 4/25/2005 9:30:22 AM
I am trying to implement client activated objects hosted by IIS using a shared DLL that has interfaces for the object. I am new to remoting and used the Ingo Rammer's book Advanced .NET Remoting to get started. I can get the Basic\RemotingObjects example that Microsoft provides to work but th...more >>

Intermittent IndexOutOfRangeException: Index was outside the bounds of the array
Posted by scotthutchinson NO[at]SPAM usa.net at 4/23/2005 1:05:23 PM
I have a .NET Remoting object hosted in IIS6 on Windows Server 2003 (happens before and after installing SP1) at an endpoint (ASP.NET application virtual folder) named "CompanyXYZReporting". The remoted object is called several times every day and works perfectly except every 2-3 weeks when we c...more >>

Requested Service not found
Posted by Joe at 4/22/2005 11:13:19 PM
I have a timer which calls a method every 4 minutes. If the default lifetime is set to 5 minutes shouldn't the timer call prevent the object from ever disconnecting? ...more >>

IIS hosted remote server, SSL and CA Root
Posted by Greg Robinson at 4/22/2005 2:33:47 PM
I am getting a bit confused on some of this SSL stuff with regards to .NET Remoting. It's new to me. What I know I learned this morning. Our windows form client uses a remote dal hosted by IIS. I want to secure the data being transferred back\forth from the client to this remote server....more >>

Cannot Get XML Config file to Work
Posted by Ali at 4/22/2005 10:36:16 AM
Hi, For some reason, I am not able to configure my client's configuration using xml. I get the following error: ..Config file ..\..\ConsoleJobClient.exe.config can not be read successfully due to exception System.Runtime.Remoting.RemotingException: channel entries must contain a type ...more >>

Event callback port 0 and security
Posted by thanasis bouk via DotNetMonster.com at 4/21/2005 12:00:00 AM
Hi OK. In order to communicate with a remotable object, I leave the port I've set in the config file open. But how on earth can I know what port .net remoting chooses for callback events (port="0") in order to leave it opened too? Does anyone have this problem?...more >>

Deserialization bug, workaround or fix desperatly needed
Posted by TEK at 4/20/2005 11:08:47 PM
There seems to be a bug when deserialization some classes in the .NET framework. If you try to deserialize a class that has a base class that holds a struct with a member that is implementing the ICollection interface, this causes the deserialization to fail. In my case this is a huge prob...more >>

Remote database access layer
Posted by at 4/20/2005 10:18:10 PM
Dear Groups, I am trying to develop a simple client <-> server application where (for database security reasons) the server only has access to the centralised database (and a file repository), and not the client. I think the best way to do this is to expose data layer objects using Remot...more >>

Serialising Methods for Parallel computing?
Posted by windsurfing_stew NO[at]SPAM yahoo.com.au at 4/20/2005 6:12:05 PM
Hi, In all the .Net documentation that I've seen you can only remote class members and events, not methods. I'm looking to do some parrallel computing and am hoping to be able to push out my class methods to an array of host computers. Are there any hacks to get remoting to do this? Two ...more >>

remoting nested types
Posted by ThunderMusic at 4/19/2005 11:58:21 PM
Hi, I have a remoting problem concerning returning a control from a service to a client app... the code is as follow : <code start> dim x as MyControl x = MyDistantObject.GetMyControl() MyForm.Controls.Add(x) <code end> The MyDistantObject is valid. the x object seems to be set when...more >>

Newbie Problem Using Remoted Object
Posted by farr_adam NO[at]SPAM hotmail.com at 4/19/2005 1:03:02 PM
Hi, I have a web project written in asp.net, vb and runs a SQL Server 2000 back end. My Data Tier will be on another machine run as a remote object. For now I am testing it on one machine using HTTP as the transport layer. When trying to connect my Event Viewer catches this error... Th...more >>

Remoting issue: "There were not enough free threads in the thread pool to complete the operation"
Posted by GuidoD at 4/19/2005 12:00:00 AM
Hi, I have a weird remoting issue: I have a remoted service (SAO, SingleUse) running on the network, and a windows client to access it. When I start the client it can connect OK. If I keep the client busy, it's still OK. But when I don't touch the client for 5-10 minutes (after connecti...more >>

Remoting Server works on dev machine but not on server
Posted by Ahmed at 4/18/2005 4:51:34 PM
i have a remoting host on my dev machine which works perfectly but when brought onto server machine it starts but does not seem to accept any connections. I do a netstat -a and the port is listening and when i connect to the server i actually see the server creating the hosted objects but all t...more >>

Free Balloon tool tip for .NET apps
Posted by herr lucifer at 4/18/2005 1:30:59 AM
HerrLucifer's Balloon Tool Tip for .NET applications What uses will you have for a professional tool tip in your .NET applications? Now...download it for free at: http://www.freewebs.com/balloontooltip/ ---------- Thanks for any feedback... Send them to : hmdz105@[Removethis]hot...more >>

Serialization of SqlError fails
Posted by Mark at 4/18/2005 1:27:08 AM
Hi Am using Remoting. My server PASSES an exception that includes SqlClient.SqlError as it's inner exception to the client. When running remoting locally on my XP Pro pc, the exception object gets to the client without any problems. BUT when running with the remoting service on an Window...more >>

Singleton factories and Threading
Posted by Marcel Heling at 4/18/2005 12:00:00 AM
Hi, i have a Singleton working as a 'factory' for MbR objects (sessions). Clients call the Create-method on the singleton, which returns a MbR object. What about multithreading in such an environment ? Is there any chance to ensure multithreading ? any help appreciated... ...more >>

BinaryFormatter Version incompatibility
Posted by aifong NO[at]SPAM gmail.com at 4/14/2005 8:33:54 PM
Hi, I am having a problem with BinaryFormatter Version incompatibility. This is the setup. I have a VB6 COM+ component on server A and an application proxy (server application) of that component on server B where my .NET web application is running. I am able to use the COM+ component from the...more >>

Autorization header
Posted by Berndt Johansson at 4/14/2005 11:01:17 AM
Hi Sorry if I post this on the wrong group, but I feel that the problem solution would be related to the changing code in the Remoting communication part. I am working on an project with a client connecting to the backend via both WebServices and Remoting over http hosted by IIS 5. Th...more >>

Needed help on .Net Remoting
Posted by .Net Remoting/webservice at 4/11/2005 1:57:05 AM
I need small help. Let me explain my problem first. I developed smart clinet application, i.e A webservice, which returns large dataset( more than 1 lakh records) to clinet(windows application) on demand. here every thing is working fine excluding performance. Here my problem ...more >>

No Server - Graceful on the Client
Posted by Phil Jones at 4/9/2005 12:00:00 AM
I'm working with the problem of building a client that acts gracefully if the remoting server is not available. What I've found is that once a socket exception occurs because the server can't be found, I need to reload the assembly and re-configure the remoting system before it'll work agai...more >>

Problem with REMOTING - Currency Manager not marked as Serializabl
Posted by KCS at 4/8/2005 4:17:02 AM
I am hoping an expert can answer this query. I have created a simple app to REMOTE an object. The object I am remoting (which is a collection based on a DataView of a DataTable) implements IBindingList. It works until I try to bind the remote object to a DataGrid. I then get the message bel...more >>

events problem, please help
Posted by Aleksey Tkachenko at 4/8/2005 12:00:00 AM
Server is hosted by service, client by app, both respond normally to the calls from application. Two different dotNet frameworks 1.0 SP2 were installed after the 1.1 on this W2000. System.ArgumentException Error binding to target method. while trying to subscribe to events like this ...more >>

Where to put remote activator in the client?
Posted by Toble Rone at 4/6/2005 8:37:33 PM
I'm developing a Remoting project and after reading and testing a LOT with all the posibilities, I'm getting trouble with an "architectural" topic. I have a console app hosting a remotable object quite well, and during testing, I can conect with simple "client" apps with all the necesary code ...more >>

Console app uses remote object, web form doesn't
Posted by Rich Lund at 4/6/2005 11:48:01 AM
I have managed to get my remote type hosted in IIS on a separate server and previously was able to call this from a web form on a second server. I do both my client and server remoting config via config files rather than in code. I know it is dumb but once I was happy with this I tidied up ...more >>

Proxy Authentication
Posted by Andrew at 4/6/2005 8:06:07 AM
Hi All In the .NET Framework is there any way to provide the proxy authentication the way internet explorer prompts. I mean when I access the net using internet explorer it asks for the username and password. I want that when I create a Web-Request it also prompts for the username and passw...more >>

interprocess communication in .NET
Posted by michael_quinlivan NO[at]SPAM hotmail.com at 4/5/2005 11:37:16 PM
not sure if this is the right place for this, but anyway... I have an application which works closely with a second app. The second app needs to be able to signal the first app asynchronously. The first app will respond to this signal by performing a certain task. What is the simplest way...more >>

Keep Alive
Posted by Tal at 4/5/2005 11:51:21 AM
I have a singleton server side object published by .Net C# remoting. In the client side after creating the object, how can I know when the server is down by receiving connection down event? The server does not have a keep alive method that I can call every X seconds and check it. ...more >>

Authentication using non-default credentials?
Posted by Martin Davy via .NET 247 at 4/5/2005 5:33:39 AM
I am try to use integrated windows authentication with CAOs= hosted in IIS=2E I am using Framework 1=2E1=2E According to MSDN, I= should be able to supply me own credentials in the channel= properties, but when I do this I always get (401) Unauthorized=2E= This is true even when I explicitl...more >>

not marked as serializable
Posted by Richard at 4/4/2005 8:13:03 AM
I have a class in an interface asembly <Serializable()> Public Class CallerInfo Public Sub New(ByVal CallerIdentity As String, ByVal CallerAppDomain As String, ByVal CallerMachineName As String) Me.CallerAppDomain = CallerAppDomain Me.CallerIdentity = Call...more >>

Error with Remoting Events in ASP.NET application: Type Initializer error
Posted by RobbieGotNeeds NO[at]SPAM netscape.net at 4/4/2005 8:08:41 AM
I have a Windows service that checks the availability of something. I use remoting to publish events, and I've gotten multiple Windows forms applications to subscribe to these events. Now, I want my ASP.NET web application to subscribe to these events as well. In my ASP.NET application I have...more >>

specified cast is invalid
Posted by Santosh d via .NET 247 at 4/4/2005 12:49:57 AM
i am having 2 c# dlls ... with class A in 1 of the dll and class B in the 2nd one one of the member function(create) of class A tries to create the instance of class B in a different Appdomain i have 2 client applications 1) a vc# client application 2) a vc++ client application both try ...more >>

Remoting, just send 2 integers
Posted by plize NO[at]SPAM letsdothatagain.com at 4/3/2005 1:32:06 PM
How can I make a C# application communicate with another one by sending it 2 integers? I searched in the 'Remoting' section in MSDN, but in vain. Thank you ...more >>

Client hangs if I do anything in the EventHandler
Posted by sean at 4/1/2005 4:17:44 PM
C# application. Client and server using Tcp channel remoting. The clients see the server just fine. I wanted the server to send the clients an event when an update came in. I added an event to the server object, fixed up all the security issues, and the event is getting fired back to the cl...more >>

New AppDomain, how to see the ConfigurationFile and call Configure
Posted by Greg Robinson at 4/1/2005 2:18:34 PM
We have a small exe that creates a new appdoman, sets its configurationfile to a config file on our web server and then launches another exe inside this new appdomain. All works well accept when we need to call into a remote server from this new appdomain. We use the configuration file to ...more >>


DevelopmentNow Blog