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 > june 2005

Filter by week: 1 2 3 4 5

CanDeserialize() implementation details
Posted by rb531 at 6/30/2005 3:58:03 PM
Hi, I have a question regarding CanDeserialize(). How does it work? Any idea? will it parse the entire xml before deciding whether it can be deserialized? Any input is appreciated. thank you, ...more >>

Remoted object reference dies unexpectedly
Posted by compurhythms NO[at]SPAM gmail.com at 6/30/2005 10:10:45 AM
've got a client app that communicates to a server EXE via Remoting (TCP/Binary Serializer). Most of the time things work just smashingly except that at seemingly random times a call to the server process will fail with the following exception: "... RemotingException: Requested Service not fo...more >>

C# addins for Office using Remoting
Posted by Mihaela Barbu via DotNetMonster.com at 6/30/2005 12:00:00 AM
I hope this is the right thread. I have created an addin in C# for Office for an application...it work fine on system that have installed the .Net Framework....but on systems that don't have the Framework installed the toolbar that I have created in the Addin just won't appear.... can anyone...more >>

remoting error
Posted by AVL at 6/29/2005 10:41:03 PM
Hi, I'm getting the following message.when trying to connect to the server from my client... "No connection could be made as the server refused it". Here is my serverside code.. TcpServerChannel tcp1 = new TcpServerChannel(49157); ChannelServices.RegisterChannel(tcp1); Remotin...more >>

Attaching to multiple servers with one application
Posted by Roy Chastain at 6/29/2005 3:21:14 PM
I have a service that provides a singleton SAO. I can be running this service on more than one system at a time. I have an application that attempts to use the singleton via remoting. The idea was that this application could connect to more than one instance (machine) of the service at one time....more >>

Error Using Remoting, System.OutOfMemoryException anyone ever seen this?
Posted by Microsoft News at 6/29/2005 9:38:09 AM
Greetings, I am working on a remoting project and have hit one road block after another. I am sure it is because I do not know everything about remoting. My latest problem is that I finally got the remoting to work they way I want. I have a window service setup on my server, it is exposi...more >>

Remoting : Connection over internet
Posted by Venkat at 6/29/2005 3:50:40 AM
We are implementing Remoting with an Http Channel. We are running a Windows Client Application which accesses remote objects hosted in IIS. This Server is accessible over the local network using a local IP as well as over the internet using an external real IP. When accessed over the intr...more >>

Remoting that doesn't work on Windows XP SP2
Posted by jondon at 6/29/2005 12:00:00 AM
I recently moved to Windows XP SP2 and one of my projects is involving remoting. I'm using standart technology for this - tcp channel on port 8080 and binary formating. Now i can't run my project - it freezes between times when i step over the romoting calls. After long waiting something to ha...more >>



huge TMP files (windows\temp)
Posted by Bart Plasmeijer at 6/28/2005 12:00:00 AM
Hi, I did create .net application that is using .net remoting. When I start the application temp (.tmp) files are created into the "windows\temp" folder. When I close the application the tmp files are deleted. I'm not sure of all files are deleted properly because sometimes files are still...more >>

Question on SerializationException
Posted by Alex Cheung at 6/26/2005 8:48:01 PM
I using the Remoting. I want to Serialize a object from server to client. I make an object that has attribute <Serializable()>. But when I return that object thro' a MarshalByRefObject. Client side have an Exception this. An unhandled exception of type 'System.Runtime.Serialization.Serializ...more >>

Proxy to Client
Posted by The Outlander at 6/24/2005 2:35:29 PM
I have a proxy to the client in the server, which is passed by calling a method from the client on the server and passing a reference of the client (this) itself to the server. I hold this in a Client Collection on the server side. It is used to pass information back to clients periodically. How...more >>

Connection(less) to a remoting server
Posted by jabailo NO[at]SPAM texeme.com at 6/24/2005 2:32:56 PM
Is the connection between a Remoting Client and a Remoting Server considered connection-bound or connectionless? ....even if it runs on http? ...more >>

Consuming A Remoting Server
Posted by jabailo NO[at]SPAM texeme.com at 6/24/2005 2:31:54 PM
In my code, I consume a remoting server with: RemotingConfiguration.Configure("ChatClient.exe.config"); // Create a proxy to the remote object. ChatCenter chatcenter = new ChatCenter(); // Create a remotely delegatable object MyCallbackClass callback = new MyCallbackClass (_alias) ; ...more >>

