Question

There are many other questions similar to this in SO, i am still posting here because none of them are working out for my environment.

The exact error i am getting is,

HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory.

Enabling Directory browsing in IIS doesn't help at all.

Also tried adding adding all verbs in ExtensionLessUrlHandler-Integrated-4.0 in IIS Handler mappings.

And also tried removing module WebDAVModule and WebDAV handler in config as shown below.

<system.webServer>
   <modules>
      <remove name="WebDAVModule" />
   </modules>
   <handlers>
      <remove name="WebDAV" />
   </handlers>
</system.webServer>

Thanks in advance for your answers!

Was it helpful?

Solution

If anyone is still facing this issue, I got it resolved by adding the lines below in my config file:

<validation validateIntegratedModeConfiguration="false" />
<modules runAllManagedModulesForAllRequests="true" />
<handlers>
    <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
    <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" resourceType="Unspecified" requireAccess="Script" preCondition="integratedMode,runtimeVersionv4.0" />
</handlers>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top