我在Endless redirect to the login page using the site template上遇到了类似的问题,但解决方案对我不起作用,因为在解决方案属性上,Windows auth已经禁用,而匿名已经启用。
在web.config中,我已经声明
authentication mode="None" (我也尝试过authentication mode="Forms"> )。
但是,每个请求都会被重定向到无限循环http://[domain]/Account/Login?ReturnUrl=%2FAccount%2FLogin%3FRetur...
此问题出现在实时主机上,但不出现在我的本地iis express服务器上
另一个类似的问题Serious need for help,不幸的是它没有得到答案
发布于 2019-03-12 16:20:21
@Topher是的,我已经就这个问题联系了我们的主机提供商,然后添加了以下设置(在system.webServer内部)
<security>
<authentication>
<anonymousAuthentication password="[ (iis generated password) ]" />
</authentication>
</security>对我有效的方法。因此,简短的答案是:Contact Him
问候
https://stackoverflow.com/questions/55114229
复制相似问题