Website starts with directorly listing instead of displaying defaultpage

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?
 
D

David Wier

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,170
Messages
2,570,925
Members
47,468
Latest member
Fannie44U3

Latest Threads

Top