MOSS,自定义用户管理(拓展membership)后,无法登陆。
<connectionStrings>
<!-- Trusted_Connection=True -->
<add name="AspNetSqlProvider" connectionString="Data Source=(local);Initial Catalog=aspnetdb;User ID=sa;Password=pass_word2005" providerName="System.Data.SqlClient"/>
</connectionStrings>
<!--Membership Provider -->
<membership defaultProvider="AspNetSqlMembershipProvider">
<providers>
<remove name="AspNetSqlMembershipProvider" />
<add connectionStringName="AspNetSqlProvider"
passwordAttemptWindow="10"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="true"
applicationName="/"
requiresUniqueEmail="false"
passwordFormat="Hashed"
description="Stores and retrieves membership data from the Microsoft SQL Server database"
name="AspNetSqlMembershipProvider"
type="System.Web.Security.SqlMembershipProvider" />
</providers>
</membership>
<!--Role Provider-->
<roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider">
<providers>
<remove name="AspNetSqlRoleProvider" />
<add connectionStringName="AspNetSqlProvider"
applicationName="/"
description="Stores and retrieves roles data from the local Microsoft SQL Server database"
name="AspNetSqlRoleProvider"
type="System.Web.Security.SqlRoleProvider" />
</providers>
</roleManager>
另外参考:/KB/sharepoint/moss_enableforms.aspx