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...
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...
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 and why do you use it?
...
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......
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...
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...
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...
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...
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?
...
I want my web application to return .net remoting object when somebody requests one page (or handler) with certain parameters. how to make it?
...
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...
how to detect disconnected/crashed clients from the server?
...
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...
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...
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...
...
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...
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...
I have a Remoting Class as a Singleton
<configuration>
<system.runtime.remoting>
<application>
<service>
<wellknown
mode="Singleton"
type="PTSSLinkClasses.PTSSLinkClientDesktopRemotable, PTSSLinkClasses"
objectUri="PTSSLinkDesktop" />
</service>
...