1)错误页面路径:

l         ms-help://MS.MSDNQTR.v80.en/MS.MSDN.v80/MS.NETDEVFX.v20.en/dv_ASPNETgenref/html/8423ec7f-a06d-4606-977e-a46400b2fc18.htm

l         http://msdn2.microsoft.com/en-us/library/whae3t94(en-US,VS.80).aspx

2)页面内容:

 

Adds a membership provider instance to the membership provider collection.

This element is new in the .NET Framework version 2.0.

<configuration> Element

<!-- SqlMembershipProvider syntax -->

<add name="string"

type="string"

connectionStringName="string"

applicationName="MyApplication"

commandTimeout

 description

 enablePasswordRetrieval="false"

 enablePasswordReset="true"

requiresQuestionAndAnswer="true"

requiresUniqueEmail="false"

passwordFormat="Hashed"

maxInvalidPasswordAttempts="5"

passwordAttemptWindow="10"

minRequiredPasswordLength

minRequiredNonalphanumericCharacters

passwordStrengthRegularExpression />

<!-- ActiveDirectoryMembershipProvider syntax -->

<add name="string"

type="string"

applicationName

attributeMapUserName="string"

attrbuteMapEmail="string"

attributeMapPasswordQuestion="string"

attributeMapPasswordAnswer="string" attributeMapFailedPasswordAnswerCount="number" attributeMapFailedPasswordAnswerTime="interval" attributeMapFailedPasswordAnswerLockoutTime="interval" clientSearchTimeout="interval"

serverSearchTimeout

connectionUserName="string"

connectionPassword="string"

connectionProtection="string"

connectionStringName="connection string identifier" enablePasswordReset="true|false"

enablePasswordRetrieval="true|false"

enableSearchMethods="true|false"

requiresQuestionAndAnswer="true|false"

maxInvalidPasswordAttempts="number"

passwordAttemptWindow="number"

commandTimeout="number"

description="string"

passwordAnswerAttemptLockoutDuration="interval"

minRequiredPasswordLength

minRequiredNonalphanumericCharacters passwordStregnthRegularExpression="string" passwordAnswerAttemptLockoutDuration="number" requiresUniqueEmail="true|false" />

 

 

3)简要说明:

以上声明代码中,部分属性的声明有误。这并不是指属性本身的错误,而是指声明代码格式。例如,属性commandTimeout description等声明中,没有包含(= "??")。

相关文章:

  • 2021-11-14
  • 2021-04-26
  • 2021-12-24
  • 2021-07-29
  • 2021-08-10
  • 2021-08-15
猜你喜欢
  • 2021-08-29
  • 2021-07-03
  • 2021-05-31
  • 2021-09-05
  • 2021-09-27
  • 2021-04-27
  • 2021-05-06
  • 2021-04-05
相关资源
相似解决方案