SQL Server does not exist or access denied

Discussion in 'ASP.NET / ASP.NET Core' started by runningdogs, Jan 27, 2006.

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

    My web app is unable to connect to the SQL server.

    I can successfully connect in vs.net (thanks Bruce @ DASP!) when
    developing and I am able to create and fill a dataset. However, when
    I try to run it live, I get:
    [SqlException: SQL Server does not exist or access denied.]


    Can anyone shed some light on this? Your help is greatly appreciated.
     
  2. I've seen this before when people are trying to connect to their local sql server on the live site. Please check your connection string and double check all the right information is set.


    Joel Thoms

    DiscountASP.NET
    http://www.DiscountASP.NET
     
  3. Bruce

    Bruce DiscountASP.NET Staff

    you must have the wrong SQL server name.

    this error indicates that the application can't physically fin the server.

    Check your connection string.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  4. Joel,


    I haven't resolved it. The other post was an issue creating the connection in development and generating the dataset.


    If it works there, could it be the connection string in the web.config file or is there something else I need to do in the connection string on the page?


    Thanks for the input.
     
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