asp.net - Community 2015 IIS doesn't authenticate automatically (unique case) -
i've read absolutely solutions on web, not applicable. question not possible duplicate since there no questions accepted answers work here.
the problem
when start project in visual studio community 2015 (new ones or made in vs 2012), requires user credentials. vs 2012 doesn't require it.
environment
windows 7, vs community 2015, ie 11, iis 10 express, web forms intranet application.
solutions tried
properties of project set disable anonymous auth , enable windows auth. additionally applied possible solutions web.config , applicationhost.config files regarding anonymous , windows authentication. installed windows iis services , set same settings, moved ntlm , negotiate down. disabled windows firewall, disabled comodo firewall, set ie intranet settings lowest security level , checked integrated windows authentication. keeps requiring authorization.
google chrome doesn't authenticate well.
how force automatic authentication? maybe vs iis has config files somewhere else other documents folder?
web.config
<authentication mode="windows"/> <authorization> <allow users="*"/> <deny users="?"/> </authorization>
applicationhost.config
<authentication> <anonymousauthentication enabled="false" username="" /> <basicauthentication enabled="false" /> <clientcertificatemappingauthentication enabled="false" /> <digestauthentication enabled="false" /> <iisclientcertificatemappingauthentication enabled="false"> </iisclientcertificatemappingauthentication> <windowsauthentication enabled="true"> <providers> <add value="negotiate" /> <add value="ntlm" /> </providers> </windowsauthentication> </authentication>
the problem in ie 11. when install visual studio community 2015, requires install ie 11 can modify internet settings.
go ie internet options. in trusted sites tab click sites, uncheck https verification, add http://localhost trusted sites, reduce trusted sites security level lowest
Comments
Post a Comment