Asp.net

Closed
lucky - Jul 20, 2009 at 08:25 AM
 neha - Jul 30, 2009 at 01:41 AM
Hello,
how do connect to sqlserver in asp.net.?? this erroe is showing ( 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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

so please reactify it...please tell me how can i solve it...

and one more thing in my sql , server explorer its not showing??please tell me why?? and how can i get it .??

2 replies

cyril8727 Posts 24 Registration date Monday July 21, 2008 Status Member Last seen July 20, 2009 1
Jul 20, 2009 at 12:45 PM
Make sure that your connection string is valid.
It is usually of the form:

Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=DATABASENAME;Data Source=LOGININFO
0
hey this is neha here..im doing MCA 6 sem..i need a project on ASP on banking..can u plsss provide it to me????ill be really very thankfull to u..
with regards
Neha Sharma
0