Login to admin fails
Moderator: SourceGear
Login to admin fails
New install of 3.0.7 on a Windows 2000 server running .net 1.1. The database is not local and I used an sql user/password to do the install. Installation proceeded without error. http://localhost/VaultService/ comes up fine in web browser. Upon trying to log into the admin app, I get the following 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 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 ---
My login is:
username: admin
password: password
host: localhost
Going to vaultservice.asmx works and ping returns 1.
No other web.config at the root web.
I cannot find sgvault.log anywhere on the drive.
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 ---
My login is:
username: admin
password: password
host: localhost
Going to vaultservice.asmx works and ping returns 1.
No other web.config at the root web.
I cannot find sgvault.log anywhere on the drive.
Looks like the same problem this user had:
http://support.sourcegear.com/viewtopic.php?t=3981
We had them manually create the sgvault directory in %Windir%\Temp, verify the account used by Vault had full control over that directory (Machine\ASPNET or a custom account), and restart IIS.
http://support.sourcegear.com/viewtopic.php?t=3981
We had them manually create the sgvault directory in %Windir%\Temp, verify the account used by Vault had full control over that directory (Machine\ASPNET or a custom account), and restart IIS.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Spoke too soon. Admin works fine, I created a user and a couple repositories. User has all access to all repositories. I log into the client just fine. However, when I try to add a file to the root folder (or create any folders), I get:
[6/22/2005 11:13:21 AM] Preparing data to begin transaction
[6/22/2005 11:13:21 AM] Beginning transaction
[6/22/2005 11:13:22 AM] Add $/servers.html
[6/22/2005 11:13:23 AM] Upload for item $/servers.html failed, retrying...
[6/22/2005 11:13:27 AM] Upload for item $/servers.html failed, retrying...
[6/22/2005 11:13:28 AM] Upload for item $/servers.html failed, retrying...
[6/22/2005 11:13:28 AM] Upload for item $/servers.html failed too many times, aborting transaction.
Please verify your network settings using the Options dialog under the Tools menu in the Vault GUI Client.
The specific error was "The server had an error processing the file upload but did not return an error header. The remote server returned an error: (500) Internal Server Error."
An exception was encountered during the transaction. Exception: The server had an error processing the file upload but did not return an error header. The remote server returned an error: (500) Internal Server Error. at VaultClientOperationsLib.ClientInstance.UploadItem(ChangeSetItem item, String txID, Int64 totalBytes, Int64& bytesWritten, Byte[]& streamBuffer, Int32& bytesWrittenThisFile, Boolean bIsImport)
at VaultClientOperationsLib.ClientInstance.Commit(ChangeSetItemColl givenItems, Boolean keepCheckedOut, Boolean removeLocalCopy, Boolean bIsImport, DateTime dateImport, Int32 nUserIDImport, Int64& nRevID)
[6/22/2005 11:13:28 AM] Ending the transaction
[6/22/2005 11:13:29 AM] Transaction failed
[6/22/2005 11:13:21 AM] Preparing data to begin transaction
[6/22/2005 11:13:21 AM] Beginning transaction
[6/22/2005 11:13:22 AM] Add $/servers.html
[6/22/2005 11:13:23 AM] Upload for item $/servers.html failed, retrying...
[6/22/2005 11:13:27 AM] Upload for item $/servers.html failed, retrying...
[6/22/2005 11:13:28 AM] Upload for item $/servers.html failed, retrying...
[6/22/2005 11:13:28 AM] Upload for item $/servers.html failed too many times, aborting transaction.
Please verify your network settings using the Options dialog under the Tools menu in the Vault GUI Client.
The specific error was "The server had an error processing the file upload but did not return an error header. The remote server returned an error: (500) Internal Server Error."
An exception was encountered during the transaction. Exception: The server had an error processing the file upload but did not return an error header. The remote server returned an error: (500) Internal Server Error. at VaultClientOperationsLib.ClientInstance.UploadItem(ChangeSetItem item, String txID, Int64 totalBytes, Int64& bytesWritten, Byte[]& streamBuffer, Int32& bytesWrittenThisFile, Boolean bIsImport)
at VaultClientOperationsLib.ClientInstance.Commit(ChangeSetItemColl givenItems, Boolean keepCheckedOut, Boolean removeLocalCopy, Boolean bIsImport, DateTime dateImport, Int32 nUserIDImport, Int64& nRevID)
[6/22/2005 11:13:28 AM] Ending the transaction
[6/22/2005 11:13:29 AM] Transaction failed
Check this KB article for possible solutions.
http://support.sourcegear.com/viewtopic.php?t=735
(Note: you can now enable or disable chunked encoding from the Vault GUI client under Tools->Options->Network settings.)
http://support.sourcegear.com/viewtopic.php?t=735
(Note: you can now enable or disable chunked encoding from the Vault GUI client under Tools->Options->Network settings.)
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
I'll log a feature request to see if we can provide a better error or detect this setting in SQL Server.
In the meantime, I've added info about XML fibers mode to the KB article about troubleshooting upload failures.
http://support.sourcegear.com/viewtopic.php?p=2449
In the meantime, I've added info about XML fibers mode to the KB article about troubleshooting upload failures.
http://support.sourcegear.com/viewtopic.php?p=2449
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
K, heard the bad news today, they want the database removed from the server. They could not change the fibers thing and their backup scripts failed due to:
"getting errors due to a 'Quoted Identifier' setting that the sgvault database needs to have set"
Don't know if there's anything we can do about it, but they yanked the db off the server. Doubt they'll even try again.
"getting errors due to a 'Quoted Identifier' setting that the sgvault database needs to have set"
Don't know if there's anything we can do about it, but they yanked the db off the server. Doubt they'll even try again.
Quite surprising as more and more database applications will be using XML. SQL Server 2005 may be another alternative, as it has more functionality when using XML.nalenb wrote:They could not change the fibers thing
BACKUP DATABASE does not have problems here. Are you sure they didn't try to run a maintenance plan using Microsoft's Database maintenance wizard? See Maintenance: Vault/Dragnet database(s) for more information on the proper maintenance routines with Vault's database.nalenb wrote:their backup scripts failed due to:
"getting errors due to a 'Quoted Identifier' setting that the sgvault database needs to have set"
Sorry to hear this. Would one of your DBAs want to talk?nalenb wrote:they yanked the db off the server. Doubt they'll even try again.
Jeff Clausius
SourceGear
SourceGear
You might consider another hosting solution for Vault:
http://www.orcsweb.com/sourcegear/sourc ... sting.aspx
http://www.orcsweb.com/sourcegear/sourc ... sting.aspx
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager