Database Connection Issues in web.config

Discussion in 'ASP.NET 2.0' started by crashguy, Oct 6, 2006.

  1. I'm hoping someone can help me. i'm in the process of uploading my web application, however im now getting a connection error when i attempt to go to the website.

    the error i receive is:
    An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

    Which is odd, because i copied the connection string from the discount asp database section (and yes i put in the password)

    Can anyone help me?

    thanks
     
  2. It is possible that you are missing the connectionstring that you are using somwhere in you code and the connectionstring you have is not even being used.

    Vikram

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. Bruce

    Bruce DiscountASP.NET Staff

    this is an error you see when your application tries to connect to a SQL Express database.


    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     

Share This Page