| Binary of HTTP config issues (11 replies) |
| microsoft.public.dotnet.framework.remoting |
| I have tried: Server Web.config: system.runtime.remoting application channels channel ref "http" serverProviders formatter ref "binary" typeFilterLevel "Full" / /serverProviders /channel /channels service wellknown mode "SingleCall" type "NFC.UserManagement.UserManager, NFC.UserManagement" objectUri "UserManager.rem" / /service /application /system.runtime.remoting Windows Client: system.runtime.r... |
|
| Remoting exception when using interfaces (11 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi! I have a 3 tier solution that uses remoting from the business logic layer to the data access layer. Every business manager object implements an interface that is used by the ASP.NET clients to communicate with the business logic. Ie I have a CustomerManager object and a ICustomerManager interface. Only my interface assembly is distributed with the client. I "create" my managers in the client b... |
|
| Fix passing exception through remoting problem (8 replies, VIP) |
| microsoft.public.dotnet.framework.remoting |
| Exception can be thrown from remoting server to client on .net frame 1.0, it starts have problem since 1.1 came, when will MicroSoft fix this problem? |
|
| How to use Marshal By Value (7 replies, VIP) |
| microsoft.public.dotnet.framework.remoting |
| Hi! What actions do I have to do in order to get my objects marshaled by value? For the moment we are using Marshal by reference, so all my object derive from MarshalByRef. Thanks in advance! /Henke |
|
| Remoting "checklist" for networkers available? (6 replies, VIP) |
| microsoft.public.dotnet.framework.remoting |
| I'm trying to get a remoting project running in a WAN. The application works well in LAN and local but does not from outside the company (fails with different error messages or hangs, mostly "underlying connection has been closed). Myself I'm not an network expert on the other hand our network professional doesn't know dotNet at all. That makes it difficult to find out what's going on. Is there so... |
|
| Problems using Serializable attribute (7 replies, VIP) |
| microsoft.public.dotnet.framework.remoting |
| Hi! I read in MSDN that an object could be marshaled by value just be mark it [Serializable]. When I do this and tries to invoke a method on the object I get this exception: An unhandled exception of type 'System.Runtime.Remoting.RemotingException' occurred in mscorlib.dll Additional information: Trying to create a proxy to an unbound type. If I derive the class from MarshalByRefObject everything ... |
|
| Client Activated .NET Remote Object (4 replies, VIP) |
| microsoft.public.dotnet.framework.remoting |
| I have an application where the Client App creates the .NET Remote Object but when the application shuts off the .NET Remote Object destructor is not called. Instead when I shutdown the Server Application the Object destructor is called. I need a way to delete the .NET Remote Object once the client application that has created the object is closed. Shreyash B. Patel |
|
| Creating a Singleton that is a cross AppDomain Singleton (4 replies) |
| microsoft.public.dotnet.framework.remoting |
| Creating a Singleton that is a cross AppDomain Singleton I'd like to thank Eric Gunnerson for his article on AppDomains and Dynamic Loading (http://msdn.microsoft.com/library/default.asp?url /library/en us/dncscol/html/csharp05162002.asp) for it really helped me out with the issue i was having with how to unload assemblies. Now, if you follow his example, check out the RemoteLoader class.. see how... |
|
| tcpchannel security (4 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi. Is it possible to use integrated windows security when using TcpChannel? Thanx. |
|
| SAO with Parameters but Not CAO. (5 replies) |
| microsoft.public.dotnet.framework.remoting |
| Tue. Sep. 07, 2004 10:15 PM PT Is it possible to create an ExamGuruO to host as SingleCall or SingleTon(Really, I do not preferred), with parameters, so that, I can pass a string as parameters to this ExamGuruO, w/o. changing the ExamGuruO. ? I don't mind shutting down the remoting server. This could be possible to COM ServicedComponent, with Construct method. I strictly don't want CAO with Factory model. Thanks... |
|
| How returning a remote object created in the server (6 replies, VIP) |
| microsoft.public.dotnet.framework.remoting |
| A singleton object (server) has a method (login) to let to every client to connect to the server. I should like to return a new object (session) with new methods. So, in the client, we have Session session server.login(userId, userPsw); while, in the server, we have Session Login(string Id, string Psw) { ... ... Session session new Session(); return session; } I would appreciate any ideas on how t... |
|
| I need help with architecture design,please. (4 replies) |
| microsoft.public.dotnet.framework.remoting |
| I need help with architecture design,please: I have a server which constantly downloading messages from the internet and store them inside a data base. the server have two administrators options: one is a local windows application,and the second is a web application The administrator can either delete messages,add new messages,and send messages i am new to .NET remoting,so here is my idea in gener... |
|
| Only one usage of each socket address(protocol/network/port) is normally allowed (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hello, I have an application which has 2 appdomains. It loads a class from a dll in 1 appdomain and another class from same dll in 2nd appdomain. I want to pass data between these classes. So i tried remoting. I configured class1 as server and class 2 as client. But when i call a server method i receive only one usage of socket address is normally allowed exception message. Here is my server side ... |
|
| Can I return an Interface.? (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| Wed. Sep. 01, 2004 10:10 PM PT I have a remoting server, on which I host a Business Object Component, I want to return an Interface IDbConnection as follows... IDbConnection *GetConnection() { // code return dbConnection; //as an interface } Thanks. |
|
| ref param doesn't keep changes if an exception is thrown (Remoting (6 replies, VIP) |
| microsoft.public.dotnet.framework.remoting |
| Hi again, Really I need some help or direction on this point. I prepare a proof of concept app to show you my issue. We're trying to move ours custom services to use remoting architecture, but if i don't find a quick fixed for this issue, maybe I'll be dead man tomorrow!! ************************************* ************ Server Class *************** ************************************* public cl... |
|
| System.InvalidCastException: Return argument has an invalid type (6 replies, VIP) |
| microsoft.public.dotnet.framework.remoting |
| Hi, Does anyone know where is the problem ??? I receive a Unhandled Exception: System.InvalidCastException: Return argument has an invalid type. on the getA() function ! getA() is a function from object B and returns a new object A. object A has one property i that is a int 1. I try to to display property i of the A on the client. From the server, only object B is remotely available. From the clie... |
|
| Can a remote object be a WebService as well? (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi, Can a Remote object be a WebService as well? i want to able to connect to a remote object either using .NET remoting and HTTP\SOAP so I wonder if I can create a singleton(statefull) object hosted in IIS which can be xml web service ,NET remoted object,singleton and support COM transaction management all in the same time The object should served single user Thanks. My orginial post which didnt ... |
|
| encrypt before serializing (5 replies) |
| microsoft.public.dotnet.framework.remoting |
| I have some xml tokens that need to be serialized before sending off to a client. The token class inherits from MarsalByRefObject. I need to encrypt the tokens also. That should be done first before utilizing any of the serialization mechanisms. Right? thx g p.s. I think the answer is obvious but i can't quite picture the transformation from xml string to encrypted string to serialized, I guess bi... |
|
| Remoting Controls across AppDomains (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| I've read a myriad of posts, articles and other information sources on this, but NONE seem to answer the question or provide a solution. Why am I going insane? Here's the desired result and reasoning: Desired Result and Reasoning: Using a plugin architecture, allow loading of UserControl, or similar, based user interface elements to build up the application functionality at runtime. A user interfa... |
|
| Deserializing a string with \r\n (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| I serialize a string with char 13 and char 10 in it (\r\n). It's serialized just fine. When I deserialize it, however, the 13 and 10 is replaced with just a single 10. Here's an example that can be run in immediate mode showing the problem. The ascii value of the character in position 2 should be 13, not 10. ?asc(ctype(new XmlSerializer(gettype(String)).Deserialize(new StringReader(" string aa" & ... |
|
| System.Runtime.Remoting.RemotingException: Requested Service not found (4 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi, I am trying to impliment remoting using IIS. When i try to run a client in order to access those components i get following exception. System.Runtime.Remoting.RemotingException: Requested Service not found Please guide me to solve this error. Thanks in advance. Vakkaas Note: Attached are my server, client, and config files. Name of my virtual directory in IIS "basicservicedemo" |
|
| Passing VB6 object to remote object fails (2 replies, VIP) |
| microsoft.public.dotnet.framework.remoting |
| I understand that an object passed to a remote object must either derive from MarshalByRefObject or be Serializable...and a VB6 object doesn't satisfy this criteria. I'm wondering if there are other approachs that would allow me to pass the VB6 object to the remote object, for example: custom marshaling, interop marshalling, subclassing Formatter class, etc. or do I have to abandon Remoting until ... |
|
| BinaryFormatter Version incompatibility (4 replies) |
| microsoft.public.dotnet.framework.remoting |
| Thu. Sep. 09, 2004 3:10 PM PT I try to host my ExamGuruO on IIS Version 5.1, on WindowsXP Prof. and I get the following exception. I also included my server web.config and client configuration code. Anybody knows how to get rid off this exception ? Thanks, Server Config File: web.config start system.runtime.remoting application service wellknown mode "SingleCall" objectUri "NWind.rem" type "CSDemo.NWin... |
|
| MarshalByValue from other appdomain (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hello, I try to write a program in J# that loads and unloads assemblies dynamically. So far I know, this is only possible by using different appdomains. To be able to use the loaded classes and their functions in the main application domain I used MarshalByRefObject to create an instances of classes and unwrap them in the destination appDomain. This works fine and I can also call functions with si... |
|
| How Hoste Remote Object Securly (2 replies, VIP) |
| microsoft.public.dotnet.framework.remoting |
| Hi all How I host remote object on IIS prgrammtically without using congiuration files and also donot let the client application know the real implemetation of the remote object? How I protect the open port in case of using window service hosting remote object which keep listening on any HttpChannel or TcpChannel? |
|
| Problem calling an VB.NET Enterprise Service component (2 replies, VIP) |
| microsoft.public.dotnet.framework.remoting |
| Hi all, I have a component developed in VB.NET that I have registered in COM and installed in the GAC. I have another VS.NET project where I have a reference to the assembly and tries to call the methods in my registered component...but I recieve the following error message: "This remoting proxy has no channel sink which means either the server has no reg istered server channels that are listening... |
|
| How to send XmlElement and SoapHeader over .NET Remoting? (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi! I'm currently working on project where we use class like this one: [Serializable] class EndpointReferenceType : SoapHeader { ... } Next code section shows how server side of .NET Remoting is registered: { int listenPort 3000; ListDictionary channelProperties new ListDictionary(); channelProperties.Add("name", ""); channelProperties.Add("port", listenPort); httpChannel new HttpChannel( channelP... |
|
| Hosting On IIS (8 replies, VIP) |
| microsoft.public.dotnet.framework.remoting |
| Hello I am really fed up by the following simple problem. I write a interface IPlyer and produce RemotingLibrary.dll. I Implement this Interface using MyRemote class which is also a Remote Object and it produce RemoteServer.dll. I create a virtual directory named Test and copy these dlls in this directory to host remote object on IIS. And An Problem is occur when I execute client application. That... |
|
| Windows Service (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi all, I have a Remoting application that using http channel. When I tried to make Windows Service from this application all seems to be all right until I restart service. I have the following Exception. Service cannot be started. System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port) is normally permitted at System.Runtime.Remoting.Channels.Http... |
|
| SingleCall calling SingleTon object (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| Mon. Sep. 13, 2004 1:20 PM PT Suppose, I have a server, which hosts two ExamGuruO's, one is SingleCall (ExamGuruO One) and another is SingleTon (ExamGuruO Two). Both hosts on one server, Now, client will call a function from ExamGuruO One, which further calls a function in ExamGuruO Two. Is it possible to place this call. If possible, then how do I activate the ExamGuruO Two object, on ExamGuruO One object side. Because Both these ... |
|
| Security problems with new Service Pack (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi, I'm using dotnet 1.0 and I developped a whole remoting system which was working perfectly until a few days ago, when I installed the latest Service Pack for dotnet 1.0 : Here is the exception : It seems that the Service pack adds some security restrictions, and now I got an exception when trying to invoke a remote method on a remote object: Unhandled Exception: System.Runtime.Serialization.Ser... |
|
| Serialize / Deserialization troubles .. Please help ! (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hello, I am trying to use shared memory mapped files for IPC between two applications, one of which may be in C (non .NET envi) As a first step I am trying to get serialization / deserializtion working within a single application and getting exceptions and errors. "Binary stream does not contain a valid Binary header, 0 possible causes, invalid stream or object version change between serialization... |
|
| Is Remoting Appropriate? (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| I have a project in which a series of business objects (windows controls) related to stock trading are being hosted in a "launcher" application. Using a config file, the launcher app displays a toolbar with a series of buttons. Each button represents another window that can be opened that hosts a specific control (market monitor, trade entry, order editor, etc.). In order to to provide security ag... |
|
| How do I check if an address/port is already in use? (2 replies, VIP) |
| microsoft.public.dotnet.framework.remoting |
| Hi Dim chan As Tcp.TcpChannel chan New Tcp.TcpChannel(9213) ChannelServices.RegisterChannel(chan) RemotingConfiguration.RegisterWellKnownServiceType(GetType(HelloWorld), "HelloWorld", WellKnownObjectMode.SingleCall) This code will normally produce an error if the port 9213 is in use as follows: An unhandled exception of type 'System.Net.Sockets.SocketException' occurred in system.runtime.remoting.... |
|
| System.ComponentModel.EventHandlerList is not marked as serializa (2 replies, VIP) |
| microsoft.public.dotnet.framework.remoting |
| Hi, I've got a server using .Net remoting which send to the client (an ASP.net application) a hashtable. On the server side, my tests have shown no errors but when I try to loop in the hashtable on the client side, I've got this error: The type System.ComponentModel.EventHandlerList in Assembly System, Version 1.0.5000.0, Culture neutral, PublicKeyToken b77a5c561934e089 is not marked as serializab... |
|
| Interface based serialization (4 replies) |
| microsoft.public.dotnet.framework.remoting |
| I am attempting to get the example posted on csharphelp to work http://www.csharphelp.com/archives/archive191.html The example executes fine, but when checking whether the call IResume aResume resService.GetResume(); is passed copied locally to the machine (ByVal), I find that it has been passed byRef. My check for this is adding a property returning Environment.MachineName calling this new proper... |
|
| possible to call a remote object from IE? (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi, I have an application inside an organization which uses IE as a client and a .NET application as a server I want to be able to call an object in the server from IE 1.Must WebService hosted in IIS or can I host it in my server application? 2.Is there a way to call a .NET remoting object from java script in IE? Note that i dont want to install .NET component in the web page. all components are i... |
|
| Throwing an exception (2 replies, VIP) |
| microsoft.public.dotnet.framework.remoting |
| Hi guys, I have a little trouble throwing an exception in a remoting service. I'm calling a xyz Method passing by ref a DataTable, in the remoting service method I'm processing this DataTable using a for{} statement, and when I find an error then a set one custom column named errorStatus on TRUE and then I throw the exception. If I run this service local (not remoting mode) the DataTable passing b... |
|
| How to return and interface from a remote object? (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi,I have the following classes public interface IComponentProperties { object this[string propertyName] { get; set; } } //Hold a list of properties class Properties:IComponentProperties { private Hashtable propsHolder new Hashtable(); public object this[string propertyName] { get { return propsHolder[propertyName]; } set { } } } Class Service { private Properties props; public IComponentPropertie... |
|
| Sockets Question (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi, I have a client Server Application which was write in vb.net i m using the TcpClient Object And A StreamWriter To Send a message to the client but i would like to send other objects but for strings like arrays, my own objects and so on. how can i do that ? Thanks. T: ) |
|
| How to expose two different objects from single server via .NET Remoting? (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| How to expose two different objects via .NET Remoting? Hello, I am trying to do the following: Exposing Obj1 and Obj2 via ProcessA Conects to obj1 from Client1 and connect Obj2 from Client2 both Objects has events. Obj1 is implemented in ProcessA Obj2 is implemented in DLL. The DLL is referencedin ProcessA When I expose only one object the server starts well and the corresponded client work with i... |
|
| Dynamic Publication (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi, What is meant by Dynamic Publication in .net Remoting? Thanks, Chamith |
|
| How do I know the Client Identity ? (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| Tue. Sep. 14, 2004 9:25 PM PT My ExamGuruO is hosted on Console server application, as SingleCall. I want to know, that who is accessing the Remoting Object ? Thanks, |
|
| Show form from remotable object? (2 replies, VIP) |
| microsoft.public.dotnet.framework.remoting |
| Hi all, Is this possible to display a windows form from a remotable object? I need to create a singlecall server application that gives access to an instance of MapPoint ActiveX control to its clients. And I also would like to display a form from the remotable object containing the ActiveX, so I can see the actual maps being retrieved by the remote clients (for debugging purposes). In a sense I ne... |
|
| Strange Debugger issues (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| Not sure which group this question would go in so if this isn't the appropriate place I apologize. Here is the setup Rather large project consisting of a Winform client that communicates with a series of SAO, Single Call, IIS hosted remoted facades all written in C#. Up until recently everything was working just fine, I could debug both the client and server components. Now when I debug into the s... |
|
| Portable Code Base for both Pocket PC's and Desktops (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi, i am facing a peculiar problem with regards to Code Portability both on Pocket PC and Desktops. My company wants me to maintain the common code base for both the platforms. Is .NET suitable for that ( Is WinCE.NET and .NET same). Can we do it in SDK (pocket pc sdk and desktop SDK). I need inputs from all of you. Thanks a lot in advance. Regards Tarundeep Singh Kalra www dot tarunsadhana dot co... |
|
| Can a WinForm be a remoted object? (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi, I have a server application which composed from a form which uses the Task pattern to run background processes(threads), each process is correctly update the user interface in the UI thread. I want to allow ASP.NET application to call a method on my server Since it is my first attempt I would like not to deal with synchronization issue 1.is it possible to make the form a Server activated remot... |
|
| Determining if there a client instances of a server object. (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| Is it possible to ask the remoting system whether there are currently any client instances of a server object? [or is that knowledge only mainted in reverse as in the client knows about it's server?] Thanks (hope this question ain't to ass about face!) Phil (Auckland | Aotearoa) |
|
| call remoting object from vba (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hello I've created a C# outlook addin that will get an object from the server using dotnet remoting. The addin is marked as Register for Com interop. When i try to cast the returned object into the a specific class, i get "specified cast is invalid". The specific class is implemented in a (separate) referenced assembly (located in the same directory as the addin assembly on the client)... What can... |
|
| JIT Debugging of remoted objects (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| I'm using a remoted object (Actually, it's just a context bound object on the same machine, but same concept). When an exception is thrown, I can only step into the last local call. I can't actually step into the remoted object's code where the exception was thrown. If I set a breakpoint, however, in the remoted object I will can step through it: I just can't view the contents of the remoted objec... |
|