I have so far been unable to get the Vault Server properly running under the Windows 7 beta. I've installed IIS (with the IIS Meta base and ASP.NET components), VS 2008 which gives me SQL Server 2005 express SP2. I've enabled the SQL Named pipes and TCP/IP client protocols. Then installed Vault server using Machine - NT AUTHORITY/NETWORK SERVICE process model.
Server installed fine with no problems and created the sgvault and sgmaster databases. I can see the http://<myhost>/VaultService/ and http://<myhost>/VaultService/Admin web pages put when I try to login I get:
"Login Failed: The Vault Server could not establish a connection to the database. Please check the server's log for detailed information. (FailDBConn)"
The server logs show this:
# SourceGear Vault Server
----17/01/2009 13:21:59 admin--fe80:346:af7f:79b4%12(fe80:346:af7f:79b4%12)--SSL Disabled Vault Failed to establish a connection to the database.
----17/01/2009 13:21:59 admin--fe80:346:af7f:79b4%12(fe80:346:af7f:79b4%12)--SSL Disabled System.Data.SqlClient.SqlException: Cannot open database "sgvault" requested by the login. The login failed.
Login failed for user 'IIS APPPOOL\VaultAppPool'.
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)
at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)
at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)
at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()
at VaultServiceSQL.VaultSqlConn.OpenConn()
at VaultServiceAPILib.VaultServiceAPISystem.GetOpenSqlConn(VaultSqlConn& conn) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)
at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)
at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)
at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()
at VaultServiceSQL.VaultSqlConn.OpenConn()
at VaultServiceAPILib.VaultServiceAPISystem.GetOpenSqlConn(VaultSqlConn& conn)
Any Help would be much appreciated.
Richard
Problem installing Vault Server under Windows 7
Moderator: SourceGear
Re: Problem installing Vault Server under Windows 7
Okay, I've found a solution which may be of help to others. Open the Computer Management Console then go to Services and Applications > Internet Information Services (IIS) Manager.
In the Connections pane go to Application Pools then right click on VaultAppPool and select Advanced Settings... Then in the Process Model section change the identity from ApplicationPoolIdentity to NetworkService.
Everything seems to work fine now.
In the Connections pane go to Application Pools then right click on VaultAppPool and select Advanced Settings... Then in the Process Model section change the identity from ApplicationPoolIdentity to NetworkService.
Everything seems to work fine now.
Re: Problem installing Vault Server under Windows 7
Thanks for the update. That will be useful information.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
-
- Posts: 2
- Joined: Sat Feb 14, 2009 3:10 am
Re: Problem installing Vault Server under Windows 7
rdk: you're the man.
I was about to give up on Windows 7 because I need Vault to do some freelancing projects, and found your post. Vault works great for me now on Windows 7.
Thank you!
ps. SourceGear: you're great.
I was about to give up on Windows 7 because I need Vault to do some freelancing projects, and found your post. Vault works great for me now on Windows 7.
Thank you!
ps. SourceGear: you're great.
Re: Problem installing Vault Server under Windows 7
Thanks for the update. That's good news. We do want to remind our users that we don't yet fully support Windows 7, so you might still run into some other issues.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager