Version 3.5.1.4786
I have been using Vault for almost a year and love it. But, yesterday I was in the middle of working and tried to open a project in Visual Studio .NET and got this error:
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at VaultServiceSQL.VaultSqlSystem.GetLoginInfo(VaultSqlConn conn, String strLogin, String strHostname, String strSessionID, VaultUser vu, String& strDbHashPwd, Int32& nAttempts)
at VaultServiceAPILib.VaultServiceAPI.AuthenticateAndLogin(VaultSqlConn conn, String strLogin, String strDecryptedPassword, String strHostname, String strSessionID, VaultUser vu, Guid& gSessionGUID, Int32& nValidUserAttempts)
at VaultServiceAPILib.VaultServiceAPI.Login(VaultSqlConn conn, String strLogin, String strDecryptedPassword, String strHostname, String strSessionID, String& strToken, VaultUser& vu, Int32& nValidUserAttempts)
at VaultServiceAPILib.VaultServiceAPISystem.DoLogin(Boolean bAdminLogin, HttpApplicationState has, HttpSessionState hss, String strHostname, Boolean bUseFullFiles, String strLogin, String strPassword, String strRMKey, String& strAuthToken)
at VaultService.VaultService.Login(String strHostname, Boolean bUseFullFiles, String username, String strEncryptedPassword, String strRMKey, String& strAuthToken)
--- End of inner exception stack trace ---
I clicked on the "Click here to search for more information" link and it took me to what looked like an exact support entry for my situation. It indicated that my sgvault temp directory didn't have the proper rights for the Network Service or ASPNET user and that I should manually create the directory, give full rights to it, and reset IIS. I did all that and there was no change.
Yesterday, when this first started, I detected that my Default Web Site had "stopped". It took a few tries, including a reboot to get it started again. I kept getting the same error.
The forum posting is from June 2005. There are no other posts about this. It doesn't fix my problem. I think someone else had a different issue and thought that this was the fix when it actually started working for some other reason. I'm able to connect to the database with Sql Server Management Studio, so it's not a rights issue with the database. Can anyone help me figure this out? It is extremely crippling. I'm having to resort to WinZip in order to make sure I won't lose any work.
Thanks,
Vault Suddenly Broke and I Can't Fix It
Moderator: SourceGear
Re: Vault Suddenly Broke and I Can't Fix It
I got it fixed. You should update the "Unable to connect to server" sticky post to include as one of the likely causes that if the transaction log for the sgvault database has reached its limit and it has not been backed up with the truncate option selected, then this might prevent even logging into Vault (connecting to the server and database). However in a roundabout way that post led me to the resolution. I could have resolved it very quickly with that little tidbit of information.
You never know how much you need or rely on something until it's gone. Thanks for the product, guys (and gals).
JT
[quote="jtfml"]Version 3.5.1.4786
I have been using Vault for almost a year and love it. But, yesterday I was in the middle of working and tried to open a project in Visual Studio .NET and got this error:
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at VaultServiceSQL.VaultSqlSystem.GetLoginInfo(VaultSqlConn conn, String strLogin, String strHostname, String strSessionID, VaultUser vu, String& strDbHashPwd, Int32& nAttempts)
at VaultServiceAPILib.VaultServiceAPI.AuthenticateAndLogin(VaultSqlConn conn, String strLogin, String strDecryptedPassword, String strHostname, String strSessionID, VaultUser vu, Guid& gSessionGUID, Int32& nValidUserAttempts)
at VaultServiceAPILib.VaultServiceAPI.Login(VaultSqlConn conn, String strLogin, String strDecryptedPassword, String strHostname, String strSessionID, String& strToken, VaultUser& vu, Int32& nValidUserAttempts)
at VaultServiceAPILib.VaultServiceAPISystem.DoLogin(Boolean bAdminLogin, HttpApplicationState has, HttpSessionState hss, String strHostname, Boolean bUseFullFiles, String strLogin, String strPassword, String strRMKey, String& strAuthToken)
at VaultService.VaultService.Login(String strHostname, Boolean bUseFullFiles, String username, String strEncryptedPassword, String strRMKey, String& strAuthToken)
--- End of inner exception stack trace ---
I clicked on the "Click here to search for more information" link and it took me to what looked like an exact support entry for my situation. It indicated that my sgvault temp directory didn't have the proper rights for the Network Service or ASPNET user and that I should manually create the directory, give full rights to it, and reset IIS. I did all that and there was no change.
Yesterday, when this first started, I detected that my Default Web Site had "stopped". It took a few tries, including a reboot to get it started again. I kept getting the same error.
The forum posting is from June 2005. There are no other posts about this. It doesn't fix my problem. I think someone else had a different issue and thought that this was the fix when it actually started working for some other reason. I'm able to connect to the database with Sql Server Management Studio, so it's not a rights issue with the database. Can anyone help me figure this out? It is extremely crippling. I'm having to resort to WinZip in order to make sure I won't lose any work.
Thanks,[/quote]
You never know how much you need or rely on something until it's gone. Thanks for the product, guys (and gals).
JT
[quote="jtfml"]Version 3.5.1.4786
I have been using Vault for almost a year and love it. But, yesterday I was in the middle of working and tried to open a project in Visual Studio .NET and got this error:
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at VaultServiceSQL.VaultSqlSystem.GetLoginInfo(VaultSqlConn conn, String strLogin, String strHostname, String strSessionID, VaultUser vu, String& strDbHashPwd, Int32& nAttempts)
at VaultServiceAPILib.VaultServiceAPI.AuthenticateAndLogin(VaultSqlConn conn, String strLogin, String strDecryptedPassword, String strHostname, String strSessionID, VaultUser vu, Guid& gSessionGUID, Int32& nValidUserAttempts)
at VaultServiceAPILib.VaultServiceAPI.Login(VaultSqlConn conn, String strLogin, String strDecryptedPassword, String strHostname, String strSessionID, String& strToken, VaultUser& vu, Int32& nValidUserAttempts)
at VaultServiceAPILib.VaultServiceAPISystem.DoLogin(Boolean bAdminLogin, HttpApplicationState has, HttpSessionState hss, String strHostname, Boolean bUseFullFiles, String strLogin, String strPassword, String strRMKey, String& strAuthToken)
at VaultService.VaultService.Login(String strHostname, Boolean bUseFullFiles, String username, String strEncryptedPassword, String strRMKey, String& strAuthToken)
--- End of inner exception stack trace ---
I clicked on the "Click here to search for more information" link and it took me to what looked like an exact support entry for my situation. It indicated that my sgvault temp directory didn't have the proper rights for the Network Service or ASPNET user and that I should manually create the directory, give full rights to it, and reset IIS. I did all that and there was no change.
Yesterday, when this first started, I detected that my Default Web Site had "stopped". It took a few tries, including a reboot to get it started again. I kept getting the same error.
The forum posting is from June 2005. There are no other posts about this. It doesn't fix my problem. I think someone else had a different issue and thought that this was the fix when it actually started working for some other reason. I'm able to connect to the database with Sql Server Management Studio, so it's not a rights issue with the database. Can anyone help me figure this out? It is extremely crippling. I'm having to resort to WinZip in order to make sure I won't lose any work.
Thanks,[/quote]
JT