| CORBA Channel (5 replies) |
| microsoft.public.dotnet.framework.remoting |
| Borland released 'Janeva', supposed to be a bridge between CORBA and the ..Net framework. Would it be possible to write a remoting (client) channel for this purpose ? grtz Kris |
|
| Exceptions not being passed to the client (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| In my remoting object, I do the following to pass the exception back up to the client: Catch ex As Exception Throw ex An exception is thrown back to the client indeed, but the exception message is not being passed. For example, in the remoting object, if I put a breakpoint on the Throw ex, I see a message of 'record exists'. On the client, I just see errors such as 'the server has thrown an except... |
|
| Remoting exceptions (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| My server objects are throwing exception objects back to the client. The trouble is that the exceptions come back as: System.Runtime.RemotingException Server encountered an internal error. For more information turn on custom errors in the servers config file. In the config file for the service's .exe I have turned CustomErrors on but still get the problem. help! |
|
| "Class is not marked as serializable" error on remoting (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| I am having a class which inherits Typed Dataset, if we pass this class (already it is serializable because dataset has) as a parameter in my remote object as ByRef. I am getting this error "....Class is not marked as serializable", the exact text is as follows. "The Type TRM.Common.DataSets.GenericDeal in Assem bly TRMDatasets, version 1.0.1264.26349, Culture neutral, PublicKeyToken null is not m... |
|
| Handling timeout and connection errors (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hello, I have few questions regarding using remoting, which is in its essence is simple, but devil is in details. This is somewhat similar sessions in ASP.NET. You have a client, which had been authentifed before. As result of authentification, the server returned sort of session id. (Question: If it is handled on the channel sink level, how to communicate with the sink to retrieve that id?) In su... |
|
| Remoting Class Structure (5 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hello everyone, just looking for answers from someone who may have faced this same problem. I apologize if my terminology is a little off, please bear with me. OK, we're writing a .Net app that uses SQL Server 2000 for the backend and uses HTTP Binary remoting. We looked at TCP/IP remoting and it's faster, but we liked the fact we could host it with IIS, so we're not going the TCP route for now. W... |
|
| Does anyone have callback events working in 1.1 (4 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi All, i am new to remoting and am having great difficulty getting any examples of call back events working with the 1.1 framework. I have implemented the different config files as per microsoft but still am getting errors. Does anyone have a sample in 1.1 that works? If so can you share it with me or a link to the example thanks Mike Needham |
|
| Unregistering Wellknown Client Types (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi: I have a Windows Service that is written in C#. It reads remoting configuration from its config file. This service hosts clients for wellknown objects that are hosted on another server. Whenever the remoting configuration changes I have to restart the service. I am trying to enhance this service to read the new configuration just like ASP.NET does. When the service receives a message from a Qu... |
|
| How to handle crashed client with remoting delegates (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| Clearly you want your clients to unregister their event handlers when they exit, but what happens when a listening client crashes or otherwise terminates without unregistering their handler? I've discovered that when I terminate an remoting event listening client (for example, when I'm debugging), none of my other event listeners can receive events from the same notifier on my server anymore. I wo... |
|
| How do I find the IP address of the Client App connecting to a dot NET remoting service (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi With Web Services under ASP.NET you could find the IP address of the client app connecting to you app. We used this as part of our audit/error log trail. Since we moved to dot NET Remoting for preformance reasons I have not been able to find this info. Could someone point me in the right direction please. Anton |
|
| Security Exception (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi, i have a Remoting Console Server which Offers Some SingleCall Objects to Clients. On a Client i only have an Shared Assembly with some interfaces and Common Type which are all [Serializable]. The Client create Remote Object in Code with the Activator Object and only uses the Interfaces. Now I have a Common Type called Credentials which holds some user Information. If a Client tries to get a Cr... |
|
| An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi all, I'm getting an exception "An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full" when constructing an HttpChannel. This occurs on the listening app and no clients have yet to connect. The machine has plenty of free memory. I don't get this error on other machines with less. Channel new HttpChannel(8086); Do you think t... |
|
| Unregister? (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| This is probably an FAQ but I was not able to find it. If I do a RemotingConfiguration.RegisterWellKnownServiceType how do I do the reverse, unregister and stop listening at the specified port? Thank you. Kevin Burton rkevinburton@charter.net |
|
| Problem with MarshalByRefObject parameters (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hello everybody. For test purposes I created a very simple application which uses remoting infrastructure. This is CAO model and a server class is hosted in IIS. All my code is here: IIS globals.asax protected void Application Start(Object sender, EventArgs e) { ActivatedServiceTypeEntry serviceInfo new ActivatedServiceTypeEntry ( "RemoteTest.ServiceClass" , "Remoting" ) ; RemotingConfiguration.Re... |
|
| Remoting Events -> Weird exception -> System.IO.FileNotFoundException: File or assembly name Client, or one of its dependencies, was not found. (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi, This is a rather long message, but I have no idea what to do I'm not sure if I'm even taking the correct approuch, I started from an example on the web which didn't seem to work. Anyway what I'm trying to do is this: I have a class which has a method SendText() and an event TextReceived() The idea is to remote this object and let clients call ..SendText("hello world") on which the server raise... |
|
| Can some one explain me "Automatic Deserialization in .NET Remoting". (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi, In .NET framework 1.1, remoting infrastructurs provide two levels to control deserialization of objects passed through remoting channel. The documentation gives list of deserialization levels supported; for "low" level, few types listed are: 1. Primitive types, and reference and value types that are composed of primitive types. 2. Reference and value types that are marked with the Serializable... |
|
| Ingo example note working (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| ok, I've got Ingo's book and I'm trying to implement the example of the client activated object with framework 1.1. I went to his website and found some information on setting the typefilterlevel. After applying this though the example STILL doesn't work. What am I doing wrong here??? I really need to know how to do this all with soap. Here is the code.including the modifications ingo suggested on... |
|
| Does NTLM support PreAuthentication? (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| SCENARIO: I have an ASP.NET application (configured to use Windows Integrated Security only) that makes a call (using DefaultCredentials and with PreAuthenticate true) to a Web Service (configured to use Windows Integrated Security only). This works fine, with one exception. The call to the Web Service initially attempts to authenticate as anonymous (costing roughly one second and producing 401 HT... |
|
| remoting delegate call across internet failing. (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| Background: My application consists of a Server and a Client running on .Net 1.1 . The Clients register a delegate with the server. periodically the server invokes the delegate to send some data to the registered clients. Clients also ping the server every few seconds. Problem: This setup works when running on local machine. In scenario where client is running on a machine outside the server netwo... |
|
| Using RemotingConfiguration.Configure without auto-starting service? (4 replies) |
| microsoft.public.dotnet.framework.remoting |
| I'd like to use RemotingConfiguration.Configure to configure my server, but I don't want the server to automatically start listening. I fished around in the docs but didn't see anything that would let me do this. I realize I could do everything programmatically, but that's an inferior solution. Also, I could load it with a call to Configure, then call StopListening, but that's not quite good enoug... |
|
| Problem with an "System.Data.SqlClient.SqlException" (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| I've got a problem and I hope if anyone could advice or help me on this issue?... Thanks Nuno Event Type: Error Event Source: Utilities Event Category: None Event ID: 0 Date: 18 06 2003 Time: 10:13:33 User: N/A Computer: DGRNFMKQITIJ01 Description: DBHelper.ExecuteDBNonQuery(), Erro: System.Data.SqlClient.SqlException: Invalid column name 'codAreaFunc'. Invalid column name 'codPedido'. Invalid col... |
|
| Two http Channels (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi, I m writing a distributed application, where the client could by a server and the server could be the client. So both appliactions have distributed methods. Now I tried to open two http channels on each computer and got an exception in the second line: HttpChannel channel new HttpChannel(); ChannelServices.RegisterChannel(channel); a http channel already exists What s the problem by doing it t... |
|
| Going Nuts ! System.InvalidCastException with remoting on soapsuds (4 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi all, I had my remoting application up and running but then the generated proxy refused functioning. Why oh why !! What is going on ? I have found some informatio on the net and in "Advanced Remoting" bij Igno and " Distributed .NET programming" by Barnaby but none will solve my problem. The application is hosted inside IIS5.1 and 6 and there is an WinForm application accessing them. There is on... |
|
| server object updating UI (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hello, I have a windows form application, in the OnLoad event I have the registration of my channel and the registering of my class TestSRV, my TestSRV class looks like this public class TestSRV : System.MarshalByRefObject, ITestInterface {} Inside it has all the methods and it works great as far as the principals of remoting go. However, my TestSRV class is unrelated to the server windows applica... |
|
| Create Config file (4 replies) |
| microsoft.public.dotnet.framework.remoting |
| Could you tell me how can I crete a XXX.exe.cofig file for my project? Also what is the vb.net code for the following c# code provider.TypeFilterLevel System.Runtime.Serialization.Formatters.TypeFilterLevel.Full; BinaryClientFormatterSinkProvider clientProv new BinaryClientFormatterSinkProvider(); IDictionary props new Hashtable(); props["port"] 1234; Thanks a lot |
|