Wrox Programmer Forums
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 5th, 2003, 04:15 AM
Registered User
 
Join Date: Jun 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default .NET Remoting VB.NET

It has been a growing concern about the remoting that dotnet offers.

I have been developing to major projects using the coding examples given in the books Professional VB.NET 2nd Edition. Ofcourse I have extended the examples to suite the requirements.

Now I have programmed a Remoting Server, that use the reflection to instantiate the attributed classes in the assembly, and register them as listeners on a TCP port and HTTP port.

The server starts up and everything works well. The client connects and communicates well with the server. While developing this also works well. Stopping/Starting the development projects also works fine.

But THEM! something happens... On the restart of the server it no longer can register to the TCP Port, since it believes that it is already in use.

I have also noticed when this happens SQL Server can no longer bind to its TCP Port 1433.

Though if I wait to restart the Remoting Server, then it does connect and bind to the TCP port and HTTP port.

The problem with this is that it takes about 5- 10 minutes before the ports are released.

This has happened at my home development PC running (Windows 2003 STD), VMWare - (Windows 2003 STD), VMWare ( Windows 2000 ) and Vmware ( Windows XP ).

Though luckily to at my work development PCs.

After consulting may different internet sites, I could not find a suitable solution.

The only one I currently have is to re-install, or to write a lower level remoting class to try to prevent this of error to occur.

I also know that there are other Remoting classes available to buy, but I do not see why this should be a solution, if something should be part of the dotnet framework.



Mr. Jean-Pierré Vermeulen
[email protected]
 
Old June 5th, 2003, 05:47 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Did you try to connect to the ports and see what responds?
Did you try to use a program like TCPView to see what program has what port open?

If your getting told the ports are busy- the OS thinks they are. I'd expect it's due to a bug in the program- but you won't know unless you check out the ports and see who has them "taken"



Hal Levy
Daddyshome, LLC





Similar Threads
Thread Thread Starter Forum Replies Last Post
VB.NET remoting fashley All Other Wrox Books 1 December 4th, 2008 03:46 AM
Remoting with C# and VB.Net AliJ General .NET 0 March 11th, 2007 06:07 AM
.NET Remoting vikyjain General .NET 0 March 7th, 2005 12:50 AM
.NET Remoting application in vb.net Tek4VB .NET Web Services 6 November 19th, 2003 09:59 AM
.NET Enterprise Development in VB.NET Remoting burkert All Other Wrox Books 0 June 24th, 2003 09:04 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.