| COMException: caused from what? (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| I have a WinForms application calling a set of COM components. This app is doing a batch job, generating 50000 records for a database. When I run it, it creates from 300 to 1200 records and then dies with a "COMException" error. How can I get more information to find out what caused the error? I have tried debugging each component and they seem to work fine. I suspect it has something to do with l... |
|
| Throwing an exception (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| Howdy, I'm having difficulty throwing any kind of exception from within a secondary domain, and then catching it back in the primary domain. (I'm writing a managed C assembly, Windows XP, Visual Studio .NET 2003). The function foo() runs in the primary domain, creates a child domain, instantiates an object within this domain, invokes some member which throws an exception, then discards the child d... |
|
| .net Remoting (2 replies, VIP) |
| microsoft.public.dotnet.framework.remoting |
| (Type your message here) I am using Interfaces to call remote objects in vb.net.how i can raise events to the client through interfaces From: Babar Mushtaq Posted by a user from .Net Guru (http://www.dot-net-guru.com/) Id g9cF2iy/VUqRKI1Qrs2o0w /Id |
|
| IIS Shutting down my remote object (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi there, I have some IIS hosted remote objects (hosted as Singletons). My objects override the InitializeLifetimeService() to return null. I have sometimes seen IIS shutting down my objects after a period of inactivity (I write entries to the event log) and I'm not sure why this is happening. The next request to the server will re create all my objects. This does not appear to happen consistently... |
|
| is datarow remotable (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| Is as datarow remotable? Im passing a datarow object to a remotable method. I read in MSDN that datarow has Serialziable attribute. |
|
| Button click with Remoting (4 replies) |
| microsoft.public.dotnet.framework.remoting |
| How should I handle the user clicking a button that calls an asynchronous SAO? Should I disable the button until my call returns? Just curious about what over people do. What about forms with lots of buttons and lots of tabs, should I disable everything until my call returns? Thanks in advance, John |
|
| .NET Remoting performance problems (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi ! We've developed an application, consisting of a server application and a client application. Both communicate via .NET remoting. We've got performance problems with it, so we tested it. There are some strange results. The Client calls a server method to get some data. The object on the server is a CAO. The method on the server gets a dataset by reference as parameter and fills it with data fr... |
|
| Does Marhsall-by-Reference still use a proxy? (6 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hello, Do marshal by value remoting objects still use a proxy? looking at MSDN, I see for MBV that: "The remoting system makes a complete copy of these objects and passes the copy to the calling application domain. Once the copy is in the caller's application domain, calls to the copy go directly to that copy. " Is this "complete copy" a proxy? Thanks, Mark |
|
| remotable object does not output file (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi, I have a remotable object hosted in IIS that loads a native DLL. The DLL is supposed to generate an output file. When the object is not hosted in IIS and implemented as a console application, there is no problem: the output is there. But not when it implemented as an assembly and hosted in IIS. Actually I tried to output a file from the remotable object itself (before loading the DLL) and I ha... |
|
| Must remoting use the thread pool? (7 replies, VIP) |
| microsoft.public.dotnet.framework.remoting |
| Hi. We've got a legacy MFC MDI app that functions as a server for simple client applications. The clients can open documents in the server, save them, etc. Currently, it uses COM. I'm looking into re doing it using .NET remoting. I have a singleton remoting server which serves up some thin managed wrapper classes that call into the old native MFC code. The problem I'm having is that these .NET wra... |
|
| Remoted objects never garbage collected. (4 replies) |
| microsoft.public.dotnet.framework.remoting |
| I have an application which handles events raised remotely. The object through which the events are raised is remoted to my application, and it has had its InitializeLifetimeService method overridden to return null, so that it stays alive for the lifetime of the application. When these events are raised, one of the arguments to the event handler is an object (call it Carrier) that contains, among ... |
|
| Remote Debugging Halts IIS (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| When a co programmer in my company remote debug an application on a Server , the IIS on this Server halts... meaning I cant even see pages on this remote server.... Why is that? is that by design? |
|
| How to get return values from a function using remoting (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hello! I call an function in server from the client. The client returns a value of sucess/failure. how do I get that return value when using remoting. How to debug a remoting application... TIA LearnRemoting |
|
| Passing objects by ref into singleton class (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| I have a singleton class that I am caching data into. I pass the objects into the method in the singleton class with the ref keyword so I am putting the results right into the object. However, it seems I am not doing enough memory clean up because it is never releasing memory. Is it a bad practice to use the ref keyword? Does it create weak references? |
|
| CAO and Shared Assembly Interfaces (5 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi All, Recently I read one of the article in MSDN it says following information No shared assembly. In the CAO approach, you cannot use the shared assembly approach with interfaces I have no idea why it is not possible ?Any help on this appreciated. Thanks Robert |
|
| connecting to a remote server using ssh (4 replies) |
| microsoft.public.dotnet.framework.remoting |
| hi, I know the ip of a remote machine. I need to connect to this machine using ssh protocol and ppk encryption. Can I do this using dot net framework sockets?? Can some one provide me the code its very urgent. Shalin |
|
| remote events (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi, my question is more theoretical. If I like to develop let's say a chat server with sockets, all my clients can stay connected with the server as long the client runs. If there's a new text message for all clients, the server can send this message to all the clients over the established tcp/ip connection. In this scenario I have only minor problems cofiguring firewalls or routers. If I develop ... |
|
| unregistering? (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi all, I have: a classLibrary with a remotable object in it, a windows Server app that registers the remotable object as a wellknown service type, and a windows client app that registers the same remotable as a wellknown client type. The first thing I did was run the client without running the server and I was of course unable to connect to it to complete the remotable object method call I was ma... |
|
| PLEASE PLEASE help me out here - Client/Server (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi, I hope this is the right forum for this post, if it is not, please forgive my insolence. I'm not qualified in .NET nor am i qualified in any other language, i learn languages the way i always do: on my own research/trial by error. The problem is, i need to create a client/server utility that is similar to msn messenger but for the life of me i cant find any decent resources on the net (perhaps... |
|
| MS strategy for local RPC? (4 replies) |
| microsoft.public.dotnet.framework.remoting |
| I'm looking for MS's strategy for local RPC. Does anyone know if such thing exists? I understand Remoting is today's technology, and Indigo for tomorrow, but both target RPC between PCs and not within PC. I also understand I can use Remoting with local loopback, but I'd like to avoid it if possible because of performance and because of firewall issues. I want to build a service process that acts l... |
|
| Remoting in a desktop application (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi there, I would need to setup a desktop application and use remoting to connect to a ..NET component, which is hosted in IIS, on a W2K 2000 server. To host the component, and because of the fact that the .NET component should interact with an existing ASP application and bunch of COM components, I created a virtual directory under the existing ASP application and copied the .NET components under... |
|
| Remoting Callbacks from Managed C++ to C# Client (2 replies, VIP) |
| microsoft.public.dotnet.framework.remoting |
| I am having trouble making Async callbacks from Managed C Remote object to a C# Client. I am able to make Synchronous callbacks to the client but the problem is, the client may no longer be available when the callback occurs and the remoting host crashes (just waits for the function to return which will never happen). If I am able to make all callbacks to the Client from the Managed C remote objec... |
|
| (405) Method Not Allowed (3 replies) |
| microsoft.public.dotnet.framework.remoting |
| I've got a client application which is using remoting to connect to a remote object hosted on IIS, and located under a virtual directory. I'm not sure if it's the configuration problem or not, but I'm getting the error that : Method Not Allowed. Does somebody know what's causing this? Thanks, Gilgamesh |
|
| Distributed application programming (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| I am new to distributed application programming. Could anybody give me advice on how to accomplish the following? I am writing in VB.NET. I would like to keep away from web services and IIS if possible. Perhaps using some form of remoting. I would like to develop an application which sits on a "server". (or a Pc which sits in the corner) This application would take requests from a "client" applica... |
|
| How to imitate a network problem on a local computer? (2 replies) |
| microsoft.public.dotnet.framework.remoting |
| Hi everybody! I'm testing a server/client app. Both server and client are on the same computer running Windows 2000. Is there any way to imitate a network problem locally? Maybe deactivate sockets somehow? Thanks in advance. |
|