asp.net connection issue with memebership database aspnetdb

  • Hi

    I hope all of you doing good so here is one query to related database connection actually we have use sql server 2008 express r2 with windows authentication mode

    and we use conection string

    <add name="LocalSqlServer" connectionString="Data Source=.\sqlexpress;Initial Catalog = aspnetdb; Integrated Security=SSPI;"/>

    and

    authentication

    <authentication mode="Forms">

    <forms loginUrl="LoginPage.aspx"/>

    </authentication>

    when rup asp application then error is:

    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

  • Make sure that SQL Server is running.

    Make sure that you actually installed it with the instance name SQLEXPRESS.

    And make sure that you actually have SQL Server on the same machine as the web server.

    [font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]

  • Thank you sir for my answering, I am geting you

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply