Website starts with directorly listing instead of displaying defaultpage

  • Thread starter Thread starter Dennis
  • Start date Start date
D

Dennis

I have a website in VS 2005. For some reason, when I run it from
within VS, it shows the directory listing instead of the default
page. It just started doing this and I have no idea what I did to
cause it. Does anyone know how to make it show the default page at
startup again?
 
If you're just talking about within VS.Net, right click on your startup file
(the one you want) and choose the option to set it as the startup file.

Within IIS, you can supress file listings and set the default page names.

David Wier
http://aspnet101.com
http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with no
bloated markup
 
Back
Top