Richard Howells' Blog
All Posts Blog: Caught in the (dot) Net

Cannot connect to database IIS – ASP.Net and Sql Server

The problem is frequently caused by mismatched security settings, and/or connecting to the wrong Sql instance. Here is a sample connection string…

Data Source=.\sqlexpress2012;Initial Catalog=DotNetNuke_Community_07.01.00;Integrated Security=True

Here is what the parts mean…
Posting Archive
Copyright 2002-15 by Dynamisys Ltd