第一步:在webconfig文件里添加authentication配置节点,代码如下: <authentication mode="Forms">< 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交