Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# hawnk 10/25/2007 11:26 PM
Hello all my web site server installations error;
An error occured: 

NHibernate.ADOException: Could not create connection from Driver ---> System.Data.SqlClient.SqlException: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject) 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 NHibernate.Connection.DriverConnectionProvider.GetConnection() --- End of inner exception stack trace --- at NHibernate.Connection.DriverConnectionProvider.GetConnection() at Cuyahoga.Core.Util.DatabaseUtil.GetAssemblyVersion(String assembly) in C:\atakentCMS\Core\Util\DatabaseUtil.cs:line 130 at Cuyahoga.Core.Service.DatabaseInstaller.CheckCurrentVersionInDatabase() in C:\atakentCMS\Core\Service\DatabaseInstaller.cs:line 213 at Cuyahoga.Core.Service.DatabaseInstaller..ctor(String installRootDirectory, Assembly assembly) in C:\atakentCMS\Core\Service\DatabaseInstaller.cs:line 100 at Cuyahoga.Web.Install.Install.Page_Load(Object sender, EventArgs e) in C:\atakentCMS\Web\Install\Install.aspx.cs:line 71 

# hawnk 10/25/2007 11:28 PM
my properties.webconfig connectionString settings
server=mssqlnumber.win-servers.com;database=database;uid=user;pwd=123456;
# martijnb 10/29/2007 10:16 AM
Contact your web host for the correct database connection settings. The connectionstring itself (elements) looks ok.
# hawnk 10/29/2007 10:23 AM
me problem to finish up

ok thanks.