microsoft.public.dotnet.framework.remoting Archive - January 2003
Post a message to this list
Messages
Page: 12
What is the opposite of "Well known" (5 replies)
microsoft.public.dotnet.framework.remoting
I am going to be have a variable number .NET applications each sharing multiple objects via remoting one one machine. All of the examples I've seen so far provide their services on a "well known" port which the clients use. However with my situation where we will have a variable number of apps all needing to share data, its impossible to assign a port number to them. I could use Random ports and p...
DCOM (2 replies)
microsoft.public.dotnet.framework.remoting
Hi, I have created two COM applications using C#. The scenario is some thing like the one below App1 com1 and com2 App2 com3 and com4 App1 on m/c M1 App2 on m/c M2 DB on m/c M3 i just need to know whether the following situation is possible. If possible how A transaction originating with com1 calls a function in com3 such that it lies in the same transaction boundary.
Remoting serviced component hosted in IIS (4 replies)
microsoft.public.dotnet.framework.remoting
I currently have a IIS hosted service component that is configured as library activated application. My client application is able to call this component remotely. However when I switch this component to be server activated application within COM MMC, I get an error. Can anyone tell me why COM cannot create a component that runs in its own memory process when configured as a server activated appli...
remoting serviced component (2 replies)
microsoft.public.dotnet.framework.remoting
I know that you can use COM as a remoting host for .NET since any serviced component inherits from MarshalByRefObject. Is this only available in XP? Can you do this in Windows 2000? If so how do you configure the channels and formatters in a config file for COM so that client applications can remote to it?
Serialization Question (4 replies)
microsoft.public.dotnet.framework.remoting
Hi all, Have a question about remoting and serialization of objects. Lets say I have a serializable class and it has two member variables pointing to the SAME object (say they both point to the same data table). When the class is passed by value and deserialized, will TWO datatables be created on the other side or is it smart enough to create only one datatable and have both member variables refer...
No receiver registered - Searched Group Already (3 replies)
microsoft.public.dotnet.framework.remoting
Unlike other postings instead of a SAO I have a CAO. I used soapsuds to generate a dll from the server exe for me: soapsuds ia:TestServer oa:TestServer.dll nowp I referenced this from my client project, which has the following configuration: configuration system.runtime.remoting application channels channel ref "tcp" port "0" / /channels client url "tcp://localhost:18590/TestServer" activated type...
System.Runtime.Remoting.RemotingException: No receiver registered (4 replies)
microsoft.public.dotnet.framework.remoting
I have a Remoting running in a windows service and i access it from Asp.net applicaiton. some times it starts give System.Runtime.Remoting.RemotingException: No receiver registered exception. Any idea what is the reason for this kind of exception, i just dont have any idea why its happening. Thanks, Sajjad
Interface-based remote object with config file (2 replies)
microsoft.public.dotnet.framework.remoting
Hi, I've got a single call server that I'm accessing using an Interface and config file (config file included at the end of this email) from a client. Hardcoding the call to the server works, calling it using info from the config file fails. Details as follows: Currently the following client code works perfectly: Dim objAccount As IAccount RemotingConfiguration.Configure("Client.exe.config") mobjA...
Internet Connection Speed (2 replies)
microsoft.public.dotnet.framework.remoting
Hi, Can we calculate the Internet Connection Speed programatically using VB or C#? Ani
REmoting from IIS to Windows Form Client (2 replies)
microsoft.public.dotnet.framework.remoting
Hello If I remote an object Hosted on IIS to a rich client like Windows form, do I need to setup a special type of user so that I could access the object Hosted on IIS? TIA Yaz
Where to find simple example of MarshalByValue (2 replies)
microsoft.public.dotnet.framework.remoting
Hi all, I'm looking for something easy, an simple example of MBV. I've been using MarshalByRefObject but I want to try an alternate partitioning of my app. I've purchased Ingo's Advanced .NET Remoting book but I haven't received it yet. I'm sure that will have my answer. In the meantime, if you can help that would be greatly appreciated. Thanks, Santiago
aspx page communicating with windows service (2 replies)
microsoft.public.dotnet.framework.remoting
Hello, I have a windows service application, and I would like to be able to communicate with this app via a aspx page. Basically, I want to send a command (or call a method) that will let the service know it is time to do something. Currently I am adding a row to a Job table in a database, and having the windows service periodically look into that table to see if there is anything to do. I have he...
Serialization exception.. (2 replies)
microsoft.public.dotnet.framework.remoting
I am working on a project using .NET remoting. I can get the server object back at client... i can call function also.. But i am having trouble with a function returning an Image Class object.. I can receive it on client in an Image class object but i get following exceptions : An unhandled exception of type 'System.Runtime.Remoting.RemotingException' occurred in system.windows.forms.dll Additiona...
Remoting Exception: "No Receiver registered" (2 replies)
microsoft.public.dotnet.framework.remoting
Hi, After about 6 mins of inactivity i get "No Receiver Registered" exception when accessing a remote object. This is the scenario. You can also try this. 1. I register a TcpChannel @ 8086 in the server application. 2. I register a wellknownservicetype with mode as singleton. 3. From the client, i get the remote reference by calling Activator.getobject. 4. I'm able to call a method on the remote o...
Overhead of MarshalByRefObject? (2 replies)
microsoft.public.dotnet.framework.remoting
I'm wondering what the overhead of a MarshalByRefObject is. I'm guessing, based on observed functionality, that a MBR object wouldn't require much more than an entry in a lookup table that the remoting configuration could access. Is this true? I'm asking because I'm faced with the following problem: I have a large number of objects that need to be available remotely. Two possibilities are: (1) Reg...
How to find Code Execution time in C# (without API functions)? (3 replies)
microsoft.public.dotnet.framework.remoting
I want to calculate accurate time taken for a block of code execution in a C# application. We can very well use API functions (QueryPerformanceCounter & QueryPerformanceFrequency) to get the correct time. Is there any other way available in C# (Using managed code)? Can anyone help me in this? Thanks in advance Shanthi
Exceptions and BinaryFormatter (2 replies)
microsoft.public.dotnet.framework.remoting
Based on Ingo article, http://www.ingorammer.com/RemotingFAQ/BINARYVERSIONMISMATCH.html Is there a way to use the BinaryFormatter and HTTP and still receive meaningful error messages??? Getting this error for every exception sux cuase client apps cannot react accordingly!!! Kevin
Activator.GetObject takes 100 seconds to return (2 replies)
microsoft.public.dotnet.framework.remoting
Goal I want to use a web deployed .NET app that remotes back to a service and I don't want it to take 100 seconds to start up for clients using Windows XP (see below)! (I would like to deploy via a web page to avoid app distribution problems, updates, etc. etc.) Alternate Subject Lines Activator.GetObject takes 100 seconds to return, when running from the "temporary Internet Files" folder, only on...
Single Event - Multiple Clients? (9 replies)
microsoft.public.dotnet.framework.remoting
Greetings: I have a singleton remotable object called by two different instances of the same client (think "chat program" like in the Framework sample). A sample event fires when a method is invoked by a client on the remote object and the client processes the event just fine. The issue is that when both clients are running at the same time, only the client that invoked the method call gets the ev...
Remoting Exception Problem (3 replies)
microsoft.public.dotnet.framework.remoting
System.Runtime.Remoting.RemotingException: No receiver registered Does anybody know this kind of error? What's the real problem? Sometimes we have to use iisreset to make our application work again, sometimes it works again after a few hours without any manual steps . Very strange. This problem only occurs in the production enviromnment.
C#: Is there a better way to do this threaded remoting calls? (2 replies)
microsoft.public.dotnet.framework.remoting
I noticed that remoting calls are sync instead of async, so I decided to make a thread for every call on the client to the server. I am wondering if there is a better design way to do this then: Currently the server has only two methods, IConnected to inform the server the client connected and processcommand which sends a command that the client entered. It works but I am looking for more generic ...
"SerializationException... 0 possible causes..." (2 replies)
microsoft.public.dotnet.framework.remoting
Hello, I received the following exception message: "An unhandled exception of type 'System.Runtime.Serialization.SerializationException' occurred in mscorlib.dll Additional information: Binary stream does not contain a valid BinaryHeader, 0 possible causes, invalid stream or object version change between serialization and deserialization." Does anyone have any idea as to how I can determine or spe...
Remoting Exception : Cannot Load Type (5 replies)
microsoft.public.dotnet.framework.remoting
The part of code below works fine when used in Console based application , while gives the following error when i use it in Windows Form based Application.Why is it so... plz help me ??? Exception occurs when i call any function of the proxy object..!! ERROR Remoting.Exception Cannot Load Type xyz.yaz SERVER CODE TcpServerChannel channel new TcpServerChannel(8086); ChannelServices.RegisterChannel(...
Problem with Multiserver Configuration -Ingo's Advanced .NET Remoting Chapter 03- (5 replies)
microsoft.public.dotnet.framework.remoting
Hello!! I've been trying the Advanced .NET Remoting book by Ingo Rammer. I think it's a great book. Very straightforward!! Nonetheless, I've got a problem with the Multiserver Configuration section. I developed my own example and just when calling a method of a object published in one server with an object from another server or the same as its parameter I get this exception: "Because of security ...
BinaryFormatter Version Incompatible (6 replies)
microsoft.public.dotnet.framework.remoting
Hello I am using remoting and some of my DLL are Hosted on IIS and I am getting the following error: BinaryFormatter Version Incompatible Expected Version 1.0, Received Version 108211.11. Any idea 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