asp.net - Change to web.config on server is not going into effect -


when debug website locally using visual studio, change web.config goes effect without problem.

however, when make same change web.config on server host (running iis 7.5) looks site still running off old version of web.config when load in browser. new changes aren't applied.

i have tried stopping , starting site's application pool on server using iis manager, still no change. i've tried stopping , starting iis, isn't working either.

the change making web.config involves removing entries in block allow , deny users. set prompt credentials, , if valid, site accessible. if not, access denied. change trying make allow access users , not prompt them credentials.

before:

<authorization>   <deny users="?" />   <allow roles="admins" />   <deny users="*" /> </authorization> 

after:

<authorization>   <allow users="*" /> </authorization> 

what reason this?

are deploying,publishing or copying? make sure debug , release settings same. there instances when virtual directory not setup correctly , correct webconifg not loading.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -