<authentication mode="Forms" > 
        <Form name=".ASPXFORMSDEMO" loginUrl="login.aspx" protection="All" 
        path="/" timeout="30"/>
    </authentication>
配置文件中无法识别的标记“Form”,运行总提示这样的错误,请问高手怎么回事?

解决方案 »

  1.   

    <authentication mode="Forms" > 
            <Forms name=".ASPXFORMSDEMO" loginUrl="login.aspx" protection="All" 
            path="/" timeout="30"/>
        </authentication>
      

  2.   

    <authentication mode="Forms">
      <forms name=".ASPXUSERDEMO" loginUrl="/aaaa/login.aspx" protection="All" timeout="60"/>
    </authentication>我这么用一点错误没有
      

  3.   

    你看看你的网站虚拟目录是否已经配置为应用程序,在IIS里面
      

  4.   

    把Form改成Forms,仍然提示"配置文件中无法识别的标记“Forms”
    "