?
Solved

C# Remoting Problems

Posted on 2009-05-05
5
Medium Priority
?
238 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 1200 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 800 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

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…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

800 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