SQL Server does not exist or access denied.

Discussion in 'ASP.NET / ASP.NET Core' started by Bruce, Feb 23, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Bruce

    Bruce DiscountASP.NET Staff

    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.

    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">
     
  2. [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.GetPooledConnection(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.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
    System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
    System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
    System.Web.UI.Page.ProcessRequestMain() +1277





    [:(]


    GDawkins
     
  3. 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
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page