Solved

Staging the server and the client (.NEt Remoting)

Posted on 2004-08-16
1
278 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
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…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

623 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