但是,在尝试使用IP访问时,我总是得到登录提示,这对于服务器上的localhost来说似乎很好。
我的Web.Config条目是
<system.web>
<authentication mode="Windows"/>
<identity impersonate="true" />
</system.web>
<system.webServer>
<security>
<authentication>
<windowsAuthentication enabled="true" useKernelMode="true">
<providers>
<clear />
<add value="NTLM" />
<add value="Negotiate" />
</providers>
<extendedProtection tokenChecking="Allow" />
</windowsAuthentication>
<anonymousAuthentication enabled="false" />
</authentication>
</security>
</system.webServer>
-
应用程序池:经典配置4.0
-
.Net版本代码:4.5
-
-
IIS服务器位于不同的域(Azure)w.r.t.客户端(MyDomain.com)