Article ID: 119469, created on Jan 2, 2014, last review on May 1, 2014

  • Applies to:
  • Plesk 11.5 for Windows


Domain shows the following error when you try to browse it in Internet explorer:

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

    Source Error:       
    Line 255:    <roleManager>
    Line 256:      <providers>
    Line 257:        <add name="AspNetSqlRoleProvider" connectionStringName="LocalSqlServer" applicationName="/" type="System.Web.Security.SqlRoleProvider, System.Web, Version=, Culture=neutral, PublicKeyToken=34657f7f11d50a3a" />
    Line 258:      </providers>

    Source File: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config    Line: 257 


The LocalSqlServer connection string is not defined in Machine.config.


  1. Make a copy of the file C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config

  2. Open this file in notepad.exe and find string that begins from . It should look similar to example:

            <add name="LocalSqlServer" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>

If you see that there is no connection string tag in machine.config, try to add it similar to example above and check domain again.

Search Words


a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 46a8e394d6fa13134808921036a34da8 85a92ca67f2200d36506862eaa6ed6b8 bd7fc88cf1b01f097749ae6f87272128

Email subscription for changes to this article
Save as PDF