IIS express applicationhost.config security is reset every time a solutions is opened in VS2012
问题 I have an MVC4 application been developed in VS2012 that uses forms authentication. [authentication mode="Forms"] [forms loginUrl="~/Account/Login" timeout="2880" /] [/authentication] It's using the default IIS 8.0 Express. Every time I open and run the app from within the VS I got the message: HTTP Error 401.2 - Unauthorized You are not authorized to view this page due to invalid authentication headers. I found out that to avoid this screen I have to change to 'true' the