| Tracking connections to a remote server (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| I have a single instance of an object, which is served to multiple clients using remoting, across a Tcp channel. Is there any way from the server, I can find out any details about the clients which are holding instances of the object? Perhaps a way of iterating through the active clients, or a hook which I can get into which can tell me when clients create and release references to the object? Tha... |
|
| Class Library exposed as well known type. (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| I've got a class library singleton which is exposed as a well known type through a service. I can then call methods on the server from a client. What I'd like to know is if there is a good way to implement resource locking on the server but have the locking be transparent to the client. For Example... I have the server which has methods A and B. There will be x clients connecting to the server. I ... |
|
| Remoting object - maintaining state. (5 replies) |
| microsoft.public.dotnet.framework.remoting |
| I need to create a remoted object where each client gets its own copy and the object maintains state between calls for this client. I have tried creating the remote object as a Singleton, but all clients get a reference to the same object which doesn't work. When I create the object as a SingleCall, the object does not maintain state between calls. Am I missing something here? Is it not possible t... |
|
| romoting in webservice (4 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hello, I would like to use romting in a webservice. I made a small application for testing the remoting part; it works fine. Afterwards I tried to set the same code in a webservice and it gives me an "Invalid SOAPAction specified" error. If I do the remoting in TCP there is no problem, but I would like to use it in HTTP/SOAP. Can anyone help me? Here is the complete given error: System.Runtime.Rem... |
|
| Setteing the TcpChannel name (5 replies) |
| microsoft.public.dotnet.framework.remoting |
| How do you set the TcpChannel's channel name, the doc's say to set the name to "" (String.Empty) if you want multiple changes but it's only a get property and will not allow you to set it. So, how do they propose you do this? Thanks, Tony |
|
| Call Context overhead (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| I'm planning to use Remoting to do same system inter process communications, so performance is a concern. I see that using Call Context allows me to pass context specific data between client/server. But what's the incremental overhead of context? Does the use of ContextBoundObject on the server side require more resources? (vs just MarshallByRefObject)? Or is there another way to pass context data... |
|
| Callback issue (12 replies) |
| microsoft.public.dotnet.framework.remoting |
| In a client/server scenario I need my clients to pass their "this" to the server so the server will be able to call them later to perform some tasks on its behalf. Both the client and the server derive from MarshalByRefObject class. My server class registers a TcpChannel on port 1234 and the client registers such a channel as well, but without a port. The client then uses Activator to create the s... |
|
| Urgent! Passing Objects TO the remote object (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| I'm writing this application in VB.NET, but I'll take a C# answer because I'm desperate at this point. First, the C# example that everyone refers to on this board was very helpful. But there was one major problem with it. None of the examples that I have seen (that one included) involved passing an object from the client to the server. I thought it would be easy to reverse the process but it isn't... |
|
| Problem using Client Activated Objects Remotely (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi, I have a very confusing problem. We are trying to use client activated objects in a simple remoting program. We have our object, inherited from MarshalByRefObject, which implements one simple function. This function takes a string as a parameter and returns a string. We are hosting this in a console application. The client is a simple windows form with a text label and a button. Clicking the b... |
|
| Remoting objects (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| I have included the server listener. The only way you can remote objects is with value types (it works with structures, but not objects). Maybe you could send me some code that works with objects, not the stuff that MS put in the documentation. Jeff |
|
| Help: Untyped Datasets and OleDbConnections (4 replies) |
| microsoft.public.dotnet.framework.remoting |
| Lots of questions: I am simply trying to display some infomation from a dataset. I have a C# Web Application. I created an OleDbDataAdapter using the tools menu and that created an OleDbConnection. I then clicked on the link in the properties to "Generate Dataset..." So I now should be able to simply display a last name from a resources table right? Wrong I get the following error display: Login f... |
|
| Mysterious 10-15s delay when first remote event is called (4 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi, I have created a simple remoting test where I want to test reception of events generated remotely. The test consists of these classes: 1. Server the server (singleton object) that is accessed remotely 2. Client the client side class that is used to connect to the server (the Client resides in the same assemly and namespace as Server) 3. ServerApp command line utility that registers Server for ... |
|
| Event remoting question (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| I have successfully gotten remote events to work using the shim method which was posted to this group. I have a couple of questions though. Why do I have to register the client on a specific port? Shouldn't the server have a list of client connections and be able to send the event back through the same connection the client initiated? When I remote asynchronous function calls I don't have to speci... |
|
| Exception: Object has been disconnected or does not exist at the server. (8 replies) |
| microsoft.public.dotnet.framework.remoting |
| I have a server (Server) that accepts connections from another server (Agent) to let the Server know that Agent can perform work for the Server. The Server holds a remoted object that the Agent provided to make calls on. When work is available the Server calls Agent's remote object to perform the task. Everything works fine at first when there are lots of tasks to be performed and the objects are ... |
|
| interprocess communication (6 replies) |
| microsoft.public.dotnet.framework.remoting |
| How can I communicate between different proccesses in .NET on the same machine? Do i need to use Remoting? Thank you |
|
| Activator.CreateInstance problems from only web page (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| I am have remoting component (configured for CAO) hosted in IIS. I also have 2 clients, one windows form client and another one is web page. Here is the client code for both clients: ObjectHandle h Activator.CreateInstance("ProcessLog", "Q.ProcessLog.Log", new object[] {new UrlAttribute(pathUrl)}); m serviceObject (ISomething) h.Unwrap(); The Q.ProcessLog.Log component interface implements ISometh... |
|
| How to serialize ContextBoundObject (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| I realize that serializing a ContextBoundObject isn't a normal thing to want to do, but hopefully someone on this newsgroup will be able to help anyway! MSDN magazine presents an article about Aspect Oriented programming with dotNet, which essentially involves a hack to allow interception of method calls on arbitrary objects: http://msdn.microsoft.com/msdnmag/issues/02/03/AOP/AOP.asp The trick tha... |
|
| Security through Remoting. (6 replies) |
| microsoft.public.dotnet.framework.remoting |
| It appears that I have a security problem, but cannot get it corrected. I have an unmanaged C DLL that I am accessing. this DLL reads the machines registry and then accesses our back end legacy system. If I create a Windows Forms application and reference the DLL, I can successfully invoke methods within the DLL. For Remoting, I have created an IIS Hosted ServiceClass that makes the interop call (... |
|
| How to remove (remote) event delegates of a remoting server? (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi, I have a remote object (singleton) hosted in a Windows Service. Clients connect to the object using remoting. Events can be delegated from the server to clients. How do I handle disconnected clients that are still event delegates of the server object, i.e., the server may still hold an event "pointer" to a client that has been disconnected? Should I detect when a client is disconnected and the... |
|
| An error in .NET Framework SDK example~! (7 replies) |
| microsoft.public.dotnet.framework.remoting |
| I've posted it to C# news group, but do not receive no reply. Programming with the .NET Framework Accessing Objects in Other Application Domains Using .NET Remoting Remoting Examples Remoting Example: Delegates and Events I've tried this example. There occures a exception. When I run the client program "ChatClient", it reports assembly "ChatClient" itself is not found. server console capture The h... |
|
| events and delegates and interfaces.. (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| ok i am on the same computer for my server and client.. i have in interface that the server implements.. the interface is called ILRGUALOGIN, while the server implementation class is LRGUA the server registers with TcpServerChannel channel new TcpServerChannel(9988); ChannelServices.RegisterChannel(channel); RemotingConfiguration.RegisterWellKnownServiceType( typeof(LRGUA), "KARLKARL", WellKnownOb... |
|
| Capturing a .Net remoting server event hangs when used with a windows form (7 replies) |
| microsoft.public.dotnet.framework.remoting |
| I hope somebody can point me in the right direction. Environment: Visual Studio.Net RTM, using VB.Net I have a .Net remoting server which at present is hosted in a console app. I have implemented a shim class that surfaces my server side event to the client. When I have a console client, everything works great and the client catches the event as expected. I then tried to use a windows form client ... |
|
| RemoteAsyncDelegate - What Good Is It? How Do You Use It? (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| I am trying to do an asynchronous remoting library (I need to be threadsafe). Unfortunately I can't use BeginInvoke that is associated with a main form. This leaves me with an example in the MSDN which discusses using RemoteAsyncDelegate. There is virtually no documentation on the API other than an example. The example is something like.... Delegate Function RemoteAsyncDelegate() As String .... ' ... |
|
| Help I cant' get my server to let me in (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| I have moved a component onto a server on my network(windows 2000 server) and when i attempt to return data from my component I keep getting this message "No connection could be made because the target machine actively refused it." I have admin rights on both machines. what am I missing? Please help!!!!!! so close yet so....................... |
|
| Crete objects like COM monikers in .NET remoting. (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| Here is the problem: I want to be able to create remote objects directly with a string like monikers in COM. I used monikers in a recent projet to create the correct object with a unique name based on parameters given in the moniker strings like: MonikerProgId:svrName(HelloWorld):mode(x):res(1234) These parameters mean nothing but the point is when I pass a string like this in the fonction CoGetOb... |
|