1

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 !

Error 403. Directory Browsing Disabled

Error 404. Directory Browsing Now is Enabled

MRBULL93
  • 131
  • 1
  • 3
  • 12

2 Answers2

2

Try adding this to your web.config

<system.webServer>
  <modules runAllManagedModulesForAllRequests="true"/> 
</system.webServer>
Garry
  • 4,631
  • 5
  • 30
  • 43
0

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.)

Uba
  • 569
  • 3
  • 6
  • 18