Forum Moderators: open

Message Too Old, No Replies

Server error in Application

         

debasser

2:33 pm on Jul 3, 2006 (gmt 0)

10+ Year Member



Hi, i've been trying to get a database running on a test server, i had no hand in creating the database i just have to get it running on the test server so that new versions can be created. I've got all the relevant stuff installed but anytime i try to access the page i get this error:

Server Error in '/econet' Application.
SQL Server does not exist or access denied.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: SQL Server does not exist or access denied.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[SqlException: SQL Server does not exist or access denied.]
System.Data.SqlClient.ConnectionPool.GetConnection(Boolean& isInTransaction) +474
System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnectionString options, Boolean& isInTransaction) +370
System.Data.SqlClient.SqlConnection.Open() +384
Gentle.Provider.SQLServer.SQLServerProvider.GetConnection()

[GentleException: Error: DatabaseUnavailable
The database backend could not be reached (check the connection string).
]
Gentle.Common.Check.FailWith(Severity severity, Error error, Exception e, String msg)
Gentle.Common.Check.Fail(Exception e, Error error, Object[] args)
Gentle.Provider.SQLServer.SQL92Analyzer.Analyze(String tableName)
Gentle.Provider.SQLServer.SQLServerAnalyzer.Analyze(String tableName)
Gentle.Framework.GentleAnalyzer.UpdateObjectMap(ObjectMap map)
Gentle.Framework.ObjectFactory.ConstructMap(PersistenceBroker broker, Type type)
Gentle.Framework.ObjectFactory.GetMap(PersistenceBroker broker, Type type)
Gentle.Framework.SqlBuilder..ctor(IGentleProvider provider, StatementType stmtType, Type type)
Gentle.Framework.SqlBuilder..ctor(StatementType stmtType, Type type)
ibi.econet.business.BAuditFunction.runSQL(String sql)
ibi.econet.business.BAuditFunction.listAll()
econet.Global.Application_Start(Object sender, EventArgs e)

Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032

Could anyone point me in the right direction? any help would be much appreciated.
thanks

FalseDawn

3:41 pm on Jul 3, 2006 (gmt 0)

10+ Year Member



Make sure the database service is actually running (There should be a control panel for it)

Also, as the error suggests, check the connection string you are using is correct.