PDA

View Full Version : SQL Server does not exist or access denied.


bruce
02-23-2004, 02:27 AM
This error usually means that the application is not finding the SQL server. (the access denied message is deceiving, you would get another error message is you used the wrong password)

Check your connection string.

[b]quote:Originally posted by garrydawkins

Hey gang, I get this error when attempting to login to my application. The server has been restarted and SQL Server agent is running fine on my machine. Here is the entire error message. [B)][^]

GDawkins
</blockquote id="quote"></font id="quote">

garrydawkins
02-23-2004, 10:26 AM
[8]Server Error in '/NPD_NET' Application.

Server Error in '/NPD_NET' 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.Get PooledConnection(SqlConnectionString options, Boolean& isInTransaction) +372
System.Data.SqlClient.SqlConnection.Open() +384
NPD_NET.DBAccess.DAOObject.myConnection(Boolean isClose) +87
NPD_NET.LoginMain.Button1_Click(Object sender, EventArgs e) +185
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePostBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1277





[:(]


GDawkins

garrydawkins
02-23-2004, 10:30 AM
Hey gang, I get this error when attempting to login to my application. The server has been restarted and SQL Server agent is running fine on my machine. Here is the entire error message. [B)][^]

GDawkins