Solved

Staging the server and the client (.NEt Remoting)

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

759 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now