| Installing Service Fails (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| I have a service which I can successfully install locally (WinXP) however when I try and install on a remote server (Win2K) where I am a local administrator the install fails with: An exception occurred during the Install phase. System.ComponentModel.Win32Exception: The account name is invalid or does not exist, or the password is invalid for the account name specified any ideas? cheers Guy |
|
| MessageArrivedEvent - Sample Chapter of Advanced .NET Remoting in VB.NET (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| Can anybody tell me how and where this variable called "MessageArrivedEvent" in Chapter6 of the EnhancedEvents example of the book "Advanced .NET Remoting in VB.NET by Ingo R." is being declared? Oliver Degnan CODE: Class Broadcaster Inherits MarshalByRefObject Implements IBroadcaster Public Event MessageArrived As MessageArrivedHandler Implements IBroadcaster.MessageArrived Public Sub BroadcastMe... |
|
| remoting and Interfaces (4 replies) |
| microsoft.public.dotnet.framework.remoting |
| Is it possible to use interfaces and IIS hosted remoting? In the book "Advanced .net remoting in vb.net" it states: "Interfaces, abstract base classes and SoapSuds generated metatdata only assemblies. When using configuration files, you won't be able to employ abstract base classes or interfaces you simply have to resort to SoapSuds generated metadata." So can Interfaces be used with IIS? If so ar... |
|
| Registering channels programmatically (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hello, all! I saw a lot of examples on remoting with settings read from config files. I have problem with sponsor, for which, as I understand, another one registered channel is needed. Otherwise it is not called by server lease manager. Can anyone explain me how to make TCP channel for sponsor communication programmatically? Where can I read REAL details about remoting? How all the things are goin... |
|
| Marshal Object on same machine (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi, How can I marshal an object as SingleTon on a single machine ? i.e. Marshalling a singleTon object using Remoting makes only one instance of that object available for all REMOTING clients. I want to implement the same thing except that all clients needing a reference to the marshalled object exist on the same machine that Marshalled the object . In other words how can different processes (one ... |
|
| How to Send Message or Events from Server (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| Somebody know how can i send message (or events (as you wish)) from server to the client, without client request. I need (Server) to send every x seconds (maybe 10 seconds) different information to each client (maybe not to all) connected to my server I can't found how to do that, I need something like this ..net remoting Server For each client in client connected If Information(client) True Then ... |
|
| Stateful v. Stateless-What's everybody doing? (7 replies) |
| microsoft.public.dotnet.framework.remoting |
| Let's assume I have an application somewhat similar to the Duwamish example. I'm interested in providing a nice OO, stateful interface to the application's logic for my presentation tier developers. What's the best way to do that? Microsoft uses the Business Facade layer as a typical stateless, "function library" type of thing. They make these objects remotable so that you can split the applicatio... |
|
| Where does my code execute? (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi, I am having a problem determining where my code is actually being executed. When I execute on the client, the string returned is "LOCALSERVER" not "REMOTESERVER" as I would have expected. Is there something I am missing? Tony Here's my server (REMOTESERVER): namespace MyNamespace { public class MyService : MarshalByRefObject { public string ServerName() { return Environment.MachineName; } } } ... |
|
| Server side looking for client assembly on event subscribe (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| I have singleton object on the server side up and running. While i'm executing only raw method calls everyting works ok, but if client subscribes to the server events the server tries to load clients assembly and fails (clien is running on the remote machine). The problem solved if I copy the clients assebly to the servers directory. How I can avoid copying the clients assembly? Thanks in advance.... |
|
| exception during event handler registration (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| When my client registers the handler method like this: remoteObj.instanceOfDelegate new myRemoteObjectLibrary.EventDelegate (eventSink.eventHandler); I get an exception: An unhandled exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll Additional information: File or assembly name EventSinkLibrary, or one of its dependencies, was not found. Do you know what is wrong? THank ... |
|
| Remote Object disconnects (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| i want to use remote objects in my project. i learned how to do so following some examples from books. problem is all these examples use Console Application to demonstrate. in a Console Application you can write Console.ReadLine() to keep the server alive. but what is if you register your remote object on a server using something else than Console Application. For example: 1 CreateObject.cs for th... |
|
| IServerChannelSink and MS samples (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi, I have been going though few sample implementations available on MSDN for Channel Sink. One thing that I failed to understand was the importance of IServerChaneelSinkStack parameter in IServerChaneelSink::ProcessMessage. All the implementations simply call push before making a call to nextsink and pop after the call has been processed. Now, there is nothing like a stackparameter in IClientChan... |
|
| Serialization error on ds.fill (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| I have a server component which executes a DataSet.Fill to populate a Strongly Typed Dataset. I get the error: "Exception has been thrown by the target of an invocation." (generally for multiple rows) or "Member message was not found" (for single rows) In each case the stored proc that is used for the select retrieves the data correctly. Prior to using this technique the equivalent code using a Da... |
|
| LoadFrom( "\\share\folder" ) or LoadFrom( "file://share/folder" ) making me crazy (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| Everything I read leads me to conclude that the following should work: /****************/ url "file://gssupport2/Build and Deployment/Pluggins/SourceControl/SourceSafeManager.dll;"; System.Reflection.Assembly.LoadFrom( url, new Security.Policy.Evidence() ) /****************/ url "\\gssupport2\\Build and Deployment\\Pluggins\\SourceControl\\SourceSafeManager.dll;"; System.Reflection.Assembly.LoadFr... |
|
| IPAddress help (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi, I'm playing around with Remoting using TCP channels. This is actually more a networking question, but hey, I figured I'd ask it here. I use Dns.GetHostByName(Dns.GetHostName()).AddressList [0].ToString() to return my IPAddress. Now the thing is, it is my 'local' address, and not the address the internet sees me as. I know bugger all about network programming, so I was hoping someone can enligh... |
|
| Activator.GetObject (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi, public static object GetObject( Type type, string url ); This is the MSDN definition of Activator.GetObject, I am using the url string like this url "tcp://computername:1234/CFoo" and it works , I wonder can anyone tell me where to find the exact definition of the url string parameter ? I could not find it in MSDN, what other things can I do with url ? other that "htp://....etc. " and "tcp://.... |
|
| exception when calling event sink from remoteobj (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| My server channel is set up like this: HttpServerChannel channel new HttpServerChannel(6791); ChannelServices.RegisterChannel(channel); RemotingConfiguration.RegisterWellKnownServiceType( typeof (RemoteObjectLibrary.RemoteObject),"Hi",WellKnownObjectMod e.Singleton); My client channel is set up like this: ChannelServices.RegisterChannel( new HttpClientChannel () ); m remoteObject (RemoteObjectLibr... |
|
| an object per client (5 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi, I'm new in .NET Remoting and I just bought the book from Ingo Rammer (Advanced .NET Remoting). This book has helped me al lot. But now I have a little problem. I want that each client who connects to the server gets its own object assigned. I solved it by means of a factory which is te same for all client applications but the client asks the factory to create a new instance of a certain class.... |
|
| Configuring a .NET remoting service and a client (of another service) in the same configuration file (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi guys, I've developed a windows service that is simultaneously a host of a wellknown singleton service and a client of of another wellknown service hosted by another application. I'm trying to configure .NET remoting using the following configuration file: ?xml version "1.0" encoding "utf 8" ? configuration .... system.runtime.remoting application name "MessageParser" service wellknown mode "Sin... |
|
| .NET Remoting in a Web service (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hello, I have a big problem : I don't know how to send a message from a Web service to a Windows app. client (using .NET Remoting) Should I make a server side activated object ? (something like : RemoteObject obj new RemoteObject(); RemotingServices.Marshal(obj, "http://localhost/Hi"); ) If yes, how can I retrive that object ? (if I'm doing this : RemoteObject proxy (RemoteObject)Activator.GetObje... |
|
| Asynchronous remoting (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi, I have written a basic client program which acceses the methods in remote server asynchronously using delegates. My doubt is when i am incoking BeginInvoke method of delegate it should not wait for the return value from the remote server and should proceed processing with the other steps in the client which is not happening. In my case when the begininvoke is called it is waiting till callabck... |
|
| Exception "No Receiver Registered" (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi, I have seen alot of post talking about the Exception "No Receiver Registered", but i did not find out was is the cause of this. I have the same problem, when i try to access for the first time a method on a remote object. Where is the code: private const string URL "tcp://sw SystemX:2002/ChatServerURL"; private bool StartServer() { m TCPChannel new TcpChannel(2002); ChannelServices.RegisterCha... |
|
| Should this work? (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| I have an object (TransferService) running under a console application on my remote server, which implements the ITransferService interface. It is registered with TCP channel 3412 and runs in Single Call mode. My client makes the following call to receive a proxy to a remote object... dim objTemp as ITransferService CType(Activator.GetObject(GetType (ITransferService), "tcp://macdui:3412/PCSTransf... |
|
| Remoting Concurrency (4 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hello: I am having a problem with concurrency and remoting I can't seem to get any concurrency. I have a client activated, marshal by reference object. It has one method that runs for a long time. If 2 client applications use my remoting service at the same time, they do not execute concurrently. Instead, the second client is blocked until the first client's request is completed (even though they ... |
|
| Remoting a DataTable (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| I am trying to send a dataTable to a server via remoting. I a getting a Serialization Error when using remoting. What should I be looking for? |
|