Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
all groups > dotnet remoting > july 2006

Filter by week: 1 2 3 4 5

Serializing XmlDocument to SerializationInfo
Posted by scarleton NO[at]SPAM gmail.com at 7/31/2006 3:26:22 PM
I need to store a XmlDocument within another object that is being serialized. The other object does implement the ISerializable interface. The problem is that the XmlDocument, when saved as a text file, can be many megs in size. What is the best way to serialize the XmlDocument to the Seriali...more >>


Remoting and Scripts
Posted by Al at 7/31/2006 11:02:01 AM
I am using remoting (IPC channel) between a client and a server for IPC using ..NET 2.0. Does anyone know of a way to use remoting from a script (as a client)? For instance, for COM objects, one could use CreateObject. Is there something similar one can do for remoting (other than using COM In...more >>

Bi-Directional Remoting with Unmanaged App
Posted by victor at 7/28/2006 4:14:28 PM
Hello, I'm facing the following difficulty with a Remoting app which communicates with an Unmanaged (VC6) app in a two-way manner. I have done the direction from Framework to VC6 through WIN32-API delegates, using FindWindow + PostMessage. This works fine. But now I have to go the other way...more >>

Remoting and Sockets
Posted by LordHog NO[at]SPAM hotmail.com at 7/28/2006 10:32:31 AM
Hello, I was wondering what are the differences between using the System.Runtime.Remoting vs. System.Net.Sockets? I am sort of confused what the differences are between them and which particular framework is best suited for its own niche. I am planning on implementing some basic commun...more >>

Setting UICulture on the Server Side
Posted by MattyMatt at 7/28/2006 8:25:22 AM
I have a remotable object that exists on a server. I have several clients that can instantiate this object and call methods on it. The methods can return strings from resource tables and are localized depending on the UICulture of the current thread. I would like to set this UICulture based on t...more >>

Exceptions break the application even within try...catch... Why?
Posted by ThunderMusic at 7/27/2006 4:14:09 PM
Hi, I use remoting in a Windows app... this remoting call a ServerA and using ServerA get an object (marshaled) from ServerB... if I call a method on the object gotten from ServerB and this ServerB has shut down it's service, I get an exception and this exception stop the application event ...more >>

problem with credentials in remoting
Posted by ThunderMusic at 7/26/2006 4:44:47 PM
Hi, Let me explain my architecture : Client-->ServerA-->ServerB So, Client makes a call to ServerA which returns an object gotten from ServerB... The credentials are passed from Client to ServerB my using Impersonation on ServerA... The problem is the following : ServerB is a Windows Ser...more >>

Manual Transactions and Remoting
Posted by Ryan H at 7/26/2006 11:36:53 AM
Hi, My application is written in VB.NET and has a data access layer that resides on a different server and is accessed via Remoting. Currently, when performing an update to the database, I pass the SQL string and connection string to the data access layer like so: DataAccessLayerClass.Run...more >>



>net 2.0 remoting and SSL
Posted by SNORBERG at 7/26/2006 10:49:01 AM
I would like to be able to use HTTP, SOAP with a remoting service (not IIS) and use SSL to connect. It works as I would like when connecting via http but not https. Searching the web only tells me to use IIS to host my service and https is there. But I would like to keep everything in my se...more >>

Exceptions and remoting
Posted by ThunderMusic at 7/25/2006 2:35:09 PM
Hi, I receive an exception from remoting on the first call I make on the remote object... "No connection could be made because the target machine actively refused it"... it means the server is not present (well, it's not started, actually), but even if I put my code in a try...catch structur...more >>

problem impersonating when remoting
Posted by ThunderMusic at 7/25/2006 12:00:38 PM
Hi, When I try to use impersonation when remoting I always get an exception even when the server and client are on the same computer... Here are my 2 config lines for the channels (that's about all there is in each config files) Client : <channel ref="tcp" secure="true" tokenImpersonationL...more >>

problem with WindowsPrincipal
Posted by ThunderMusic at 7/24/2006 4:28:39 PM
Hi, I have a problem getting WindowsPrincipal objects for remote calls... if I only get from a client to a server, it works fine, but if I have a client that calls a server to get an object hosted on another server, the hosted object does not get a WindowsPrincipal, but a GenericPrincipal....more >>

Convert to Remoting
Posted by Russ at 7/20/2006 3:29:17 PM
Does anyone have any good links (or books) that talk about converting an existing application (VB dot net framework 1.1) to use remoting? We have an application that we need to remove our business logic and data Access logic out from our Presentation layer. The Business logic and Data Access l...more >>

"authorizedGroup" and Globalization
Posted by Günter Prossliner at 7/20/2006 12:19:54 PM
Hi everyone! I want to create an IpcChannel without security, so than everyone can access the channel. Even if I set the "IsSecured" Property of the IpcServerChannel to false, I got "Access denied" Exceptions? Why does this happen? Is it not possible to disable the security - restrictions a...more >>

Remoting using Consol Application Client and Consol Listener
Posted by Prateek at 7/19/2006 2:56:00 AM
Hi, I am developing a remoting service which is accessed by a client application using remoting. In doing so, is gives me an error called "Cannot load type <Type Name> <Assembly Name>" Following things I am doing in order to developed a remoting service 1 - Developed a dll called Remotabl...more >>

.NET Remoting with Multiple Channels
Posted by breeto NO[at]SPAM yahoo.com at 7/17/2006 3:17:30 PM
If you've configured .NET Remoting to use more than one channel of the same type, for example two TcpClientChannels with unique names, when you want to create a proxy to a remote object how do you specify which channel you want that proxy to use? Thanks in advance. ...more >>

.NET one way Remoting
Posted by newscorrespondent NO[at]SPAM charter.net at 7/15/2006 2:13:56 AM
As a client I am sending data using a OneWay method to a server. What happens if the client is sending messages faster than the server can consume them? Who is responsible for holding the queue? If the object sending is a WellKnownObjectMode.Singleton what happens if I send another mess...more >>

URGENT PLZ........File Upload in .NET Remoting
Posted by Sekhar at 7/14/2006 10:15:01 PM
Hi all I am trying to Upload a file using .NET Remoting. My Remoting Object contains an Upload Method which would take the HttpPostedFile and the path as the parameters, I am using Server Act Object in SingleTon Mode CLient is a web app . When i am tryin to upload a file this is the ...more >>

Throwing exceptions in custom server sink
Posted by Tunç at 7/13/2006 2:33:01 PM
Hello, MSDN documentation states that message sinks must not throw exceptions at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconsinkssinkchains.asp "Note Message sinks must not throw exceptions. One way a message sink can control this is by wrapping m...more >>

Install multiple instances of a Windows Service on one server?
Posted by Zoe Hart at 7/13/2006 9:23:31 AM
This is a Windows Service development/deployment question and I couldn't find a newsgroup focused on that. Since remote objects are often hosted in a Windows Service, I thought this was as good a place as any to post a Windows Service question. I've developed a Windows Service that reads or...more >>

What happens to CAO when lease times out or is not renewed?
Posted by TT (Tom Tempelaere) at 7/13/2006 7:28:02 AM
Hi, What happens when a CAO's lease times out or is not renewed? Specifically I would like to know if the CAO is informed about this explicitely or implicitely. Could it be that once the CAO is no longer supported (lease times out, sponsor refuses renewal), the system calls IDispoble.Di...more >>

Can .NET Remoting Provide Class Instantiation Like ActiveX EXE?
Posted by Joseph Geretz at 7/12/2006 11:23:00 PM
With Remoting, the server generally needs to be running, in order for a remote client to instantiate the class which is exposed for remoting. If the server is not already running, the client can start the server, however the launch of the server will be asynchronous and the client will need to...more >>

problem with config file
Posted by ThunderMusic at 7/12/2006 3:12:49 PM
Hi, I have a little problem with the config file even tought I'm pretty sure it's correct... Can someone tell me why I get this exception? here are the exception and the config file content. Exception : PM Remoting configuration failed with the exception 'System.IO.FileNotFoundException:...more >>

Singleton & events to clients
Posted by TT (Tom Tempelaere) at 7/12/2006 9:49:04 AM
Hi there, I've read some articles that address the problem i'm having at the moment, however things still are not completely clear to me. I will illustrate the setting, and what problems I have. I have a central component that is to collect data from certain clients, and that should trig...more >>

Returning XmlNode or XmlDocument object!
Posted by Paraclete at 7/12/2006 7:05:02 AM
Hi, I have a remote object which has a function XMLNode GetDataNode(string nodeName); When I call this function using remoting (from another application), I am getting an Exception stating that XmlElement is not marked as serializable. Any ideas how can I resolve this issue. Thanks, NUUB...more >>

Can I use .NET remoting with an ActiveX container?
Posted by TW at 7/11/2006 5:31:14 PM
We're C# .NET developers who must use an ActiveX container (not IE) to create and contain our components. We'd like both the component and the client to be C# .NET code. But, it appears that you cannot do this with COM interop. To do this, the RCW of my client code would have to be able to ...more >>

Tcp connection stays open during remoting
Posted by newsgra NO[at]SPAM gmail.com at 7/10/2006 6:56:01 AM
Hi all, When I configure remoting with a TCP channel with a singlecall server object, I would like to know if the TCP connection stays open forever. In the TCP protocol, it requires 7 messages between the client and the server to open a connection. If the client makes a lot of calls to the s...more >>

First remoting call take too long in IE embedded winform usercontrol
Posted by idiot at 7/10/2006 12:00:00 AM
Server side : Winform Exe Code : System.Runtime.Remoting.RemotingConfiguration.Configure( System.IO.Path.Combine(Application.StartupPath, "RemoteServer.exe.config")); BinaryServerFormatterSinkProvider provider = new BinaryServerFormatterSinkProvider(); provider.TypeFilterLevel = ...more >>

Why is it locking up?
Posted by ThunderMusic at 7/7/2006 3:52:35 PM
Hi, I have a service and an app, I cut down the code to a minimum... can someone explain me why it locks up when I try to get an instance of my object? public class LoginService : MarshalByRefObject { public override object InitializeLifetimeService() { // return null so ...more >>

Tweaking (de)serialization 2.0->1.0 possible?
Posted by henk gijsbert at 7/7/2006 4:29:37 AM
I'm getting an error when I try send a dataset from a .NET2.0 proces to a .NET1.1 proces: Type is not resolved for System.Data.Serializationformat, System.Data, .... It appears Microsoft does not support backward compatiblity on datasets in .NET2.0. I have seen more postings on this problem. ...more >>

Windows authentication over remoting... possible?
Posted by ThunderMusic at 7/6/2006 3:48:20 PM
Hi, I have to develop an application that will consist of a service and a windows forms application... the service could be on a distant server but I need to authenticate the user as being part of the same domain. so when the application starts, I can send something to the remote service a...more >>

is it possible accessing to .NET Remoting object with a VBscript
Posted by kid80 at 7/5/2006 8:16:22 AM
HI, i am working currently on a .NET projet since a while. I have implemented a .NET Remoting object as a marshal object. i know how to do with C# for writing an appropriate client to access to it. It's an object registred on the httpchannel. i tried to find some vbscript samples on the n...more >>

Absolute path in objectUri attribute
Posted by Striped at 7/3/2006 11:43:54 AM
Can I specify an absolute path in the objectUri attribute, e.g. <?xml version="1.0" encoding="utf-8" ?> <configuration> <system.runtime.remoting> <application> <service> <wellknown type="Processing.ReportProcessor, ReportAssembly" mode="Singleton" objectUri="D:/DR/Server/Repo...more >>

Using Kerberos delegation with TcpChannels
Posted by vtjdailey NO[at]SPAM gmail.com at 7/3/2006 7:10:58 AM
Hello, I am trying to have a remoting application use Kerberos authentication because I have an application where the remoting server may make further calls to other remoting servers, and even 3 levels deep I want the code to run in the context of the original authenticated user. But I can'...more >>

WebClient class is throwing exception
Posted by Deepson Thomas at 7/3/2006 4:28:01 AM
Hi, Iam trying to use WebClient class under system.net namespace to download files from internet via http. For that iam using DownloadFile method. But when ever iam trying to download any file iam getting the error “"The underlying connection was closed: Unable to connect to the remote ...more >>

Connection events
Posted by yevron2 NO[at]SPAM gmail.com at 7/2/2006 6:26:01 AM
Hey, Wanted to know if there is a way to receive an event in the server that a client tried to connect but didn't succeed? Thanx, Yael. ...more >>

Remoting and Windows Forms - Deadlock?
Posted by CDX at 7/1/2006 12:00:00 AM
I have what appears to be a deadlock issue in a simple remoting application consisting of 3 objects: 1) A server side Singleton 2) A client-side windows form 2) A client side helper to facilitate communication between the two SITUATION ONE I successfully implemented remote callback on the...more >>


DevelopmentNow Blog