Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Staging the server and the client (.NEt Remoting)

Posted on 2004-08-16
1
Medium Priority
?
279 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 2000 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

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…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

704 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