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 or IIS 5.1 users when it was really simple to configure and run a website, those users feel really hooked up. I myself faced a lot of issues but as you progress with IIS 7 you will find it simple to configure and very easy to manage. As far as this issue is concerned in the earlier versions of IIS we used to just set the directory browsing checkbox to be checked in order to enable directory browsing on the virtual directory or the website, its really simple in IIS 7 also 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 below image.
This will solve your Directory Browsing issue for IIS 7.Stay tuned for more on IIS 7 tips and tricks series. Happy Programming !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
your information realy helps me a lot … and it saves my time.
thanks Aashish
thnx it helps me out..
Regards / Sumaiya
thx alot
Thank you
You are best!
Hi, thanks for the info. However, I am still struggling a bit here. I am very pretty new to IIS. Now, I created an .Htm file in a folder called www2root under inetpub.
Now, I do not want to enable Directory browsing, because it will just display all the contents which I have. Instead, I'd like to keep it disabled and just allow my users to be able to access the website, that is it.
I found a workarouns on a microsoft kb which asks you to type in the name of the default document manually. But then do I have to do that on every single page that I create ?
Please let me know if my assumption is correct.
Thanks
Anand
thnks its help me out..really nice tutorial…