remoting

"Authentication Failure" when calling a method on Remote Object in wpf

I am developing an application which uses WindowsFormsApplicationBase to enforce Single Instance. I get the following error when calling a method on a Remote object. It works fine if I don't use Single Instance approach. System.Runtime.Remoting.RemotingException: Authentication failure ---> System.IO.IOException: Unable to read data fro...

Using IOC in a remoting scenario

I'm struggling with getting IOC to work in a remoting scenario. I have my application server set up to publish Services (SingleCall) which are configured via XML. This works just like this as we all know: RemotingConfiguration.Configure(ConfigFile, true); lets say my service looks like that (pseudocode) public class TourService : IT...

VS 2003: console application .net remoting

Does any one know how to connect my c# console application to .net remoting server object. How to make changes to config file for console application to consume the .net remoting object? ...

What is a Channel Factory in .NET?

What is a Channel Factory and why do you use it? ...

Returning errors from AMFPHP on purpose.

When using flash remoting with amfphp, what can I write in php that will trigger the 'status' method that I set up in my Responder in Flash? Or more generally, how can I determine if the service call has failed? The ideal solution for me would be to throw some exception in php serverside, and catch that exception in flash clientside......

Remoting Error: Requested Service Not Found

Hi, I am trying to create a very simple example of remoting which isn't working. I start the host and when I start client, it says "requested service not found" Parts of My Application are: Remoting Object : MarshalByRefObject ComponentHost Client You can download my project from here It has been 2 days and I am going crazy. Reques...

.NET remoting exception: Permission denied: cannot call non-public or static methods remotely.

I'm writing a program which will allow to load a specific managed .DLL file and play with it. Since I want the ability to unload the .DLL file, I'm creating two AppDomains - one for the app itself, the other for the currently loaded .DLL. Since most of the objects in the loaded .DLL do not serialize well, I'm creating a MarshalByRefObje...

Interaction between multiple AppDomain. Problems with the destruction of singleton-objects.

The problem is the following. There is an application that is at work creating additional AppDomain's and loads there assembly (custom user scripts). In the main application, there are some objects, references to which to transfer ownership to those created AppDomain's. Objects themselves are the MarshalByRefObject, and they are disabl...

.Net Remoting: Serialize Object and implementation

Hi, In my scenario there is a client-side assembly that contains a class (Task). This class implements an interface (ITask) that is known on the server. I'm trying to send a Task object from client to server without copying the assembly of the client manually to the server. If I just serialize the task object, the server obviously comp...

ColdFusion 9 ORM/Hibernate and Remoting

Why does my cfc method (when returning JSON format or called via remoting) return all related objects regardless of the lazy setting on the property? ...

how to host .NET Remoting object in ASP.NET application?

I want my web application to return .net remoting object when somebody requests one page (or handler) with certain parameters. how to make it? ...

From VB6 to .net via COM and Remoting...What a mess!

I have some legacy vb6 applications that need to talk to my .Net engine application. The engine provides an interface that can be connected to via .net Remoting. Now I have a stub class library that wraps all of the types that the interface exposes. The purpose of this stub is to translate my .net types into COM-friendly types. When I r...

.net remoting, how to detect disconnected/crashed clients from the server?

how to detect disconnected/crashed clients from the server? ...

Proxy calls across a DMZ

We need to determine a quick way for our web application deployed in a DMZ to communicate to our SQL server that lives in the protected network. Only port 80 is open and available, and no direct SQL traffic is allowed across the firewall. So take the following simple system. A web page (default.aspx) makes a call (string GetData()) th...

Update image in ASP.NET page from memory without refreshing the page.

I have a command line C# server and an ASP.NET client, they both communicate via .NET Remoting. The server is sending the client still images grabbed from a webcam at say 2 frames a second. I can pass the images down to the client via a remote method call and the image ends up in this client method: public void Update(System.Drawing...

Flex remoting and progress events?

Is there a way to monitor the loading progress (percent progress bar style) when using Flex remoting? I'm trying out Flash Builder 4 with it's new data services features, but I can't find any pgrogress event stuff somewhere. This article by Robert Taylor http://www.roboncode.com/articles/144 indicates that it might not be possible... ...

Efficient multiple services exposed over .NET remoting using more channels or end points?

I am using remoting over TCP for a prototype distributed server application where I want to have varying multiple services exposed from each remoting server process. In some cases I want the services running from the same process but I don't want whatever is using the service to care about that. I am wondering is it more efficient to h...

Requested Service not found

...

.NET Remoting - Question about RegisterWellKnownServiceType and activation of remote object

I have 2 applications A1 and A2 with HttpChannel between them. Also there are 2 classes inherited from MarshalByRefObject - CObj1 and CObj2. A1: Cobj1 obj1 = new CObj1(); RemotingConfiguration.RegisterWellKnownServiceType( typeof(CObj1), "CObj1", WellKnownObjectMode.Singleton); A2: Cobj2 obj2 = new CObj2(); stri...

.NET Remoting memory leak?

I have a Remoting Class as a Singleton <configuration> <system.runtime.remoting> <application> <service> <wellknown mode="Singleton" type="PTSSLinkClasses.PTSSLinkClientDesktopRemotable, PTSSLinkClasses" objectUri="PTSSLinkDesktop" /> </service> ...