我的MVC应用程序一直运行良好,直到几分钟前(其中asp/net成员资格是解决方案的一部分)。然而,即使对于我的homecontroller(它没有任何授权属性等),每个请求都会发生,而我又不知道更改了任何相关内容。
我目前已经将web.config中所有与授权有关的条目都删除了,我检查了applicationhost.config,其内容如下:
<access sslFlags="None" />
<applicationDependencies>
<application name="Active Server Pages" groupId="ASP" />
</applicationDependencies>
<authentication>
<anonymousAuthentication enabled="true" userName="" />
<basicAuthentication enabled="false" />
<clientCertificateMappingAuthentication enabled="false" />
<digestAuthentication enabled="false" />
<iisClientCertificateMappingAuthentication enabled="false">
</iisClientCertificateMappingAuthentication>
<windowsAuthentication enabled="false">
<providers>
<add value="Negotiate" />
<add value="NTLM" />
</providers>
</windowsAuthentication>
</authentication>
<authorization>
<add accessType="Allow" users="*" />
</authorization>
有谁可以建议一下可能是什么原因引起的呢?
谢谢
关于这个问题的更多信息,我切换到使用完整的IIS,现在它可以正常工作了,所以看起来这是一个IIS Express的问题。有没有什么线索可以找到原因?除了系统托盘图标之外,没有其他的完整IIS express图形用户界面吗?