I am trying to upgrade my website (dnn 6.2.5) to DNN 7. As soon as I copied all the files from the upgrade package to the production site, it gave this error: What am I doing wrong? How do I fix this? Thanks.
Server Error in '/' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: The connection name 'LocalSqlServer' was not found in the applications configuration or the connection string is empty.
Source Error:
Line 245: <roleManager> Line 246: <providers> Line 247: <add name="AspNetSqlRoleProvider" connectionStringName="LocalSqlServer" applicationName="/" type="System.Web.Security.SqlRoleProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> Line 248: <add name="AspNetWindowsTokenRoleProvider" applicationName="/" type="System.Web.Security.WindowsTokenRoleProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> Line 249: </providers>
|
Source File: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config Line: 247
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272