Vault installs fine on my client machine (XP SP1, IIS 5, MSDE 2000)
When I install it on test server Win2k/SP4/IIS5/SQL Server Standard, I have major problems
I try to check log files, but no log files seem to be created, ever.
I've just wasted a couple of hours trying to Vault running on a test server.
Something breaks inside VaultService.Global.Application_Start
I get an except on the very first request to the webservice, and after that requests are fine.
However, even though some webservice requests are responding (such as PIng operation) I can't login. Admin tool responds with:
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Object reference not set to an instance of an object.
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.VaultAdminService.Login(String strHostname, Boolean bUseFullFiles, String username, String strEncryptedPassword, String strRMKey, String& strAuthToken)
--- End of inner exception stack trace ---
Any help would be much appreciated.
Initial Request Results in Object not set to ref exception
Moderator: SourceGear
Solved
Sorry, should have mentioned it was Vault Server 3.0.5
Anyways, I've solved the problem. Looks like the log file dir is what was causing the issue (It didn't exist)
I've created a C:\WINNT\TEMP\sgvault folder, and given everyone full control on it (bad, but oh well), to it, and now vault is working fine
So, 3.0.5 install on WINXP worked straight off
3.0.5 install on Win2K didn't create the log directory, and was dying on initial application start, and never recovering afterwards
Regards,
Sean
Anyways, I've solved the problem. Looks like the log file dir is what was causing the issue (It didn't exist)
I've created a C:\WINNT\TEMP\sgvault folder, and given everyone full control on it (bad, but oh well), to it, and now vault is working fine
So, 3.0.5 install on WINXP worked straight off
3.0.5 install on Win2K didn't create the log directory, and was dying on initial application start, and never recovering afterwards
Regards,
Sean