配置如下,匿名访问Account/Register.aspx,始终提示下图中的错误,一直搞不弄是什么原因,请指教。
Config配置
<location path="Account/Register.aspx"> <system.web> <authorization> <allow users="?"/> </authorization> </system.web> </location> <compilation debug="true" targetFramework="4.5"/> <!--<authentication mode="Windows"/>--> <authentication mode="Forms"> <forms name="auth" loginUrl="Account/login.aspx" timeout="30" protection="All" path="/"></forms> </authentication> <authorization> <deny users="?"/> </authorization>