Knowledgebase
Instance Failure MSSQL Server in C# ASP.NET - DotNetNuke
Posted by on 22 August 2012 08:20 AM

Check your web.config file for the following:

connectionString="Data Source=.\\SQLSERVER;Initial Catalog=Northwind_db_;Integrated Security=True"
The problem is "Data Source=.\\SQLSERVER;" - It's the double \\. That's an escape sequence in C#. Switch the connection string to .\SQLSERVER.
If this is not the case please check to make sure that your SQL Server Service is running.
(2 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).