Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Connection problem error message:

 NHibernate.ADOException: cannot open connection ---> System.Data.Odbc.OdbcException: ERROR [28000] [Microsoft][SQL Server Native Client 10.0][SQL Server]Login failed for user 'view5service'.
ERROR [42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]Cannot open database "VMwareView5" requested by the login. The login failed.
ERROR [28000] [Microsoft][SQL Server Native Client 10.0][SQL Server]Login failed for user 'view5service'.
ERROR [42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]Cannot open database "VMwareView5" requested by the login. The login failed.
   at System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode)
   at System.Data.Odbc.OdbcConnectionHandle..ctor(OdbcConnection connection, OdbcConnectionString constr, OdbcEnvironmentHandle environmentHandle)
   at System.Data.Odbc.OdbcConnectionOpen..ctor(OdbcConnection outerConnection, OdbcConnectionString connectionOptions)
   at System.Data.Odbc.OdbcConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
   at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
   at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
   at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
   at System.Data.Odbc.OdbcConnection.Open()
   at NHibernate.Connection.DriverConnectionProvider.GetConnection()
   at NHibernate.Impl.SessionFactoryImpl.OpenConnection()
   --- End of inner exception stack trace ---
   at NHibernate.Impl.SessionFactoryImpl.OpenConnection()
   at NHibernate.AdoNet.ConnectionManager.GetConnection()
   at NHibernate.Transaction.AdoTransaction.Begin(IsolationLevel isolationLevel)
   at NHibernate.Impl.SessionImpl.BeginTransaction(IsolationLevel isolationLevel)
   at VMware.Sim.ServiceCore.Persistence.Database.SimDbTransaction.Begin(Nullable`1 isolationLevel)
   --- End of inner exception stack trace ---
share|improve this question

closed as not a real question by Wesley, EEAA, GregD, Ward, Sven Feb 18 '12 at 9:22

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

Login failed for user 'view5service' would be the issue.

Check the password for the account, make sure you can connect to the database and have the correct rights as that user.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.