New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the Community Exchange, where community members ask and answer questions about DNN. To get started, just start typing your question below and either select one of the suggested questions or ask a new question of your own.

Dotnetnuke 7 & Upgrade Error - <roleManager> AspNetSqlRoleProvider

Return to previous page

  • 12/3/2012
  • 4902 Views

Question:

Frozen DNN long time ago

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

Dotnetnuke 7 & Upgrade Error - <roleManager> AspNetSqlRoleProvider

Frozen DNN
Frozen DNN long time ago
Add an Answer

Answers

Sign In to Participate
Or register to become a member