更新时间:2022-04-12 03:20:55
在您的 web.config(在 appSettings 部分)中添加:
Add this in your web.config (in the appSettings section):
<add key="enableSimpleMembership" value="false"/>
<add key="autoFormsAuthentication" value="false"/>
对于问为什么的人,这是 mvc 3 release 中描述的已知问题笔记更多详情这里
For the ones who ask why, it is a known issue described in the mvc 3 release notes More details here