when I debug my site locally using Visual Studio, the change in web.config takes effect without any problems.
However, when I make the same change in web.config on my server host (works with IIS 7.5), it looks like the site is still working with the old version of web.config when I load it into my browser. New changes are not applied.
I tried to stop and start the site application pool on the server using IIS Manager, but still no changes. I also tried to stop and start IIS, which also does not work.
The change I am making for my web.config involves deleting entries in the block to allow and deny users. It is currently set up to request credentials, and if it is valid, the site is accessible. If not, access is denied. The change I'm trying to make is to allow access to all users and not request their credentials.
BEFORE:
<authorization> <deny users="?" /> <allow roles="admins" /> <deny users="*" /> </authorization>
AFTER:
<authorization> <allow users="*" /> </authorization>
What is the reason for this?
Krondorian
source share