Legacy Port Number Appears when retrieving a project

If you are having a problem using SourceOffSite, post a message here.

Moderator: SourceGear

Post Reply
BrianDrab
Posts: 98
Joined: Tue Mar 25, 2008 1:27 pm
Contact:

Legacy Port Number Appears when retrieving a project

Post by BrianDrab » Thu May 20, 2010 7:55 am

Background
We are using SOS 5.0.2 Professional. When we used version 4 of the software we were using a secure port of 8888. When we installed version 5 we wanted to run them side by side so we kept the version 5 using an unsecured port of 8080. Once we were comfortable with the version 5 product, we uninstalled version 4 and decided to keep version 5 using the unsecured 8080 port.

Issue
When our developers retrieve certain projects from within the Visual Studio 2008 GUI (File...Source Control...Open From Source Control) an error message comes up and it points to the old secured port as shown below.
InvalidPort.jpg
InvalidPort.jpg (18.13 KiB) Viewed 4495 times
After clicking the OK button the "Connect to Server" dialog box comes up showing again the invalid port. When they click into the port field using the mouse the port changes from the invalid 8888 port to the correct 8080 port. A screenshot of this (showing the correct port) is below.
InvalidPort2.jpg
InvalidPort2.jpg (22.94 KiB) Viewed 4495 times
After that everyting seems to work OK so it's more of an annoyance than anything else. Any ideas on why this is happening?

Thank you.
Brian C Drab

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Legacy Port Number Appears when retrieving a project

Post by lbauer » Thu May 20, 2010 3:24 pm

Your projects are probably still bound to the SOS 4.x server on port 8888. This information is written to the MSSCCPRJ.SCC file in the solution/project directories.

These projects are also probably still using the SOS 4.0 client integration, since the .suo file also has information about the original source control provider.

Your best bet is to unbind the projects (File->Source Control->Change Source Control in Visual Studio), save the project and solution files, then switch your plugin in Visual Studio->Tools->Options->Source Control->Plugin Selection to SourceOffSite 5 Client. Then rebind to the SOS 5 server and port. Check in your changes.

Other users can do a fresh Open From Source Control to get the project with the new bindings, or they can unbind and rebind their own copies of the projects.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply