CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2002
    Location
    DTW
    Posts
    3

    SQL Server does not exist or access denied

    Hi,

    I have an ASPX Form which access a table in Database in SQL Server 7.0 When i run the ASPX form it gives trhe follwing error.

    "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."

    can anybody helpme out in solving this problem

    Thanks Anyway
    Srinivas

  2. #2
    Join Date
    Dec 2001
    Location
    UK
    Posts
    308
    Hi,
    Check the "Data Source" name is correct and "User Id" and "Password" is given properly.

    Make sure that the user id given has the permission to access the specified table/databse.
    Venu Bharadwaj
    "Dream it. U can do it!"

  3. #3
    Join Date
    Apr 2000
    Location
    Dallas, TX
    Posts
    173
    Or create a login in SQL Server for ASPNET.

    pjp
    Preston Park
    CTT+, MCT, MCSD
    http://www.prestonpark.com/

  4. #4
    Join Date
    Jul 2002
    Location
    DTW
    Posts
    3

    Re: SQL Server does not exist or access denied

    Originally posted by srinivas_75
    Hi,

    I have an ASPX Form which access a table in Database in SQL Server 7.0 When i run the ASPX form it gives trhe follwing error.

    "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."

    can anybody helpme out in solving this problem

    Thanks Anyway
    Srinivas
















    I Have solved this problem by creating a Username and Password in SQL Server

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured