I have created a ASP.NET MVC Application with .Net Framework 4.5. I have tried to deploy in IIS 7.5 with Application Pool 4.0 but the following errors. Is there anything I should change in IIS Configuration or in Application Web.conf.
Thanks in advance !
Try adding this to your web.config
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>
Make sure you have the following settings for your website in IIS
1) Authentication Mode - Windows or Forms Enabled (as per your web.config) 2) Directory Browsing - Enabled (In fact your 1st screen shot clearly says - On the Directory Browsing page, in the Actions pane, click Enable.)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.