Click here to Skip to main content
15,889,116 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I disabled Anomymous Access and enabled Integrated Windows Authentication in my web.config file as follows...
XML
<configuration>
    <system.web>
        <authentication mode="Windows"/>
        <authorization>
            <deny users="?"/>
        </authorization>
    </system.web>
</configuration>


Why is it that when I deploy my web application to IIS, I still have to manually disable and enable these two settings in IIS? Doesn't IIS read the settings in my web.config file?
Posted

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900