2011-04-04 45 views
3

我的數據庫membership3 at 。\ sharepoint有許多成員用戶。人員選取器。我無法在管理中心站點收到FBA用戶

的web.config文件我的管理中心網站

<configuration> 

<connectionStrings> 
    <add connectionString="Server=.\sharepoint;Database=membership3;Integrated Security=true" name="SQLAuthConnectionString" /> 
</connectionStrings> 

<SharePoint> 
    <PeoplePickerWildcards> 
     <clear /> 
     <add key="SQLAuthConnectionString" value="%" /> 
     <add key="SQLMembershipProvider" value="%" /> 
     <add key="SQLRoleManager" value="%" /> 
    </PeoplePickerWildcards> 
</SharePoint> 

<system.web> 
    <roleManager defaultProvider="AspNetWindowsTokenRoleProvider" enabled="true" cacheRolesInCookie="false"> 
     <providers> 
      <add name="SQLRoleManager" connectionStringName="SQLAuthConnectionString" applicationName="/" description="My Role Provider" 
       type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> 
     </providers> 
    </roleManager> 
    <membership defaultProvider="SQLMembershipProvider"> 
    <providers> 
     <add name="SQLMembershipProvider" 
      type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" 
      connectionStringName="SQLAuthConnectionString" passwordAttemptWindow="5" applicationName="/" enablePasswordReset="true" 
      enablePasswordRetrieval="false" passwordFormat="Clear" requiresQuestionAndAnswer="false" requiresUniqueEmail="true" /> 
    </providers> 
</membership> 
</system.web> 

</configuration> 

的web.config文件爲我的新的基於聲明的網站:

<configuration> 

<SharePoint> 
    <PeoplePickerWildcards> 
     <clear /> 
     <add key="SQLAuthConnectionString" value="%" /> 
     <add key="SQLMembershipProvider" value="%" /> 
     <add key="SQLRoleManager" value="%" /> 
    </PeoplePickerWildcards> 
</SharePoint> 

<system.web> 
    <membership defaultProvider="i"> 
     <providers> 
      <add name="i" type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthMembershipProvider, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /> 
      <add name="SQLMembershipProvider" 
       type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" 
       connectionStringName="SQLAuthConnectionString" passwordAttemptWindow="5" applicationName="/" enablePasswordReset="true" 
       enablePasswordRetrieval="false" passwordFormat="Clear" requiresQuestionAndAnswer="false" requiresUniqueEmail="true" /> 
     </providers> 
    </membership> 
    <roleManager defaultProvider="c" enabled="true" cacheRolesInCookie="false"> 
     <providers> 
      <add name="c" type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthRoleProvider, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /> 
      <add name="SQLRoleManager" 
      connectionStringName="SQLAuthConnectionString" applicationName="/" description="My Role Provider" 
      type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> 
     </providers> 
    </roleManager> 
</system.web> 

</configuration> 

文件C: \ Program Files \ Common Files \ Microsoft Shared \ Web Server Extensions \ 14 \ WebServices \ Root \ web.config:

<configuration> 

<system.web> 
    <membership defaultProvider="i"> 
     <providers> 
      <clear /> 
      <add name="i" type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthMembershipProvider, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /> 
       <add name="SQLMembershipProvider" 
        type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" 
        connectionStringName="SQLAuthConnectionString" passwordAttemptWindow="5" enablePasswordRetrieval="false" enablePasswordReset="true" 
        requiresQuestionAndAnswer="false" applicationName="/" requiresUniqueEmail="true" passwordFormat="Clear" /> 
     </providers> 
    </membership> 
    <roleManager enabled="true" defaultProvider="c"> 
     <providers> 
      <clear /> 
      <add name="c" type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthRoleProvider, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /> 
      <add name="SQLRoleManager" connectionStringName="SQLAuthConnectionString" applicationName="/" description="My Role Provider" 
       type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> 
     </providers> 
    </roleManager> 
</system.web> 

    <connectionStrings> 
     <add connectionString="Server=.\sharepoint;Database=membership3;Integrated Security=true" name="SQLAuthConnectionString" /> 
    </connectionStrings> 
</configuration> 

我要設置用戶策略在管理中心站點和FBA用戶不會在人員選取器。但是我的基於聲明的身份驗證站點與任何FBA用戶登錄。管理中心網站設置有什麼問題?

+0

你終於設法解決這個問題? – 2011-11-16 12:17:47

+0

這個問題對我來說並沒有解決 – NieAR 2011-11-16 15:01:02

+0

我們的情況是連接字符串中的一個錯字。所以,請仔細檢查所有設置,或者從配置中複製粘貼。 – 2011-11-18 10:32:43

回答

0

您是否嘗試在CA人員選擇器中編寫用戶的確切名稱?

+0

是的。我已經嘗試編寫確切的名稱** user1 **和搜索模式**用戶%**。沒有用戶 – NieAR 2011-04-05 07:54:52

1

在角色管理器添加

<add name="i" type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthMembershipProvider, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /> 
在Mermbership

<add name="c" type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthRoleProvider, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /> 

在中央管理的網絡配置文件

相關問題