Thursday, March 15, 2012

First Hit IIS7


On developing one of the internal firm’s application, got an opportunity to host the application in IIS 7.0. Guess what? It is interesting experience on first hit in IIS 7.0

If you are using IIS 7 then you probably might face this error. It’s a little frustrating when such errors occur and simple IIS 6 users when it was really simple to configure and run a website, those users feel really hooked up.

As the simple steps, Virtual Directory and Web services are created like earlier versions of IIS. After the hosting our application, the first launch hits the attached error.

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

Most likely causes: A default document is not configured for the requested URL, and directory browsing is not enabled on the server.

On root cause analysis, it has been found that directory browsing is not allowed. As far as this issue is concerned in the earlier versions of IIS we used to just set the directory browsing checkbox to be selected and so no issues.

In IIS 7, you just click the directory browsing option in the configuration section and on the right side of the directory browsing view you will find enable by default directory browsing is disabled. It will be more clear from the attached image. As the solution, you enable the option for directory browsing and all set.


First hit to learn about the interesting default setting in IIS 7

No comments:

Post a Comment