Solved

Staging the server and the client (.NEt Remoting)

Posted on 2004-08-16
1
277 Views
Last Modified: 2010-04-15
We have a server application and many client applications which talk to each other. The configuration parameters are put in the database. Today we moved the server application to a different server. We are having the following problems both with the server and the clients.


With the server I get this error when I try to test it :
 
System.Net.Sockets.SocketException - Only one usage of each socket address is normally permitted

What I understand is that the same configuration paramters cannot be used again i.e. port number, url etc. If so how can I void the previous socket address?




with the Client :

System.Net.Sockets.SocketException - an existing connection forcibly closed by the remote host

No clue about this error?


0
Comment
Question by:tech_question
[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
1 Comment
 
LVL 7

Accepted Solution

by:
NipNFriar_Tuck earned 500 total points
ID: 11812945
From what I can tell the reason that you are getting this error is that there is already an application running on the server with the url:port that you want your applciation to run on.  This will cause both the error you get on the server and the error you get on the client.  The reason for the error on the client is that it is trying to execute a command that the application listening to on that port does not underdtand.

The resolution is basically the same for both a windows and a web application but how it is implemented may differ.  Basically on a windows application there is either an application configuration that you can change or you have to go into the code to change it, for the web it is probably setup via the site settings.  Also, the url:port will probably need to be changed on the client.  To be more specific I would have to know more information about the application.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Suggested Courses

752 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