中央管理和STS web.configs的相同名称中的多个成员资格提供程序名称 [英] Multiple membership provider name in the Same name of central Admin and STS web.configs

查看:41
本文介绍了中央管理和STS web.configs的相同名称中的多个成员资格提供程序名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有三个不同的Web应用程序,这些应用程序已在Sharepoint Foundation 2010中配置了FBA身份验证.我为所有三个Web应用程序指定了相同的成员资格提供程序名称.但是在配置 central时出现错误 具有三个不同成员资格提供者的相同名称的Admin和STS web.configs.我已为会员提供者名称指定了"FBA"对于所有三个应用程序.我该怎么解决?

I have three different web applications which has been configured with FBA Authentication in Sharepoint Foundation 2010. I have given the same membership provider name for all the three web applications. But getting an error while configure the central Admin and STS web.configs with same name of three different membership provider. I have given membership provider name a "FBA" for all the three application. How could i resolve it? 

我给了三个不同的成员提供程序,它们分别是 STS web.config.每个连接字符串都不同.由于这三个都将与各自的aspnetdb连接.

I have given three different membership providers of STS web.config. each connection string is different. Since all the three will connect with respective aspnetdb.

<添加名称="FBA"类型="System.Web.Security.SqlMembershipProvider,System.Web,版本= 2.0.0.0,文化=中性,PublicKeyToken = b03f5f7f11d50a3a". applicationName ="/". connectionStringName =" FBAWeb1ConStr" enablePasswordReset ="true"; enablePasswordRetrieval =假". passwordFormat =已散列" requireQuestionAndAnswer ="false"; requireUniqueEmail ="true" />

<add name="FBA" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" applicationName="/" connectionStringName="FBAWeb1ConStr" enablePasswordReset="true" enablePasswordRetrieval="false" passwordFormat="Hashed" requiresQuestionAndAnswer="false" requiresUniqueEmail="true" />

<添加名称="FBA"类型="System.Web.Security.SqlMembershipProvider,System.Web,版本= 2.0.0.0,文化=中性,PublicKeyToken = b03f5f7f11d50a3a". applicationName ="/". connectionStringName =" FBAWeb2ConStr" enablePasswordReset ="true"; enablePasswordRetrieval =假". passwordFormat =已散列" requireQuestionAndAnswer ="false"; requireUniqueEmail ="true" />

<add name="FBA" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" applicationName="/" connectionStringName="FBAWeb2ConStr" enablePasswordReset="true" enablePasswordRetrieval="false" passwordFormat="Hashed" requiresQuestionAndAnswer="false" requiresUniqueEmail="true" />

<添加名称="FBA"类型="System.Web.Security.SqlMembershipProvider,System.Web,版本= 2.0.0.0,文化=中性,PublicKeyToken = b03f5f7f11d50a3a". applicationName ="/". connectionStringName =" FBAWeb3ConStr" enablePasswordReset ="true"; enablePasswordRetrieval =假". passwordFormat =已散列" requireQuestionAndAnswer ="false"; requireUniqueEmail ="true" />

<add name="FBA" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" applicationName="/" connectionStringName="FBAWeb3ConStr" enablePasswordReset="true" enablePasswordRetrieval="false" passwordFormat="Hashed" requiresQuestionAndAnswer="false" requiresUniqueEmail="true" />

我该如何解决这个问题?

How could i resolve this issue?

感谢&问候

Poomani Sankaran

Poomani Sankaran

推荐答案

您能告诉我们您收到什么错误消息吗?

connectionStringName是与aspnetdb数据库的数据库连接的名称.

The connectionStringName is the name of the database connection to the aspnetdb database.

请确保成员资格提供者的名称与您在CA和STS中设置的名称相同:

Please make sure that the name of membership provider is same as you set in CA and STS: https://blogs.msdn.microsoft.com/sridhara/2010/01/07/setting-up-fba-claims-in-sharepoint-2010-with-active-directory-membership-provider/

请进一步说明您遇到的错误,我们可以找出根本原因并解决问题.

最好的问候,

王恩(Dean Wang)


这篇关于中央管理和STS web.configs的相同名称中的多个成员资格提供程序名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