new installation, sourcegear vault no worky

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

Moderator: SourceGear

Post Reply
ayahuasca
Posts: 9
Joined: Fri Jun 03, 2005 9:22 pm

new installation, sourcegear vault no worky

Post by ayahuasca » Fri Jun 03, 2005 9:26 pm

I'm on XP Pro, IIS 5.1, .NET Framework 1.1 SP 1, MSDE 2000 (the latest one, whichever it may be). What am I doing wrong? I installed in what I hear is the correct order, IIS then MSDE then .Netfx then Vault.
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 ---
When I visit the http://snowball/VaultService/ and http://snowball/VaultService/VaultService.asmx URLs, I get what I'm supposed to get, no errors. Yet I can't log in and I keep getting that error.

ayahuasca
Posts: 9
Joined: Fri Jun 03, 2005 9:22 pm

Post by ayahuasca » Fri Jun 03, 2005 9:27 pm

Addendum: web login gives me "login failed" with no elaboration...

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Fri Jun 03, 2005 10:01 pm

Most likely, you can find out the reason for the problem logged in the server log file. Are you trying to use Active Directory authentication? Can you log in with the "admin" user?

ayahuasca
Posts: 9
Joined: Fri Jun 03, 2005 9:22 pm

Post by ayahuasca » Sat Jun 04, 2005 12:35 pm

Jeremy-I have no server log file; indeed, there is no sgvault folder in C:\Windows\temp. I'm trying to log in as "Admin", since this is my first time installing Vault and I've never added a user login to it. I don't have Active Directory.

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Sat Jun 04, 2005 9:59 pm

This is very confusing then. The stack trace that you posted indicates that it's failing in the login procedure. The log file is created in the startup, which must happen before the login procedure can be called. Can you make sure that the account that Vault is running under has full control of c:\windows\temp? It's most likely running as MACHINENAME\ASPNET on your system, but it could be different if you installed with impersonation.

ayahuasca
Posts: 9
Joined: Fri Jun 03, 2005 9:22 pm

Post by ayahuasca » Sun Jun 05, 2005 3:56 pm

Well, during one stage of installation, the installer asked me to allow it to set permissions for a number of folders. I told it yes. I'll check to see if SNOWBALL/ASPNET has permissions on \Windows\Temp

ayahuasca
Posts: 9
Joined: Fri Jun 03, 2005 9:22 pm

Post by ayahuasca » Sun Jun 05, 2005 4:09 pm

Apparently not! Very curious. I'll add the permission and see what happens from there. I installed as an Administrator, so the installer shouldn't have had any problem granting the correct permissions.

Edit: I gave full control to ASPNET. Same exception and inability to log, same lack of a log file.
Attachments
Screenshot - 6_5_2005 , 5_15_08 PM.gif
Screenshot - 6_5_2005 , 5_15_08 PM.gif (16.83 KiB) Viewed 11318 times
Screenshot - 6_5_2005 , 5_16_12 PM.gif
Screenshot - 6_5_2005 , 5_16_12 PM.gif (38.05 KiB) Viewed 11318 times
Screenshot - 6_5_2005 , 5_16_43 PM.gif
Screenshot - 6_5_2005 , 5_16_43 PM.gif (41.06 KiB) Viewed 11318 times

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Sun Jun 05, 2005 9:26 pm

Email me using the button below this post with your phone number. We'll be able to run through more possibilities on the phone.

ayahuasca
Posts: 9
Joined: Fri Jun 03, 2005 9:22 pm

Post by ayahuasca » Sun Jun 05, 2005 11:52 pm

I've emailed you using the form, thanks!

ayahuasca
Posts: 9
Joined: Fri Jun 03, 2005 9:22 pm

Post by ayahuasca » Mon Jun 06, 2005 2:05 pm

jeremy-sorry I missed your call this morning. Please shoot me an email to set up a better call time. Thanks!

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Mon Jun 06, 2005 2:53 pm

Manually creating the server log directory and performing an iisreset solved the problem.

ayahuasca
Posts: 9
Joined: Fri Jun 03, 2005 9:22 pm

Post by ayahuasca » Mon Jun 06, 2005 3:01 pm

Jeremy is the bomb, people.

Echelon
Posts: 1
Joined: Wed Jun 22, 2005 4:54 pm

Post by Echelon » Wed Jun 22, 2005 4:56 pm

ayahuasca wrote:Jeremy is the bomb, people.
Your message has been flagged for review by the Echelon program.

ayahuasca
Posts: 9
Joined: Fri Jun 03, 2005 9:22 pm

Post by ayahuasca » Wed Jun 22, 2005 5:24 pm

Ha!

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Thu Jun 23, 2005 6:59 am

:D Nice.

Post Reply