Cannot login after VS2005 upgrade

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

Moderator: SourceGear

Post Reply
joskirko
Posts: 4
Joined: Sat Aug 11, 2007 9:55 am

Cannot login after VS2005 upgrade

Post by joskirko » Sat Aug 11, 2007 10:03 am

We have been successfully using SourceOffSite 4.2 server and the latest SourceOffSite clients to access our VSS6.0d database both directly within SourceOffSite and within our VS2003 solutions bound to the database through SourceOffSite.

We recently upgraded to VS2005, and now cannot login to the database when opening it through VS2005. We get the error message "Unable to decrypt user key". We can open and access the database as normal from the SourceOffSite clients with no problem.

Older solutions still using VS2003 work fine as well.

Any ideas?

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

Post by lbauer » Sat Aug 11, 2007 2:40 pm

Are you connecting to the secure port with the SOS GUI Client and with VSS 2003, or are you connecting to the unsecure port?
Linda Bauer
SourceGear
Technical Support Manager

joskirko
Posts: 4
Joined: Sat Aug 11, 2007 9:55 am

Post by joskirko » Sat Aug 11, 2007 3:29 pm

We are using the secure port.

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

Post by lbauer » Mon Aug 13, 2007 12:48 pm

This should work -- there are no known issues issues specific to VS 2005 and encryption with SOS.

Are all users having this problem, or is it specific to certain users and certain machines?

When do you get this error -- when opening a solution from Source Control, adding a solution, etc?

Are these new VS 2005 projects, or were they previously in VS.NET 2003?

Does the user have a <servername_orIP>.key file on the client machine in C:\Documents and Settings\<userprofile>\Application Data\SourceGear\SOS?
Linda Bauer
SourceGear
Technical Support Manager

joskirko
Posts: 4
Joined: Sat Aug 11, 2007 9:55 am

Post by joskirko » Mon Aug 13, 2007 6:42 pm

The error happens if I try and open a solution from Source Control: File->Source Control->Open From Source Control, or if I load my solution and it tries to log into the database.

The projects were VS2003 and were upgraded. But I don't think that is related, because it seems that VS2005 cannot connect regardless of the solution.

Currently it is my machine and another external user.

I could not locate the .key file in the location specified. Is this new for VS2005? VS2003 logs on fine without this key file.

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

Post by lbauer » Mon Aug 13, 2007 6:51 pm

The .key file is needed by any SOS client to log into the SOS Server using the secure port.

Are you sure you're connecting to the secure port with the SOS GUI client?

Could you post a screenshot the SOS Manager->General Settings tab (on the SOS Server machine) so we can determine which port is the secure port?
Linda Bauer
SourceGear
Technical Support Manager

joskirko
Posts: 4
Joined: Sat Aug 11, 2007 9:55 am

Post by joskirko » Mon Aug 13, 2007 7:43 pm

Your question about the .key file was the clue to get it working. Our User profiles had been changed on the laptops recently, so the SourceGear folder was not under the current user profile. I moved it into this folder and everything started working.

Thanks for your help.

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

Post by lbauer » Tue Aug 14, 2007 6:16 am

That's good news. Let us know if you run into any other issues.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply