I\'ve encountered an error deploying a site to a server. When trying to load the home page, or access authentication on the new site in IIS, I get the error:
Browse to “C:\Windows\System32\inetsrv\config” (you will need administrator rights here) Open applicationHost.config
Note: In IISExpress and Visual Studio 2015 the applicationHost.config is stored in $(solutionDir).vs\config\applicationhost.config
Find the section that showed up in the “config source” part of the error message page. For me this has typically been “modules” or “handlers”
Change the overrideModeDefault
attribute to be Allow
So the whole line now looks like:
After saving the file, the page loaded up fine in my browser.
Warning: Editing applicationHost.config on 64-bit Windows