Wrox Programmer Forums
ASP.NET 3.5 Professionals If you are an experienced ASP.NET programmer, this is the forum for your 3.5 questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Professionals section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 15th, 2009, 09:59 AM
Authorized User
Join Date: Jun 2009
Posts: 66
Thanks: 22
Thanked 0 Times in 0 Posts
Default Directory Listing Deanied

I am new in ASP.NET and I am getting this error:
Directory Listing Deanied
This Virtual Directory does not allow contents to be listed.

I have created a virtual directory and have put my application in that folder.....I have also put the application under inetpub/wwwroot/my_application. but when I try to load the application locally by entering http://localhost/my_application/default.aspx it says the above..... Please help.

I am told that the extension .aspx is not added to the path....cananyone tell me how to add .aspx to the path???

Now I am getting this only from Firefox.....IE is working fine.

Thank you in advance

Last edited by skhan; July 15th, 2009 at 10:32 AM..
Old July 16th, 2009, 09:32 AM
Lee Dumond's Avatar
Wrox Author
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts

Do you actually have a default.aspx page in that folder? And if so, is default.aspx set up as a default document in IIS?
Visit my blog at http://leedumond.com
Follow me on Twitter: http://twitter.com/LeeDumond

if (this.PostHelpedYou)
The Following User Says Thank You to Lee Dumond For This Useful Post:
skhan (July 16th, 2009)
Old July 16th, 2009, 10:37 AM
Authorized User
Join Date: Jun 2009
Posts: 66
Thanks: 22
Thanked 0 Times in 0 Posts

Thank you Lee, I have solved this problem......I had a default.aspx page but IIS didn't have default.aspx to load a a default page.........I have searched the internet and solved it....thank you for your help...

Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET Help: Directory Listing Deanied skhan ASP.NET 1.0 and 1.1 Basics 0 July 14th, 2009 02:25 PM
Listing of Directory Content ram_dwivedi Javascript 3 December 9th, 2005 05:13 AM
FSO directory listing spinout Classic ASP Components 4 November 7th, 2004 03:18 AM
Directory Listing Bleetz Pro JSP 1 September 20th, 2003 06:25 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.