Solved

C# Remoting Problems

Posted on 2009-05-05
5
236 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

688 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