Change to web.config on server is not going into effect
asp.net, iis-7.5, web-config
Solution
You have to reset IIS. Just open command prompt and run IISRESET and you should be good.
Problem
when I debug my website locally using Visual Studio, the change to the web.config goes into the effect without any problem. However, when I make the same change to the web.config on my server host (running IIS 7.5) it looks like the site is still running off the old version of web.config when I load it up in my browser. The new changes aren't applied. I have tried stopping and starting my site's application pool on the server using IIS Manager, but still no change. I've also tried stopping and starting IIS, which isn't working either. The change I am making to my web.config involves removing entries in the block to allow and deny users. It is currently set up to prompt for credentials, and if valid, the site is accessible. If not, access is denied. The change I am trying to make is to allow access to all users and not prompt them for their credentials. BEFORE: ``` <authorization> <deny users="?" /> <allow roles="admins" /> <deny users="*" /> </authorization> ``` AFTER: ``` <authorization> <allow users="*" /> </authorization> ``` What is the reason for this?