microsoft.public.dotnet.framework.remoting Archive - January 2002
Post a message to this list
Messages
Page: 12
Start - and StopListening (3 replies)
microsoft.public.dotnet.framework.remoting
Hi folks! This little problem: When i start the serverchannel, it works. When i stop it then, it works too. But i try to start it again, it brings up this exception: An unhandled exception of type 'System.Threading.ThreadStateException' occurred in mscorlib.dll Additional information: Thread is running or terminated. Cannot restart. in the line of gbsserver.StartListening(null); Can anybody explai...
Custom Channel (2 replies)
microsoft.public.dotnet.framework.remoting
Is it possible to define a custom channel, implement one side with .net and the other using some other operating system/programming language? Would the resulting implementation simply be a different binding in WSDL? For example, rather than HTTP, I would like to use a different protocol I have written, define a channel to be distributed with WSDL to clients, and implement the web service using on ...
Interesting Remoting Question (2 replies)
microsoft.public.dotnet.framework.remoting
Hi: I have been playing around with Remoting for a little while and I have been able to use Server Created Objects, Client Acitvated Objects, send messages in different serialization formats etc. Here is my problem. The development environment, QA and Production environments will have 3 servers. Server 1: Web Server Server 2: Business Object Server Server 3: Database Server The Web Server pages wi...
Need a different copy of SoapSuds.exe (8 replies)
microsoft.public.dotnet.framework.remoting
hello, and Happy New Year to all. i keep getting this error. Ingo if your listening, just got back from some holidays.. :~)) this is a really simple dll i created. nothing fancy and i still get the error that i've attached in a doc. version7.0.9372 PDC(RC1) release is what i've got for VS.NET. tested doing the same on a couple of machines all running the same version and the same error occurs. so ...
Channel binding to wsdl (5 replies)
microsoft.public.dotnet.framework.remoting
Can a custom channel be referened in the WSDL so that when the WSDL is compiled the correct channel is used by the proxy?
why two proxies ? (3 replies)
microsoft.public.dotnet.framework.remoting
Hello all, Why does the .Net remoting framework use two proxies (transparent and real) to connect to a remote object? The same thing can be achived in one proxy as well. regards, Abhishek.
How to detect a disconnect of a remote object without polling? (3 replies)
microsoft.public.dotnet.framework.remoting
Hi, Is it possible to detect when the lifetimeservices set the state of a remote object to expired? I don't want to use a thread to check the LeaseState of an object all the time..... Thanx Peter
multiple tcp channels...or multiple clients using the same tcp channel (3 replies)
microsoft.public.dotnet.framework.remoting
I have a .NET dll (the client) that is calling a procedure on a remoted .dll (IIS hosted) on another machine. The program works great so long as I only create 1 instance of this "client" dlls. When I create multiple instances, I get a problem telling me that the "tcp channel is already registered." Here is what the code in the client dll looks like: TcpChannel oChannel new TcpChannel(0); //I thoug...
Remoting communication with object inside a network (2 replies)
microsoft.public.dotnet.framework.remoting
Hi, I have a question about remoting. I build a simple prototype to validate the utilization of remoting. I built a server and a client application. On the server we have an active object that is registered for marshaling with the 'Marshal' command. The client connects to it with the standard way (GetObject). Once the client obtains the reference it calls a function on the remote object (SetConnec...
Remoting Security? (2 replies)
microsoft.public.dotnet.framework.remoting
I was just wondering, how is it possible to make a "secure" remoting application? I have been playing around with C# for a few days now, and had a simple app running. However, I had a question how would one handle security so not just anyone could connect to the server? ie: I have a client app that connects to the server, the program is used to as a front end to a database. You want to have two ty...
Activator.GetObject (3 replies)
microsoft.public.dotnet.framework.remoting
Hi, When I called Activator.GetObject function in the client of remoting, what should be the return value if the server is not started up yet? I expect that it will return null, however, it's not. So I wonder how I can check if the server is started up or not? I can only know that if there's an exception when I try to access the remote object? Also, how the client can be notified once the server i...
passing/returning byref object to singleton (3 replies)
microsoft.public.dotnet.framework.remoting
Hi I have a simple Windows service that registers a WKO object as a singleton (this singleton provides connection pooling facilities for a legacy database). FYI: with my ASP.Net pages as my client app, I want to either get my connection pooler object to execute a request, or have my connection pooler pass back the next available custom connection object, so that the work can be executed back on th...
405 Error (3 replies)
microsoft.public.dotnet.framework.remoting
My remoting service (using IIS) gives the following error message when my client attempts to access a service method: An unhandled exception of type 'System.Net.WebException' occurred in mscorlib.dll Additional information: The remote server returned an error: (405) Method Not Allowed. Anyone have any ideas? Thanks in advance, Craig Sturgeon
SoapMethodAttribute (7 replies)
microsoft.public.dotnet.framework.remoting
Hi All, I have the following line in my proxy code: [System.Web.Services.Protocols.SoapMethodAttribute("http://localhost/Add", MessageStyle System.Web.Services.Protocols.SoapMessgeStyle.ParametersInDocument)] Every time I try to run my program, I get the following error: The type or namespace name 'SoapMethodAttribute' does not exist in the class or namespace 'System.Web.Services.Protocols' (are y...
clientConnectionLimit (2 replies)
microsoft.public.dotnet.framework.remoting
I'm having some problems with limiting the clent connection limit. My code is listed below. My client program simply opens up one conneciton to the server and executes a method which sleeps for 5 seconds then returns. I should have a client limit of one, meaning if I open up two client programs and execute the methods one after another, it should take about ten seconds for them to complete... righ...
Activator.GetObject vs. RemotingSevices.Connect (4 replies)
microsoft.public.dotnet.framework.remoting
Is there any functional difference between Activator.GetObject and RemotingServices.Connect? If so, what and when should you use one over the other? I have some code that works with either call (or so I think) and was wondering if one had an advantage over the other. Dave
Caching (4 replies)
microsoft.public.dotnet.framework.remoting
Hi. I use TcpChannel for remotiong. Its performance is low. I hear that "caching" can improve it. How I switch caching on? How I use it? Thanks.
Shared Property Manager in .NET forgetting values (23 replies)
microsoft.public.dotnet.framework.remoting
I am using the SPM in a database object to store the connection string for quick access. If it is not available in the SPM (i.e. on the first call) it gets from a slow persistent data source, for instance the registry, filesystem, etc. In the example below, I just used a hard coded value for simplicity. The problem I am having is that the SPM is forgetting my value. It works from between 3 and 7 t...
WIN32 File Upload (4 replies)
microsoft.public.dotnet.framework.remoting
I've been trying to figure out how to get a file path from the user with a client app, then send that file to a secure folder on the server. The client is a Win32 app written in VB.NET. The files can be of any type (text, image, movie, etc.). I cannot simply copy the file from Path A to Path B because Path B in inaccessible to the user. Here's my concept: Somehow I need to get the entire file seri...
Switch on .NET remoting caching? (4 replies)
microsoft.public.dotnet.framework.remoting
Hi. Is anybody knows how to switch on .NET remoting caching? I guess by default it's off.
Generic Identity Accross App Domains? (2 replies)
microsoft.public.dotnet.framework.remoting
Should I expect a GenericIdentity object that has been attached to a client thread to be propagated to threads executing methods invoked by the same client on remote objects in other application domains? The following excerpt taken from the .NET Framework SDK documentation suggests that this should be the case, however it does not appear to be so in practice. Can anybody shed some light on this? P...
Window service application (2 replies)
microsoft.public.dotnet.framework.remoting
I'm just trying a simple win service application to see how it works, and stumble already. I need your help. I created a win service application using C#. Code was auto generated. Then, right click on Service1.cs design to add Installer. Code again was auto generated. Then, I built the project successfully. I went to DOS to run installutil MyServiceProj.exe to install this service. It didn't insta...
Caller Principal Question (2 replies)
microsoft.public.dotnet.framework.remoting
Ok, I have a problem that I am pretty sure has a quick, easy answer, but for the life of me I can't figure it out. Here is the problem I have an ASP.NET Web Front End calling into managed, remoted, objects. The objects are hosted by a custom service. The TCP channel and binary formater are used to communicate with the service. This service then instantiates legacy VB6/COM objects on another machin...
The server won't stop help (4 replies)
microsoft.public.dotnet.framework.remoting
Hello All, I wrote a simple remoted components which starts a thread. this thread sleeps for 1000 ms. wakes up gets DateTime.Now and sends it to a event if its not null. On the client side I have subscribed to the event. Everything works well and the event is dispatched properly. also when I press enter on the client side, the client program unsubscribes to the event and terminates. To terminate t...
Serialization and Remoting. (3 replies)
microsoft.public.dotnet.framework.remoting
Hello Most examples I have seen Seralize to a file and Desrialize it from the file. If we are using remoting and the client and the server and are different computers how do we use serialization. TIA Yaz
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