Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

asp.net connection issue with memebership database aspnetdb Expand / Collapse
Author
Message
Posted Wednesday, February 26, 2014 3:42 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, March 10, 2014 5:18 AM
Points: 5, Visits: 10
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)
Post #1545301
Posted Wednesday, February 26, 2014 2:59 PM


Right there with Babe

Right there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with Babe

Group: General Forum Members
Last Login: Thursday, April 17, 2014 4:43 AM
Points: 756, Visits: 631
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.


Erland Sommarskog, SQL Server MVP, www.sommarskog.se
Post #1545605
Posted Saturday, March 08, 2014 1:46 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, March 10, 2014 5:18 AM
Points: 5, Visits: 10
Thank you sir for my answering, I am geting you
Post #1548952
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse