Problem with client login to repository

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

Moderator: SourceGear

Post Reply
cousinduck
Posts: 10
Joined: Fri Jan 04, 2008 12:46 pm

Problem with client login to repository

Post by cousinduck » Wed Feb 06, 2008 9:55 am

I am having a "Object reference not set to an instance of an object" when trying to connect from either the client or the IDE.

I am able to log into the vaultservice web interface without any problems.

Below is the most recent sgvault logs. (note: the failed logins are me trying other possible passwords, but my password does work for the vaultservice.) Also, it seems to log me in and then log me out three minutes later.

System Started
Version 4.0.6.15954
Cache Level = 1
DataBase Buffer Size (KB) = 256
LogFile Path = C:\WINNT\Temp\sgvault
Log Level = Quiet
Archive Log = Weekly
ReverseDNS Lookup = True
Maximum HTTP Request Length = 102400
Overwrite Log on Startup = False
Session Timeout = 4320
SGVault Working Directory = C:\WINNT\Temp
SGVault Server URL =
Identity = CORP\gadams
----2/6/2008 9:22:28 AM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled Login
----2/6/2008 9:22:37 AM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled Logout
----2/6/2008 9:22:37 AM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled Login
----2/6/2008 9:22:48 AM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled Logout
----2/6/2008 9:22:48 AM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled Login failed: FailInvalidPassword
----2/6/2008 9:23:01 AM vault--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled Login failed: FailNotValidLogin
----2/6/2008 9:23:09 AM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled Login
----2/6/2008 9:23:12 AM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled Logout
----2/6/2008 9:23:30 AM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled Login
----2/6/2008 9:24:48 AM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled Logout
----2/6/2008 9:35:03 AM gadams--test-har-fil.natcogroup.com(127.0.0.1)--SSL Disabled Login
----2/6/2008 9:36:24 AM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled Login
----2/6/2008 9:39:38 AM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled Logout
----2/6/2008 9:39:38 AM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled Login failed: FailInvalidPassword
----2/6/2008 9:39:49 AM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled Login
----2/6/2008 9:43:01 AM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled Logout
----2/6/2008 9:43:43 AM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled Login
----2/6/2008 9:46:29 AM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled Login
----2/6/2008 9:48:04 AM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled Logout
----2/6/2008 9:48:04 AM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled Login

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Wed Feb 06, 2008 11:04 am

At what point do you get that error? By that, I mean is it before connecting to the repository or after?

Does anyone else connect to the same repository, and do they have any problems?

The login/logout thing isn't anything to worry about.

cousinduck
Posts: 10
Joined: Fri Jan 04, 2008 12:46 pm

Post by cousinduck » Wed Feb 06, 2008 11:14 am

I receive the error when I'm trying to access the repository in the Vault Client. In the .NET IDE, I receive it after I am prompted to login.

The only information I can offer is the last time I used vault (Friday, I live in New Orleans and we just had Mardi Gras), your support team (Linda) and I had just fixed a problem where my network password had changed and I needed to change the impersonation settings. I checked that in the web.config today and everything was the same.

cousinduck
Posts: 10
Joined: Fri Jan 04, 2008 12:46 pm

Post by cousinduck » Wed Feb 06, 2008 2:08 pm

One more piece of information I just discovered:

In the .net IDE, when I go to File>Open From Source Control, I receive a Visual Studio Error (a pop-up box):

SourceGearLLC.VaultVsipClient.VsipUtility+AssertionFailedException

Any help would be greatly appreciated.

cousinduck
Posts: 10
Joined: Fri Jan 04, 2008 12:46 pm

Post by cousinduck » Wed Feb 06, 2008 2:18 pm

I've changed the logging mode to Debug. There seems to be some kind of SQL login failed, but it doesn't make any sense to me. Here is the log generated for two separate login attempts:

System Started
Version 4.0.6.15954
Cache Level = 1
DataBase Buffer Size (KB) = 256
LogFile Path = C:\WINNT\Temp\sgvault
Log Level = Debug
Archive Log = Weekly
ReverseDNS Lookup = True
Maximum HTTP Request Length = 102400
Overwrite Log on Startup = False
Session Timeout = 4320
SGVault Working Directory = C:\WINNT\Temp
SGVault Server URL =
Identity = CORP\gadams
----2/6/2008 2:14:28 PM --()-- Beginning SQL transaction 36446461
----2/6/2008 2:14:28 PM --()-- SQL transaction 36446461 successfully committed.
----2/6/2008 2:14:28 PM --()-- Beginning SQL transaction 59582700
----2/6/2008 2:14:28 PM --()-- SQL transaction 59582700 successfully committed.
----2/6/2008 2:14:33 PM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled Beginning SQL transaction 34627969
----2/6/2008 2:14:33 PM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled SQL transaction 34627969 successfully rolled back.
----2/6/2008 2:14:33 PM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled Login failed: FailInvalidPassword
----2/6/2008 2:14:42 PM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled Beginning SQL transaction 43216271
----2/6/2008 2:14:42 PM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled SQL transaction 43216271 successfully committed.
----2/6/2008 2:14:42 PM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled Login
----2/6/2008 2:14:42 PM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled GetUserList returned: Success
----2/6/2008 2:14:42 PM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled GetUserOptions returned: Success
----2/6/2008 2:14:42 PM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled Success
----2/6/2008 2:14:42 PM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled GetRepositories returned: Success
----2/6/2008 2:19:00 PM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled Logout
----2/6/2008 2:19:00 PM --()-- Beginning SQL transaction 36472305
----2/6/2008 2:19:00 PM --()-- SQL transaction 36472305 successfully committed.
----2/6/2008 2:19:00 PM --()-- Beginning SQL transaction 39392417
----2/6/2008 2:19:00 PM --()-- SQL transaction 39392417 successfully committed.
----2/6/2008 2:19:07 PM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled Beginning SQL transaction 38638146
----2/6/2008 2:19:07 PM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled SQL transaction 38638146 successfully committed.
----2/6/2008 2:19:07 PM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled Login
----2/6/2008 2:19:51 PM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled Beginning SQL transaction 5681612
----2/6/2008 2:19:51 PM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled SQL transaction 5681612 successfully committed.
----2/6/2008 2:19:51 PM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled Login
----2/6/2008 2:19:51 PM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled GetUserOptions returned: Success
----2/6/2008 2:19:51 PM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled Success
----2/6/2008 2:19:51 PM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled GetRepositories returned: Success
----2/6/2008 2:19:51 PM gadams--thv-lt-0063.natcogroup.com(192.168.65.77)--SSL Disabled GetUserList returned: Success

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Wed Feb 06, 2008 3:02 pm

I would wonder if some old information isn't in the cache. Try first clearing your Client Side Cache. You will probably want to keep cachemember_workingfolderassignments, but the rest can be removed or renamed (including _sgvault) so that Vault rebuilds those pieces.

Let me know the results after that.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Wed Feb 06, 2008 3:05 pm

Our posts got crossed. Still clear your client cache first.

Login failed: FailInvalidPassword =user password, not SQL password.

I do see things in what you posted though that also indicate a .NET problem. You could uninstall and reinstall your 2.0 .NET framework by using the follow commands in the command prompt after changing directories to C:\Windows\Microsoft.NET\framework\v2.0.50726:

Code: Select all

aspnet_regiis -u
and then

Code: Select all

aspnet_regiis -i

cousinduck
Posts: 10
Joined: Fri Jan 04, 2008 12:46 pm

Post by cousinduck » Wed Feb 06, 2008 3:45 pm

Clearing the Client Side Cache solved both problems. Thank you for your help.

Post Reply