Questions tagged [.net-remoting]

.NET Remoting is a legacy technology of the .NET Framework for distributed applications. For development of new distributed applications it is recommened to use Windows Communication Foundation (WCF)

274 questions
0
votes
2 answers

Implementing an internal interface over .NET Remoting

I had an internal interface that I needed to implement over .NET remoting to make sure only our assemblies ever called these members remotely (used InternalsVisibleTo to give access to friend assemblies). However, when I implemented the interface…
codewario
  • 19,553
  • 20
  • 90
  • 159
0
votes
1 answer

MarshallByRefObject

Just a quick one for an expert in the field :) Can I use the marshallbyrefobject class to get objects to be reference across a network, rather than just across application domains? If not, is there another set of classes to do this? i.e. reference…
cOrOllArY
  • 289
  • 2
  • 4
  • 11
0
votes
1 answer

MissingMethodException when making a .NET Remoting call over IPC

I have a service which needs to pump strings to a helper application which displays critical messages from the service to the user (Vista+ does not give services access to the GUI). Since I've used .NET Remoting over TCP, I figured I'd do the same…
codewario
  • 19,553
  • 20
  • 90
  • 159
0
votes
2 answers

Is there something like a OnClientConnected event for .NET remoting?

I'm using something like this on my server: TcpServerChannel channel = new TcpServerChannel(settings.RemotingPort); ChannelServices.RegisterChannel(channel, true); RemotingServices.Marshal(myRemoteObject, "myRemoteObject"); I would like to…
Ying
  • 1,142
  • 2
  • 15
  • 19
0
votes
1 answer

.net remoting - update on server causes cannot load type error

I'm working on updates to a deployed client server app that uses .net remoting over a tcp channel with the binary formatter. As the clients are geographically distributed, I need to make updates server-side only where possible. The system uses .net…
Jules
  • 14,841
  • 9
  • 83
  • 130
0
votes
1 answer

Workaround for .NET Remoting TcpChannel Timeout Issue

Since I (and many other people on the internet) are unable to configure the client-side TcpChannel timeout when using .NET Remoting (please don't suggest proper fixes, I've literally tried everything, and no WCF suggestions please), I have come up…
codewario
  • 19,553
  • 20
  • 90
  • 159
0
votes
1 answer

.Net C# Remote Method Invocation (RMI) (Client/Server communication)

Possible Duplicate: What the .NET standard for remote method invocation? What exactly is C# version of Java RMI? I want to invoke the methods of client from the server, ping the client from server etc. How this server and client communication can…
Waheed
  • 10,086
  • 20
  • 53
  • 66
0
votes
1 answer

Configure COM+ server

There is COM+ server already running. I can see this in services. Now, I want to install/configure a new version of this component. So, I stop the service. Copy new com+ dll and exe file to the location. Start the service and I get following…
peacefulmember
  • 293
  • 2
  • 5
  • 14
0
votes
1 answer

Cannot retrieve an int property over .NET remoting in C#

I am having an issue with reading a property over a .NET remoting channel. Here is the beginning of my class: [Serializable] public class MachineID { private string mySystemDeviceSerial = null; /// /// Returns the hard drive…
codewario
  • 19,553
  • 20
  • 90
  • 159
0
votes
1 answer

Sponsorship of remotely instanced objects

I have a singleton service on remote server, this has a method who returns new objects to clients: public class MySingleton : MarshalByRefObject { public override object InitializeLifetimeService() { return null; } public…
Spartaco
  • 459
  • 5
  • 7
0
votes
1 answer

Exception while communicating with Remote Server?

I have established communication with a remote server..The remote server has exposed an event.When i try to subscribe for the event i get the exception with following stack trace [System.Reflection.TargetInvocationException] = {"Exception…
Techy
  • 315
  • 1
  • 5
  • 14
0
votes
1 answer

Writing Java server to support existing .NET clients that use remoting?

I am working on an existing system written using .NET 2.0 remoting to integrate a number of embedded clients to a central server. Due to a number of issues, it has become desirable to rewrite the server in Java. Updating the clients is not really…
Jules
  • 14,841
  • 9
  • 83
  • 130
0
votes
1 answer

Running nunit tests involving remote objects are throwing the error The operating system cannot run . (Exception from HRESULT: 0x800700B6)

I am running my tests in NUnit. But while debugging I checked that the tests are failing while any remote object is accessed. The error I am getting is The operating system cannot run . (Exception from HRESULT: 0x800700B6) What can be the possible…
Varun Mahajan
  • 7,037
  • 15
  • 43
  • 65
0
votes
1 answer

Server client Remoting

I am reading from server MessageTable msg = (MessageTable)Activator.GetObject(typeof(MessageTable), portFormat, WellKnownObjectMode.Singleton); if server is running then it return msg object with values and methods. it never returns null…
-1
votes
2 answers

is it posible invoke another client method remotely?

i would like to make an .net or even cross-platform(php, .net) app A and B that communicate each other. if A insert or update some data in database, then B is refresh its view to display new data. is there any solution about this? i read this…
1 2 3
18
19