Questions tagged [remoting]

.NET Remoting is a Microsoft application programming interface (API) for interprocess communication released in 2002 with the 1.0 version of .NET framework.

.NET remoting enables you to build widely distributed applications easily, whether the application components are all on one computer or spread out across the entire world. You can build client applications that use objects in other processes on the same computer or on any other computer that is reachable over its network. You can also use .NET remoting to communicate with other application domains in the same process.

Note: As of version 3 of the .NET framework, remoting is considered a legacy technology that is retained for backward compatibility with existing applications and is not recommended for new development. Instead of remoting, it is now recommended to develop distributed applications using the Windows Communication Foundation (WCF).

1152 questions
0
votes
2 answers

.Net remoting works from example but not from my assembly

I have downloaded a simple .Net remoting example from here http://www.codeproject.com/Articles/8771/Simple-but-potentially-useful-example-of-NET-Remot . The example works. The server side code is called by the client. Now when I copy that client…
Mike de Klerk
  • 11,906
  • 8
  • 54
  • 76
0
votes
1 answer

Setting up remoting with zend_amf and cairngorm

I am using Flex 3.4 and Cairngorm 2.2 and Zend_AMF for server side. I am having problem in setting up RemoteObjects. I am getting the infamous Channel disconnected error. [RPC Fault faultString="Channel disconnected"…
vikmalhotra
  • 9,981
  • 20
  • 97
  • 137
0
votes
1 answer

Flex Remote object call disconnect issue

Working on flex application using java remote object calls. There is a cancel operation(a button on progress bar) which needs to kill/disconnect the operation/process on server. Here is how I am doing -…
girishsovflow
  • 735
  • 1
  • 6
  • 5
0
votes
1 answer

Best way to delegate work to child process?

I need to do a lot of work in UI thread. This work consumes a lot of CPU and memory resources. In current realization I use Dispatcher.BeginInvoke() method, but it makes my application frozen. What if I will delegate this job to child process…
Dmitriy
  • 654
  • 10
  • 24
0
votes
0 answers

RemotingException was unhandled "Attempted to call a method declared on type 'System.IFormattable' on an object which exposes 'HES.MyProcess'."

i started to work with .net remoting, read myself through tutorials and explanations, saw now at least three examples on the web and they looked all similar to my code. i can't find the reason for the error I get. (RemotingException was unhandled…
fose
  • 730
  • 1
  • 10
  • 24
0
votes
1 answer

Remote Login to Windows and execute commands in command prompt using PowerShell

I have to remotely log in to a particular server (say server A) from a remote location (Say server B) and execute commands like ping,telnet (to server C) in the command prompt of server A and return the command output to server B and perform few…
0
votes
1 answer

OutOfMemoryException during remote method call

Iam getting OutOfMemoryException while making remote method call. "RemoteEntity.SetLocalStore(DATASET);" passed value is dataset. Note Size of dataset is 38mb Envoirment c# VS2008 Thanks Code : private void backgroundSync_DoWork(object sender,…
Buzz
  • 295
  • 2
  • 13
0
votes
2 answers

Calling a WCF service from a Remoted DLL

I have a process, let's call it Process A, that is hosting a simple WCF service exposed though a basic Http binding. If I spin up that process I can then access the service from another process, Process B, with no problems. However, my required use…
ctacke
  • 66,480
  • 18
  • 94
  • 155
0
votes
3 answers

StartService fails with error code 1053

I'm trying to start a process on a remote machine. I'm using OpenSCManager(), CreateService(), QueryServiceStatusEx() and StartService() API-s. I'm able to successfully install my process as a serice, but when i'm trying to start it, StartService…
kampi
  • 2,362
  • 12
  • 52
  • 91
0
votes
2 answers

mono in unity 3d and .net remoting

I am working on a Unity project where I need to work with a remoting client. I have created an interface class and I am using a remoting server in an other Unity project. While the server is working without problems, the creation of the client fails…
hoffmanuel
  • 403
  • 1
  • 5
  • 14
0
votes
1 answer

.NET remoting exception ArgumentOutOfRange

I have .Net smart card and I am using c# to build the card application and the host application. Actually the smart card acts as a server in .Net remoting. In smart card, I have remote object (Myclass) and I call remote method : public int AddPerson…
hum.
  • 25
  • 7
0
votes
1 answer

Xceed FTP Library - Switch Local Working Directory

I have a requirement to enable switching of LocalWorking directory right before file downloads(uploading too) to allow for downloading of files to directories different from the local current working directory. Also, allow uploads from directories…
Kobojunkie
  • 6,375
  • 31
  • 109
  • 164
0
votes
1 answer

.NET Remoting calling a WCF Service Reference errors with "Could not find default endpoint element that references contract"

I have .NET Remoting setup for a number of objects. It has been production for over a year and all is well with the setup. I've added a Service Reference today in a project called Entities. One of the classes with the Entities project calls this new…
Josh
  • 8,219
  • 13
  • 76
  • 123
0
votes
1 answer

.Net Remoting: Invoke Method on client from Server

i'm trying to write a small chat server using .Net Remoting in C#. The connection to the Server from the client works nicely, but as soon as i try to "broadcast" a sent message to all other clients (or even the same client), the server throws an…
Volker Mauel
  • 514
  • 3
  • 21
0
votes
1 answer

RemotingServices.Marshal(foo, uri) only works for a short period of time. How to keep it working?

When I do RemotingServices.Marshal(foo, uri); And the Client connects, everything works. When I wait for a few minutes and then try to connect the client, the Client throws a RemotingException: Object '{name of service}' has been disconnected or…
marc40000
  • 3,167
  • 9
  • 41
  • 63