问题描述
注意:在安装CM 2009期间使用为您创建的网站(使用CS Auth的FBA): 浏览所有文档和表单 列表,该过程更新了网络。配置为你和看起来相同,除了
不同的GUID。
Note: Using the site created for you for internet zone (FBA using CS Auth) during installation of CM 2009: Looking through all documentation and forms listing, the process updated the web.config's for you and looked the same except with different GUID's.
1)在< site>上创建帐户 / _ layouts / CommerceServer / CommerceLoginPage.aspx
1) Create Account on <site>/_layouts/CommerceServer/CommerceLoginPage.aspx
2)查看商业客户和订单,查看新创建的用户。  ;无法使用新帐户登录网站,因为无法加载类型'Microsoft.Commerce.Portal.Common.CommerceSharePointMembershipProvider'
2) Looking in commerce customer and order see the newly created user. Not able to use the new account to login on the site, because it was not able to load type 'Microsoft.Commerce.Portal.Common.CommerceSharePointMembershipProvider'
收到以下错误服务器监控 logs:
Recieved the following error server monitoring logs:
SPSecurityTokenService.Issue()失败:System.Configuration.ConfigurationErrorsException:
无法加载类型'Microsoft.Commerce.Portal.Common .CommerceSharePointMembershipProvider'
来自程序集'Microsoft.Commerce.Portal.Common,Version = 1.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35'。
(C:\Program Files \Common Files \ Mysoftoft Shared\Web Server Extensions\14\WebServices\SecurityToken\web.config第110行) - - >
System.TypeLoadException:无法从程序集"Microsoft.Commerce"加载类型"Microsoft.Commerce.Portal.Common.CommerceSharePointMembershipProvider"
。 Portal.Common,Version = 1.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35'。 System.RuntimeTypeHandle._GetTypeByName(String name,Boolean throwOnError,Boolean ignoreCase,Boolean reflectionOnly,StackCrawlMark& ...
SPSecurityTokenService.Issue() failed: System.Configuration.ConfigurationErrorsException:
Could not load type 'Microsoft.Commerce.Portal.Common.CommerceSharePointMembershipProvider'
from assembly 'Microsoft.Commerce.Portal.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
(C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\WebServices\SecurityToken\web.config line 110) --->
System.TypeLoadException: Could not load type 'Microsoft.Commerce.Portal.Common.CommerceSharePointMembershipProvider'
from assembly 'Microsoft.Commerce.Portal.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
at System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark&...
C:\\ $
\\ Program Files \Common Files \ Mysoft Shared\Web Server Extensions \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ < system.web>&
< membership>
< providers>
< add name =" CS_e555b5e0-08d2-4460-ad0b-6d0e667bab62_Default" type =" Microsoft.Commerce.Portal.Common.CommerceSharePointMembershipProvider ,Microsoft.Commerce.Portal.Common,Version = 1.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35"
enablePasswordReset =" true" requiresQuestionAndAnswer =" true" membershipSuserModelName =" UserProfile" logonNameProperty =" Email" ; operationServiceName =&qu OT; IOperationService_e555b5e0-08d2-4460-ad0b-6d0e667bab62_Default" passwordLockoutPeriod = QUOT; 5英寸了passwordFormat = QUOT;散列"
PasswordStrengthRegularExpression =" ^(?=。* \ d)(?=。* [a-z])(?=。* [A-Z])。{6,50} $" requiresApproval = QUOT假QUOT; />
$
< add name =" CS_e555b5e0-08d2-4460-ad0b-6d0e667bab62_Internet" type =" Microsoft.Commerce.Portal.Common.CommerceSharePointMembershipProvider,Microsoft.Commerce.Portal.Common,Version = 1.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35"
enablePasswordReset =" true" requiresQuestionAndAnswer = QUOT;真" membershipUserModelName = QUOT;用户配置" logonNameProperty = QUOT;电子邮件与QUOT; operationServiceName = QUOT; IOperationService_e555b5e0-08d2-4460-ad0b-6d0e667bab62_Internet" passwordLockoutPeriod = QUOT; 5英寸了passwordFormat = QUOT;散列"
PasswordStrengthRegularExpression =" ^(?=。* \ d)(?=。* [a-z])(?=。* [A-Z])。{6,50} $" requiresApproval = QUOT假QUOT; />
$
< add name =" UpmProvider_ {93854775-08ac-425c-8832-1284a8e00bf8}" SITENAME = QUOT; ContemporarySite" keyIndex = QUOT 1 QUOT; publicKey =" registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Commerce Server 2007 Keys\ContemporarySite,PublicKey"
privateKey1 =" registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Commerce Server 2007 Keys\ContemporarySite,PrivateKey" privateKey2 = QUOT;" type =" Microsoft.Commerce.Providers.SharePointCommerceMembershipProvider,Microsoft.Commerce.Providers,Version = 1.0.0.0,Culture = neutral,
PublicKeyToken = 31bf3856ad364e35" enablePasswordReset设置= QUOT;真" requiresQuestionAndAnswer = QUOT;真"了passwordFormat = QUOT;散列" PasswordStrengthRegularExpression = QUOT; ^(?= * \d)(?= * [A-Z])(= * [A-Z]){6,50} $"。 />
$
< add name =" UpmProvider_ {033932f6-fdcb-4332-8cad-6cb9998f7d24}" SITENAME = QUOT; ContemporarySite2" keyIndex = QUOT 1 QUOT; publicKey =" registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Commerce Server 2007 Keys\ContemporarySite2,PublicKey"
privateKey1 =" registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Commerce Server 2007 Keys\ContemporarySite2,PrivateKey" privateKey2 = QUOT;" type =" Microsoft.Commerce.Providers.SharePointCommerceMembershipProvider,Microsoft.Commerce.Providers,Version = 1.0.0.0,Culture = neutral,
PublicKeyToken = 31bf3856ad364e35" enablePasswordReset设置= QUOT;真" requiresQuestionAndAnswer = QUOT;真"了passwordFormat = QUOT;散列" PasswordStrengthRegularExpression = QUOT; ^(?= * \d)(?= * [A-Z])(= * [A-Z]){6,50} $"。 />
$
< / providers>
< / membership>
< roleManager>
< providers>
< add name =" SingleRoleProvider"的applicationName = QUOT; /" type =" Microsoft.Commerce.Portal.Common.SingleRoleProvider,Microsoft.Commerce.Portal.Common,Version = 1.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35"
role =" SignedInClient" />
$
< / providers>
< / roleManager>
< /system.web>
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\WebServices\SecurityToken\web.config line 110
<system.web>
<membership>
<providers>
<add name="CS_e555b5e0-08d2-4460-ad0b-6d0e667bab62_Default" type="Microsoft.Commerce.Portal.Common.CommerceSharePointMembershipProvider, Microsoft.Commerce.Portal.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" enablePasswordReset="true" requiresQuestionAndAnswer="true" membershipUserModelName="UserProfile" logonNameProperty="Email" operationServiceName="IOperationService_e555b5e0-08d2-4460-ad0b-6d0e667bab62_Default" passwordLockoutPeriod="5" passwordFormat="Hashed" PasswordStrengthRegularExpression="^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{6,50}$" requiresApproval="false" />
<add name="CS_e555b5e0-08d2-4460-ad0b-6d0e667bab62_Internet" type="Microsoft.Commerce.Portal.Common.CommerceSharePointMembershipProvider, Microsoft.Commerce.Portal.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" enablePasswordReset="true" requiresQuestionAndAnswer="true" membershipUserModelName="UserProfile" logonNameProperty="Email" operationServiceName="IOperationService_e555b5e0-08d2-4460-ad0b-6d0e667bab62_Internet" passwordLockoutPeriod="5" passwordFormat="Hashed" PasswordStrengthRegularExpression="^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{6,50}$" requiresApproval="false" />
<add name="UpmProvider_{93854775-08ac-425c-8832-1284a8e00bf8}" siteName="ContemporarySite" keyIndex="1" publicKey="registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Commerce Server 2007 Keys\ContemporarySite,PublicKey" privateKey1="registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Commerce Server 2007 Keys\ContemporarySite,PrivateKey" privateKey2="" type="Microsoft.Commerce.Providers.SharePointCommerceMembershipProvider, Microsoft.Commerce.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" enablePasswordReset="true" requiresQuestionAndAnswer="true" passwordFormat="Hashed" PasswordStrengthRegularExpression="^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{6,50}$" />
<add name="UpmProvider_{033932f6-fdcb-4332-8cad-6cb9998f7d24}" siteName="ContemporarySite2" keyIndex="1" publicKey="registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Commerce Server 2007 Keys\ContemporarySite2,PublicKey" privateKey1="registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Commerce Server 2007 Keys\ContemporarySite2,PrivateKey" privateKey2="" type="Microsoft.Commerce.Providers.SharePointCommerceMembershipProvider, Microsoft.Commerce.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" enablePasswordReset="true" requiresQuestionAndAnswer="true" passwordFormat="Hashed" PasswordStrengthRegularExpression="^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{6,50}$" />
</providers>
</membership>
<roleManager>
<providers>
<add name="SingleRoleProvider" applicationName="/" type="Microsoft.Commerce.Portal.Common.SingleRoleProvider, Microsoft.Commerce.Portal.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" role="SignedInClient" />
</providers>
</roleManager>
</system.web>
有趣的失败指向默认区域,但是在互联网区域。
The interesting failure is pointing to the default zone, but was on the internet zone.
请注意如何修复上面的错误, 有什么想法吗?
Note sure how to fix the error above, Any ideas?
谢谢
推荐答案
这篇关于COMMERCE SERVER CS授权FBA站点SPSecurityTokenService.Issue()失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!