Knowledgebase
Instance Failure MSSQL Server in C# ASP.NET - DotNetNuke
Posted by Sean Syed on 23 February 2013 04:58 PM

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).