zoukankan      html  css  js  c++  java
  • Error from MSDN——No3. add subelement in membership Element (ASP.NET Settings Schema)

    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等声明中,没有包含(= "??")。

  • 相关阅读:
    Kotlin泛型与协变及逆变原理剖析
    struts2中action的class属性值意义
    重新设置Eclipse的workspace路径
    windows下将mysql加入环境变量
    Eclipse插件安装4种方法
    Maven常用命令
    IntelliJ IDEA光标变粗 backspace无法删除内容解决方法
    Weblogic Exception in AppMerge flows' progression
    Oracle的dual
    lgp20151222 解决-Dmaven.multiModuleProjectDirectory system property is not set. Check $M2_HOME environment variable and mvn script match.
  • 原文地址:https://www.cnblogs.com/polaris/p/300080.html
Copyright © 2011-2022 走看看