Solved

C# Remoting Problems

Posted on 2009-05-05
5
234 Views
Last Modified: 2013-12-17
Hi guys I am currently trying to make a server and client application via remoting in C#
I was pointed to this article:

http://www.codeproject.com/KB/IP/Net_Remoting.aspx

After taking the code from there and putting it into my own projects and a lot of headaches I still cant get these two to work together.

Visual studio shows no errors for both projects, but the problem is after i press the "Send" button on the client application i get an error.

I have uploaded my projects to my web server so please feel free to look at them and correct anything that is wrong with them. Here is the link:

http://www.programming-help.com/csharp/ServerAndClient.zip

Thanks in advance!

-Anthony
0
Comment
Question by:Anthony408
  • 2
  • 2
5 Comments
 
LVL 26

Accepted Solution

by:
Anurag Thakur earned 300 total points
ID: 24312006
is you firewall configured as on or off
if its on then try connecting to the remoting server by switching it off
0
 
LVL 6

Assisted Solution

by:Cebik
Cebik earned 200 total points
ID: 24313176
i cant find why!
maybe because you have 2 class RemotableObjects
i think it must be common
or 2 class but with the same interface

i make example based on this article and it's work
(when this class is common)

http://www.speedyshare.com/332700917.html
0
 
LVL 6

Expert Comment

by:Cebik
ID: 24313309
and project in vs2005 express
http://www.speedyshare.com/146239156.html
start solution from Remoting\Remoting.sln
0
 
LVL 1

Author Comment

by:Anthony408
ID: 24321100
I found the problem: in both projects they need to have the same namespace and my firewall like ragi0017 said needs to be off or at least allow access to the server application.

Thanks to everyone that helped!
0
 
LVL 1

Author Closing Comment

by:Anthony408
ID: 31578336
Thanks everyone!
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question