Author: gnuts4lunch | Posted on: 7/24/2008 12:51:22 PM | Views : 271

<p>Hello,
I Have a big problem with a site of mine..

After uploading the content and web.config, i get this strange error from the machine.config

The connection name 'LocalSqlServer' was not found in the applications configuration or the connection string is empty.

i dont even have 'LocalSqlServer' in my web.config!!

what can i do to override the machine.config settings in this case?

the offending line in machine.config is

Line 151:        <add name="AspNetSqlRoleProvider" connectionStringName="LocalSqlServer" applicationName="/" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />

and my web.config is

-----------------------------------

<?xml version="1.0"?>
<configuration xmlns="Go to the complete details ...