ASP.NET WebApp web.config error
Oscilloscope
0
Reputation points
Hello,
I am getting a web.config error on my visual studio 2022 local environment.
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: **__Provider must implement the class 'System.Web.Security.RoleProvider'.
My web.config code is:
<configuration>
<roleManager enabled="true">
<providers>
<add name="SqlProvider"
type="System.Web.Security.SqlMembershipProvider"
connectionStringName="ConnectionStringMain" enablePasswordRetrieval="false"
enablePasswordReset="true" requiresQuestionAndAnswer="false"
passwordFormat="Clear" minRequiredPasswordLength="6"
minRequiredNonalphanumericCharacters="0"
applicationName="CMH"/>
</providers>
</roleManager>
</configuration>
Any help would be appreciated.
Thanks,
Oscilloscope
Sign in to answer