.Net Remoting server as a dll
Posted by whitecm1 NO[at]SPAM gmail.com at 6/24/2005 1:38:29 AM
I'm sorry if this a silly question be can someone please confirm that you can;t use a dll as a .net remoting server (host) Thanks in advance Chris ...more >>

Convert Console App To Windows Service
Posted by jabailo NO[at]SPAM texeme.com at 6/23/2005 10:37:54 AM
I am running the following remoting server as a Console application, and I want to convert it to a Windows Service. [STAThread] static void Main(string[] args) { System.Runtime.Remoting.RemotingConfiguration. Configure("ChatServer.exe.config"); Console.WriteLine("Chat Server Started...more >>

Properties of a remote object
Posted by ThunderMusic at 6/20/2005 9:02:44 PM
Hi, I'm I right or the public properties of a remote object cannot be read? I have some code here that relies on the properties of a remote object and it casts an exception each time saying the function myclass::get_myproperty requires 1 argument and recieved 0 argument. Or maybe it is only ...more >>

Returning interfaces from web-services and remoting servers?
Posted by Ben Fidge at 6/20/2005 2:25:01 AM
Hi I'm just about to start the design and development of a large in-house Content Management System. The system will be ASP.NET based with a Sql Server back-end and will be developed be using VS.NET 2003 Ent. architect. Due to high demand (~10,000 users), and varying network setups across ...more >>

Get TCPClient IP
Posted by Theo at 6/15/2005 2:59:44 PM
Hello, i have a tcplistener that accepts tcpclient connections in a specific port. All i want is to get the IP address for every tcpclient that is trying to connect to my pc. So far i couldn't find any help on this issue. Why is it so difficult to the learn the ip of a remote client? ...more >>

Remoting a good solution???
Posted by PRO_POS at 6/15/2005 12:38:05 PM
I've been assigned a project where I am confident some sort of Client/Server implementation would be most beneficial. My experience in this area is very limited so I am having trouble getting started. I start with a job queue being added to as often as every 15 seconds. My SERVER must ret...more >>

Asynchronous calls and GUI
Posted by leodippolito NO[at]SPAM gmail.com at 6/15/2005 9:47:41 AM
Hello, I have this: WinForms -> Business Layer -> Proxy Layer (host A) Remote Data Layer (host B) If I make an asynchronous call in the Proxy Layer, how can I update the Windows form in the call back? They are in different layers. The proxy object might not exist when the remote...more >>

Server not connected, or connection refused.
Posted by Christopher Schipper at 6/14/2005 1:24:28 PM
I'm working on wiring up some remoting to my website, and have a few questions I can't seem to find answers for online. For one the server code below doesn't matter because the question is related to when the server is OFFLINE. I'll be calling the remote server from a asp.net page and would...more >>

Webservice call over proxy withouth credentials (anonymous)
Posted by Roland_Müller at 6/14/2005 11:13:18 AM
Hi, our customer has a unix proxy server and a windows xp client. The client calls over a c# program a webservice; it must go through the unix proxy. But this should go without username/password -> anonymous! Is it right that we create a System.Net.Webproxy object with the IP-Adress + po...more >>

Caller Ip
Posted by Martin at 6/14/2005 2:38:48 AM
Is it possible to know the caller ip or machine name on the server side? Thanks in advance Martin ...more >>

Cross-appdomain communication
Posted by Bagger at 6/13/2005 11:01:02 PM
Here's what I'm trying to do. I have an app that searches for plugins at runtime. It does this by loading each assembly in the plugins folder and checking to see if it implements the plugins interface. My problem is that while I want to create a list of plugins, I don't want those assemblie...more >>

Cannot find member name System.Data.SqlClient.SqlError
Posted by Ru at 6/11/2005 9:17:03 AM
Hi, I have started getting this error on all client machines when accessing my remoting data access service whenever there any sort of sql exception. The service is running on Windows Server 2003 with .net framework 1.1. The problem started occuring suddenly and I assume after one of the au...more >>

How to change remoting URL at runtime?
Posted by Homam at 6/10/2005 1:52:02 PM
I would like the Remoting client to call the same object on multiple servers. It can be done in Web Services by changing the URL property of the proxy class. But how do you accomplish the same with Remoting? ...more >>

Authentication and security in .NET Remoting
Posted by leodippolito NO[at]SPAM gmail.com at 6/10/2005 7:16:48 AM
Hello, I have a remotable object hosted in a server outside IIS. This way I can't rely on IIS for security. I need to have authentication and encryption of data in this communication cliente-server communication. My questions: - is it possible to authenticate users against my own use...more >>

Cannot find member name System.Data.SqlClient.SqlError
Posted by dave_wurtz NO[at]SPAM asdsoftware.com at 6/9/2005 2:47:19 PM
All, I can't seem to figure this one out: I have a Data Access Layer (DAL) service running on a Windows 2003 Server. Through remoting, I can connect to this service from my Windows XP Pro workstation. This all works great. However, when my DAL service causes a SQL exception, I need the ...more >>

Member Variables in Custom Exception class not visible at client s
Posted by Basavaraj at 6/8/2005 5:25:07 AM
Hi I have a my own customer exception class (inherited from ApplicationException, ISerializable) with a private member variable of type string, now when i catch this exception i get null value in this variable. I went around net and i added my member variable to SerializationInfo in pub...more >>

Remoting and ASP.NET Solution Architecture Advice Needed
Posted by Ahmed Shafi at 6/8/2005 3:25:02 AM
Hi there, I am required to add functionality to an existing application. The application is cpu intensive and does a lot of number crunching and uses legacy apps for these calculations At any given time it can process only one job. It gets the job from a database i.e a job id is given to it...more >>

What's Diffrence between tyoeof() and Type.GetType() ?
Posted by Lawrence Chang at 6/7/2005 11:02:33 PM
Hi My Friends, In WellKnownServiceTypeEntry WKSTE = new WellKnownServiceTypeEntry(typeof(ServiceClass),"HttpService", WellKnownObjectMode.SingleCall); I use typeof(ServiceClass) and it works. I used Type.GetType( "ServiceClass "), it doesn't work. I checked the document of typeof() an...more >>

How to set up Location of remoting configuration file for windows service?
Posted by Lawrence Chang at 6/7/2005 10:52:00 PM
Hi My Friends, I tried to host a remoting object in a wondows service. I use configuration file to configure channels, mode and url. I put the configuration file in the same folder as the windows service exe. Wehn I try to start the windows service, there is always an error, can not find t...more >>

Phantom object??
Posted by PJChan at 6/7/2005 1:27:25 AM
Hi, I'm newish to remoting. I've got a very simple example using server activated single call object. I'm referencing the fully implemented class from the client app (I know it is not ideal, but it is a common way done by most simple samples from Microsoft like RemotingHello). My testing go...more >>

client side lifetime of remote object
Posted by Kumarajothi C at 6/6/2005 6:40:03 AM
Hi All, I have a remote object (MSB), which is hosted on a dotNET NT service. In the onstart method of NT service, i create the Remote object instance and register it to remoting infrastructure using RemotingServices.Marshal API. I have also overridden "InitializeLifetimeService" method on ...more >>

Catching events from a remote class
Posted by ThunderMusic at 6/5/2005 12:52:01 AM
Hi, I need to catch events raised by a remote class. I've heard of the Invoke method, but either I don't understand how it works or it does not do what I need to do. Everything is in .Net. For now (and it doesn't work), the local object gets a reference to the remote class then tries to c...more >>

Why Remoting so slow?
Posted by DotnetFan at 6/3/2005 11:12:08 AM
Would anyone have any performance issues using .Net Remoting? Our objects returns data about 10x slower via remoting architecture. That means RO gets data from DB and returns about 10K-record dataset back across network. So slow. What are the typical catches I should look at? Thanks for ...more >>

Sharing enums btwn client and server
Posted by peter at 6/2/2005 7:47:29 PM
Hi, As part of an application that I am writing I need to find out what "timeframe" we are in. A Timeframe can be one of the following: INITIAL INITIALREADONLY FINAL FINALREADONLY CLOSED Originally, I defined a global enumeration (called Timeframe) for these values, and compiled it...more >>

Changing HTTP CAO to TCP
Posted by RJ at 6/2/2005 10:48:47 AM
I have a simple app, creating a Client Activated Object, with 1.1 Framework, which works great with HTTP channel. I wanted to switch to TCP and I thought it may be as simple as changing HTTPChannel to TCPChannel... probably more to it that that, because I get : System.Net.WebException Additi...more >>


DevelopmentNow Blog