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
May 2008
June 2008
all groups > dotnet remoting > november 2004

Filter by week: 1 2 3 4 5

Some questions
Posted by Martin Kappl at 11/30/2004 8:50:03 PM
Hi there! I´am new to remoting and spent the last days testing the remoting stuff. It works pretty good with a windows service as the host, some singlecall objects and a tcp-channel with binary formatter. I also managed the add encryption and compression (thanx to ingo rammer for writing th...more >>


Raising Event on the Server and handling it on the Clients.
Posted by Sezgin Rafed at 11/30/2004 12:08:03 PM
Hi everyone, First of all I have to mention that I am new to all .NET Technologies(Framework,Remoting,VB etc.), so I would appreciate more detailed info(or at least reference to it). The scenario is as follows: One Server(Windows Forms Application),multiple Clients(Windows Forms Applicatio...more >>

Remote client is using local object instead of remote object
Posted by webbarbarian at 11/30/2004 11:21:08 AM
This is my fist time using .NET remoting, so I started out by trying an example from this site: http://www.dotnetextreme.com/articles/netremoting.asp It is a basic client - server example, but it does not seem to be working correctly for me. The remote obj outputs a "Hello World" string -...more >>

Unfamiliar with Toub.Remoting namespace
Posted by bwhite5 NO[at]SPAM insight.rr.com at 11/30/2004 11:08:02 AM
I have taken over for another developer on a client/server project. In the client's connection code, the previous developer used a custom client channel sink provider from a class in the Toub.Remoting namespace. I have no help files for this namespace, I haven't been able to even identify the ...more >>

Remoting Performance over a WAN with HTTP
Posted by David Klebanoff at 11/30/2004 6:05:02 AM
We have an internal .Net remoting application that we are extending to the WAN. The server is hosted in IIS 6 (Server 2003), uses the binary formatter, and SSL for privacy. We do not use integrated authentication. Internally performance is excellent. Performance in a WAN environment--not so ex...more >>

.NET remoting and IE proxy exceptions
Posted by Dejan at 11/30/2004 5:47:03 AM
Hi! I found this problem posted on many discussion groups and newsgroups, but usualy there are no answers... Anyway I hope for more luck. I have .NET remoting object running on IIS. IIS is located in LAN. All computers in LAN are set to use proxy for http (setting in IE). Proxy is locate...more >>

Remoting Events Problem !?*#!
Posted by Neds at 11/30/2004 2:31:02 AM
I'm trying to get two applications on the same machine to interact. I've got all the remoting configuration stuff working and I can create the remote objects. However, I need to fire events in the server when a message is sent to the remote object from the client. As soon as I add the event ...more >>

COM+ application is in an unstable state
Posted by M. Raab at 11/29/2004 4:12:09 PM
We developed a component that uses enterprise services. the component seems to run fine. we don't see any memory leaks. it seems that after running for a period of time (several hours), and after several thousands of calls (maybe even tens of thousands of calls) the application that calls the...more >>



Can CompilerErrorCollection be serialized?
Posted by Jeremy Chapman at 11/29/2004 9:46:41 AM
I'm trying to return an object of type CompilerErrorCollection to the client from the server but an exception gets thrown saying it is not marked as serializable. Short of writing my own class, is there any easy way to make this object remotable? ...more >>

Remoting security
Posted by dr at 11/29/2004 8:13:05 AM
I want to use remoting to communicate between 2 applications on the same PC but I keep hearing about how remoting is insecure. What are the security implications of using remoting locally? Is this any more insecure than using sockets?...more >>

transport frustration in Channel...
Posted by legrandjojo at 11/29/2004 6:47:12 AM
Hi, I would like to do remoting between a desktop pc and a pocket pc linked toghether by the serial port. I know that ActiveSync could give me TCP/IP connectivity to do that but i was wondering if it is possible to customize the transport layer of a custom channel in order to read/write TCP/I...more >>

Can't import .OCX assembly into Web Matrix Project.
Posted by Jason Robertson at 11/29/2004 2:35:09 AM
Hi, I am using Web Matrix Project as .NET programming environment. Can you show me detailed steps how to import the .ocx library into the Web Matrix Project. I can't seem to be able to import other assembly than .dll, .exe or ..mcl . I am pretty new to the .NET programming environment, and ma...more >>

PROBLEM: .NET web services proxy class as COM
Posted by smugs_boy NO[at]SPAM yahoo.com at 11/27/2004 1:18:55 PM
Hi, I have a problem with a web service proxy written in .NET and used from VS6's C++ as COM object. This proxy works great when used from a .NET application. It does not seem to work when used as COM object for C++ application. What happens is this: I've created a class with the following a...more >>

I need The method to get all the IP and Host name in an Inranet?
Posted by Parvez at 11/27/2004 6:43:05 AM
I want to create an application which when starts scans all the machine in a network and get all its IP and Automaticaly.DNS.Resolve() will not help i suppose. Thanks Parvez...more >>

Article : Soapsuds.exe (.Net Framework tools series)
Posted by Namratha Shah \(Nasha\) at 11/26/2004 9:30:08 PM
Hey Group, Today we gonna discuss Soapsuds tool. Soapsuds is shipped with .Net FrameWork and is used by .Net remoting Client Applications to generate xml schema,proxy class or assembly for their HTTP Remoting Server. Client App can use this proxy class or the assembly as a reference to the...more >>

Calling a OneWay method on a remoted object that is not alive
Posted by TT (Tom Tempelaere) at 11/26/2004 7:51:02 AM
Hi, In my project I have a seperate logging application. I use remoting to log to it. The remoted object exposes a certain (log-)interface, and the methods therein are all OneWay methods (decorated with the OneWay attribute). In my real application, I connect to the remoted log-object (usi...more >>

static or dynamic proxy?
Posted by richlm at 11/25/2004 10:52:41 PM
There are 2 apparent ways to maintain a remoting proxy: 1. establish the proxy in a class constructor during initialization, or as a static, and hold on to it 2. create the proxy as needed whenever a method call needs to be remoted I tend to prefer option 1 with potentially chatty communica...more >>

How to know who my client is
Posted by rogermk at 11/25/2004 4:51:06 PM
I would like to know how to identify (machine name, ip or any other unique identification) what client machine own a MBR object... Some of my MBR objets have to identify their client own in order to execute specific procedures to that client... Thanks rogermk ...more >>

How to FTP via VPN to sites on different IP's ?
Posted by Jason Robertson at 11/25/2004 1:17:37 PM
Hi, I am using Windows 2003 Server. The VPN works fine, but I want to FTP through the VPN so the connection is encrypted. The problem is each of my IIS sites has a real Internet address specified, w.x.y.z. So when the VPN comes up using a private IP, I can't connect to any of the FTP sites u...more >>

What is callback and Event notification?
Posted by lloydmonteiro NO[at]SPAM rediffmail.com at 11/25/2004 1:47:42 AM
Hi All, The following is the scenario where i need inputs on whether it can be done using remoting. I have a Server.Exe which opens a TCP channel on a particular port. This will be installed on machine1 I will install Client.Exe on a seperate machine 2 which will talk to the Server appli...more >>

question
Posted by Steve Huskey at 11/24/2004 2:40:02 PM
Hi I'm new to remoting and have been reading about it for a while and watched a web cast that shows how to perform remoting in vb.net How ever, I haven't actually done any remoting yet myself and I have what is hopefully a simple question. If i were to user remoting and created CAO's B...more >>

New To Remoting - Windows Form Solution-
Posted by Richard Steele at 11/24/2004 6:13:03 AM
I have written a C# Solution that uses the following architecture. 1 Client app to run a backoffice application that manages user Data (on a separate user's PC). 1 Client app that resides on a separate dedicated PC (networked) that uses the data (DB sits on FileServer) to display records to ...more >>

Using ASP.NET as a remoting client with CAO objects
Posted by Nick Palmer at 11/23/2004 4:11:58 PM
Hi all, I've got a ASP.Net app that uses remoting to create some remote objects. I also have a ClientSponsor class that I use to register my client sponsors for my objects so that my objects do not time out and go away. The same basic code in a VB.Net client works fine and doesn't time out u...more >>

Object lifetimes when created from within another remote object
Posted by Nick Palmer at 11/23/2004 1:18:01 PM
Hi All, I've got a remoting question. First, here is the setup of my environment. I've got a VB.Net client. I've got a Class written in VB.Net (call it coverLibrary and inherets from MarshalByRef) , a Class written in APL.Net (call it Library and inherets from MarshalByRef) and I've got a re...more >>

Design question
Posted by mtv at 11/23/2004 12:13:03 PM
My architecture is: Clients -> FactoryManager <--> [CAO Factory ->CAOs] ->...->DB. 1/ Clients: connects to one of the 2 FactoryManagers to obtain a new CAO. 2/ FactoryManager: there are only 2 of these running on the whole server farm. They are real-time identical and keep track of which s...more >>

Chat (client/server) controls??
Posted by M O J O at 11/22/2004 11:37:07 AM
Hi, I'm developping a chat/client/server program, but I can't figure out how to do this. I've tried severeal chat examples, but no good and fully working examples. I've spend too much time now trying to figure it out, therefor I'm looking for buying components that can do this: * A cl...more >>

MarshalByRefObject object published via Interface not working with COM interop
Posted by cloneman NO[at]SPAM freemail.nl at 11/20/2004 11:24:24 AM
There is no problem using when using a .NET remote client to retrieve a remote server activated object via an Interface. For example, the followng works only if my remote client is .NET: public IFoo GetRemoteFoo() { IFoo myFoo; myFoo = (IFoo) Activator.GetObject(typeof(IFoo), ...more >>

no connection could be made because the target machine actively refused it
Posted by bpeikes NO[at]SPAM yahoo.com at 11/19/2004 12:23:12 PM
I have a remoting server which consists of a static singleton factory, which creates objects and returns them by reference to the client. We've been running this service for quite some time without any problems. Example: public interface IWorker { void DoSomething() } public interfacec I...more >>

Article : Security Tools Part -- 1 (.Net FrameWork Tools Series)
Posted by Namratha Shah \(Nasha\) at 11/19/2004 4:22:35 AM
Hey Group, Today we look in to creating software digital certificates but we take a plunge in that we will look at certain aspects of Crytography. Cryptography is about keys for encryption. These keys can be symmeteric or asymmetric. When we say symmetric keys what we mean is that the same k...more >>

How to implement a remote Monitor ?
Posted by Joannes Vermorel at 11/18/2004 7:49:01 PM
I would like to implement an MarshalByRef object similar to System.Threading.Monitor. The interface would look like class RemoteMonitor : MarshalByRef { public void Enter(object obj, Guid threadID) { ... } public void Exit(object obj, Guid threadID) { ... } } Let assume that each...more >>

ERR:" A connection attempt failed..." when accessing a MBR object method.
Posted by bwhite5 NO[at]SPAM insight.rr.com at 11/18/2004 10:32:36 AM
I have a server that runs on Windows 2K server. Clients could be version of windows minus ME and 95. My client is actually two seperate executables. One is launched and checks with the server to make sure that the version of the client is compatible with the version of the server. After this,...more >>

How to detect when a client no longer exists from the server
Posted by BrettM at 11/17/2004 7:09:04 PM
Hi I have a client-server application, with both the client and the server written in C#. The server can have multiple clients connected to it, but in order to prevent concurrency issues the server locks data for a client when the client indicates that it wants to modify it. The problem i...more >>

Remoting does not works when server registered in the GAC?!
Posted by Julia at 11/17/2004 4:37:35 PM
Hi, Is there any special steps one should take one using remote object while it is registered in the GAC? My dll server is registered in the GAC and it is shared between a windows application which create it as singleton and local web application Thanks in advance. ...more >>

No connection could be made because the target machine actively refused it
Posted by albiro NO[at]SPAM gmail.com at 11/17/2004 2:49:32 PM
Hi All, I've been hit with a problem whilst writing a client/server app. I have a server remotable object, that gets registered like so: BinaryClientFormatterSinkProvider clientProvider = new BinaryClientFormatterSinkProvider(); BinaryServerFormatterSinkProvider serverProvider = new Binary...more >>

Blocking on dead servers -- still not answered
Posted by Paul at 11/17/2004 12:56:01 PM
I am a beginner with remoting and find that it's not so easy to use. The calls are blocking on dead servers! Can you summarize the fix for blocking in remoting in 25 words or less? Method calls to dead servers return in a minute or so, but this is too long. This is the error after a call to...more >>

Ken Koda is da man.
Posted by midi25 at 11/17/2004 12:30:37 PM
Thanks Ken I got my remoting example to work after many days of frustration. A certain book has alot of errors in and its an exam prep book. I solved the repetive Channel registration problem by placing the code in the Application_Start event handler in global.asax. The Public ...more >>

Passing paramters from client to MarshalByObjectRef server objects
Posted by fanyubo NO[at]SPAM gmail.com at 11/17/2004 8:34:53 AM
A server object class is as follows: public class ServerObject : MarshalByRefObject { public ServerObject() {} public void Initialize(int i, string s, Process p) { myInt = i; myString = s; myProcess = p; } // other methods that utilize the memebers //...more >>

Obj destruction
Posted by mtv at 11/17/2004 7:46:03 AM
Hi all, would someone give thoughts on how what I am looking for? I want to have a mechanism to monitor a lifetime of a CAO (create/destroyed) and if needed, the monitor tool can step in and kill the RO. What I'm having now: 1/ Monitoring: have an RO to which all monitored CAOs will register...more >>

Lifetime Remote Objects
Posted by Jimski at 11/17/2004 1:47:53 AM
Hi, I have a Service that launches my server app on startup. This then registers a controllerObject and a projectObject (both MarshallByRefObject) as follows: //server TcpChannel channel = new TcpChannel(props, clientProv, serverProv); ChannelServices.RegisterChannel(channel); RemotingCon...more >>

ASP.NET page and remoting
Posted by rodchar at 11/16/2004 9:49:05 PM
hey all, i have a simple asp.net page that is using remoting. the page just shows me the processor id for the server and the client (just for assurance purposes). if i want to test this on a single machine before i deploy it to the servers couldn't i just use localhost when i "RegisterWel...more >>

Am i calling a local proxy or a remote object?!
Posted by Julia at 11/16/2004 2:52:24 PM
Hi, I have a windows application which create a singleton remote object And a net application which call the remote object both on the same machine(windows 2000,iis 5.0) here is the code in the webapplication: try { MyServer server = new MyServer(); server.Update(this.Reque...more >>

Remoting, Delegates and Events?
Posted by M O J O at 11/16/2004 2:00:08 PM
Hi, I'm trying to create a chat program using remoting and events, but I can't figure out where to begin. I've read on the net, that MS has an example called "Remoting Example: Delegates and Events", but I can't find this demo. The closest I've got was to this link.... http://msdn.mic...more >>

Sinks
Posted by Pedro Gago at 11/16/2004 12:29:33 PM
Hi everybody, I'm new in .Net Remoting and I'm having serious problems with sinks. Basically, I don't understand how to apply sinks. What I want to do is: - Add some data to the call from the client to the server component - Pick this information up in the server component I don't need to ret...more >>

Best Way to Retrieve XML From Remote Class?
Posted by Jim Bayers at 11/16/2004 11:22:25 AM
What's the best way to retrive xml from a remote class? Here's my situation. All the servers are running Win2003. There's a web server on Public. There's a sql server on Campus. The only access we have to Campus is through Secure. ----------------- | Campus | -----------------...more >>

Execution of InitilizeComponent()
Posted by john bailo at 11/16/2004 11:01:18 AM
This is a multi-part message in MIME format. --------------030906000503010100020306 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit In anther thread I learned that I could set up a static member to act as a kind of global variable for a web servi...more >>

How to handle exceptions from RemotingObject?
Posted by Evan Camilleri at 11/16/2004 10:24:43 AM
How to handle exceptions from RemotingObject? I have a windows service which is being consumed by a windows application and so the service creates a remoting object. How do I handle exceptions in the RemotingObject? Evan Camilleri ...more >>

Singleton multi-client performance
Posted by mdb at 11/16/2004 10:19:44 AM
I have a singleton object that will potentially be accessed by many hundreds of clients. While the frequency of calls to the server won't be all that frequent, some of the calls could take some time. My question is... by default, does the server object process all of the calls in the sa...more >>

Fao Ken Kolda
Posted by midi25 at 11/16/2004 9:51:53 AM
Hi Ken have you got a simple .net remoting script you can show me. I just cant seem to get anything working on my pc. I create an IIS application and host a .net remoting object. Then create a client IIS app and register and call the remote obj but still no joy. Do u have a IIS...more >>

Transfer files...
Posted by José Manuel Chávez at 11/16/2004 9:23:09 AM
I need to know how can I transfer files with Remoting using TCP/ Binary. Any reference? tutorial or something? Thanx in advance -- -- Este mensaje no implica responsabilidad alguna. -- José Manuel Programador Accenture Technology Solutions...more >>

Newbie question
Posted by olduncleamos NO[at]SPAM yahoo.com at 11/16/2004 9:02:49 AM
Here is a simple one: Does function call to a remote object renew the lease of the remote object? Thanks in advance....more >>


DevelopmentNow Blog