更新时间:2022-06-18 07:13:15
在web.config中,您需要将提供者的添加标记重写为
In web.config, you need to rewrite add tag of providers as
<add name="PROVIDER NAME">
type="PROJECT_NAME.CLASS_NAME, ASSEMBLY_NAME"/></add>
因此,您的错误代码需要改写为,
So, your error code need to be rewritten as,
Line 108: <providers>
Line 109: <clear />
Line 110: <add name="RoleProvider">
type="AccessProvider.RoleProvider, ASSEMBLY_NAME"
connectionStringName="TrainingPlanConnectionString"/>
Line 111: </add></providers>
Line 112: