microsoft.public.dotnet.framework.remoting Archive - March 2004
Post a message to this list
Messages
Page: 12345
Client Activated .Net Remoting (5 replies)
microsoft.public.dotnet.framework.remoting
Hi, I'm aware that there are two methods to create a remote object, either server activated or client activated. I managed to get the server activated method to work but couldn't figure out how to code the client activated method. Can anyone post the client and server code (C# or VB) for the client activated method? Thanks, chew
Passing SqlTransaction by ref to remoting server (3 replies)
microsoft.public.dotnet.framework.remoting
I have a remoted object which supports the following interface: PostReport(Report rp, SqlTransaction xa) My client gets a connection to our database, gets a transaction and performs several operations. It then makes the call to our remoting server on another machine and passes is the Report rp, which is serializable, and the transaction it used to perform it's operations. On the remoting server si...
Using EnterpriseServices with Remoting (2 replies)
microsoft.public.dotnet.framework.remoting
Hi! I want to use a serviced Component using JITA and Object Pooling as a server activated remoting component, as ServicedComponent inherits MarshalByRefObject. As the Component uses JITA and Object Pooling, it's stateless. I'm wondering, wheter I should export it as a "Single Call" or a "Singleton" Object. If I use it as a Singleton, what will happen, if a client calls a method on this object ? I...
How to control a timeout and Remoting stops working (3 replies)
microsoft.public.dotnet.framework.remoting
Hi, I am using a remoting server using tcp on x port. Something wrong happened because server stops responding to any call being made by the ASP.NET client. Also, this problem also cause the page wait infinitely and never send a response to the browser. All I have to do to resolve this is to stop the service, and restart it after about 5 minutes delay, giving the server the time to restore the use...
Problem in updating a listbox in the client (4 replies)
microsoft.public.dotnet.framework.remoting
Hi everyone. I am a newbie at remoting and I am having some problems in an application I have. The problem is as follows: I saw an example of a chat application that used timers on the client to update a listbox in the client, but I was trying to make the client update this listbox when the server gets new information, using an event. When one client sends a message the server object raises an eve...
Best method for callback into client from a server object (4 replies)
microsoft.public.dotnet.framework.remoting
I have a server object that updates SQL SERVER 2000 database from a DataTable (passed from the client). I want the client to call the server object method asynchronously, and then received progress update on the database update process. The question is: What is best way to send update notification back to the client from the server object?
Adding web reference from ATL to a remote object (3 replies)
microsoft.public.dotnet.framework.remoting
Hi, My remote object is HTTP/SOAP, that listens on port 8085. Whenever I try to add a web reference from ATL client to this object I get the following error. Anyone knows why? error SDL1009 : could not resolve element, with [ namespace "http://www.w3.org/2001/XMLSchema" name "anyType" ] Thanks Dinesh
Passing and caching references (3 replies)
microsoft.public.dotnet.framework.remoting
Hi all, I'm attempting to create a user control on a form and then pass a reference to that user control to a remote server that will handle its operation. I am successfully passing a reference to a previously created object, and receiving it on the server side. That is... the server is registered as a well known singleton object that has a method that allows me to pass the user control to it. It ...
ASP.NET Remoting (2 replies)
microsoft.public.dotnet.framework.remoting
Hello, I am new to this (especially the terminology) so please be patient. I have an asp.net application that when a client 'loads' a page, it gets an object from the server via remoting. In the constructor of the object I start a thread that does some work in preparation for the users response on the loaded page. This seems to work just great. The problems occurs when the user clicks clicks a but...
Problem with recreating a remote object after exception (4 replies)
microsoft.public.dotnet.framework.remoting
Hi all, I'm trying to recreate a remote object. When a remote server is down its of course impossible (some exceptions). But when a remote server will be accessible nothing changes. It's still imposible to create that object in remote process(I have a loop which is trying to create the remote object in additional thread). The clients side of remoting remembers that the remote server is inaccessibl...
basics SingleCall vs Singleton (3 replies)
microsoft.public.dotnet.framework.remoting
If I'm running a remoting object under IIS can I use SingleCall or Singleton? For performance reasons is it possible to run it as a Singleton but treat it as SingleCall? Thanks!
Error in client with remoting (6 replies)
microsoft.public.dotnet.framework.remoting
Hi all I have created a server and client app using remoting. When an event is fired in the server the client needs to pick it up. When trying to create the event handler in the client, I get the following error: Cannot find the assembly Blah, Version 1.0.1521.20819, Culture neutral, PublicKeyToken null. This is the code I am using to create the client object and its event handler: try { Spectator...
Serialization (2 replies)
microsoft.public.dotnet.framework.remoting
What is the best way of doing serialization, XmlSerialization , BinaryFormatter OR SoapFormatter in terms of 1. Works in both persisting an object and remoting an object 2. Able to control public and private properties and attributes 3. Performance 4. Serializing Struct 5. Handling Versions of an object
Dynamically Loading Assembly on Remote Server (3 replies)
microsoft.public.dotnet.framework.remoting
I know Type.GetType says it can load any physical assembly on the system it is called from. What I am trying to accomplish is having peices of a puzzle fit together dynamically. We have an interface IScriptletAction that is implemented to do maybe, 20 or 30 different things. Thus we have 20 or 30 different objects that do the specific action. In the database we assign a friendly user name to each ...
Remoted object within another remoted object (5 replies)
microsoft.public.dotnet.framework.remoting
Hello, I am getting an internal error whenever I try to host a remoted object that instantiates a remoted object on another server. In essence, the function being called on one remoted object delegates to another remoted object on another server alltogether. Is there anything wrong with what I am doing, or maybe the infrastructure of remoting within .NET doesnt support this? The functions of these...
Configuration File Resources (3 replies)
microsoft.public.dotnet.framework.remoting
Hello, Do any of you know of any online config file resources? I'm just learning the material and am having trouble with it. Currently, I have a third party provider that I want to use. In my configuration file, I have the following lines in the channel section. configuration system.runtime.remoting application lifetime leaseTime "1H" sponsorshipTimeout "1H" renewOnCallTime "1H" leaseManagerPollTi...
Send command to remoting server (5 replies)
microsoft.public.dotnet.framework.remoting
Is there any way for the remoting client to send a command to the remoting server? Or to call a method on the server? What I'm trying to do is have the client prompt the server to reread its configuration file (for example, to switch to a new port number), or to shut down. So I need to communicate with the server itself, not the remote object. Is there any way to do something like this?
worker service and multiple child applications (2 replies)
microsoft.public.dotnet.framework.remoting
Hello, I'm looking for design guidelines for a scenario: remote service (or some analog) is performing calls to third party web services. Purpose is to receive specific data, which is required to multiple child application instances. I can't rely neigther on stable responce time nor responce in general. child applications cannot wait for results they must be able to continue work and even request ...
how to know information of a remote object, that ist reqistered. (6 replies)
microsoft.public.dotnet.framework.remoting
I used configuration file to register a remote object. string configFile AppDomain.CurrentDomain.SetupInformation.ConfigurationFile; RemotingConfiguration.Configure(configFile); Now I want to know information associated with this remote object, i.e: channel, port, etc. How can I have this information? Thanks in advance.
Channel question (2 replies)
microsoft.public.dotnet.framework.remoting
A simple question. According to the literature, Interop uses a high speed shared memory channel to transport marshalled parameters between managed and unmanaged code. I was wondering if this "shared memory channel" was available to the rest of us, either for in process remoting calls, or maybe even between processes on the same machine? I guess it should be faster than TCP or HTTP. Tim
Remoting in the Add-Ins (7 replies)
microsoft.public.dotnet.framework.remoting
Can I use my Remote Obejct in the Visual Studio.NET Add In?
remoting and webservice (2 replies)
microsoft.public.dotnet.framework.remoting
Has anyone seen examples or running an IIS remoting object and a Web service from the same application directory? I'm looking at each using the same shared assembly but I don't want the shared assembly in the GAC and I don't want to duplicate it in different bin directories. Any help appreciated.
SendKeys - PostMessage problem (3 replies, VIP)
microsoft.public.dotnet.framework.remoting
Hi all. Probably a quick one, I'm using PostMessage to send keys to an applicatoin but how do I convert the key string to a long values so that I can pass this to the wParam. The definition is below Private Declare Auto Function PostMessage Lib "user32" ( ByVal hWnd As IntPtr, ByVal Msg As Integer, ByVal wParam As Long, ByVal lParam As Long) As Boolean This works PostMessage(myWindow, WM KEYDOWN, ...
Only one Client Channel Bind (13 replies)
microsoft.public.dotnet.framework.remoting
Is there any way to get an exclusive lock on a channel so that only one client can bind to in remoting?.
Array (5 replies)
microsoft.public.dotnet.framework.remoting
Hi all, I have a function that gets exposed via Remoting. This function accepts a string and an array as parameters. When I call the function via the client I am sure that there is a string and an array passed to the function on the server. But when I debug the function on the server, the array appeares to be Nothing while the string value is filled in. Is an array not serializable? Regards, ND
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com