I have a Sql Server 2008 R2 connection string that looks like
I think there is the problem
connString =ConnectionStrings.ConnectionStrings["ConnectionString"];
It should be
connString =ConnectionStrings.ConnectionStrings["DBConnectionString"];
Since you have key DBConnectionString
in you configuration file not ConnectionString
.
Useful link: