0

我在IIS7.5上部署了一个网站。它工作得很好。当我尝试在IIS6上部署它时,我收到有关CustomRoleProvider (* Line 65 *)的“配置错误” 。似乎是什么问题?

 <roleManager enabled="true" defaultProvider="CustomRoleProvider">
      <providers>
        <clear />
Line 65: <add name="CustomRoleProvider" type="A.B.CustomRoleProvider, A" connectionStringName="MyConnectionString" />
      </providers>
 </roleManager>

错误信息 :

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: Exception has been thrown by the target of an invocation.
4

1 回答 1

0
<add name="CustomRoleProvider" type="A.B.CustomRoleProvider, CustomRoleProvider.Web.Security" applicationName="/" connectionStringName="MyConnectionString" />
于 2013-04-15T12:52:13.023 回答