views:

56

answers:

2

Rudimentary folder structure:

<root>
---<admin>
------index.aspx
------[other files]
---index.aspx

When I navigate to mywebsite.com/admin/, all I get is a directory listing. How can I get it to load up index.aspx automatically?

+6  A: 

You have to change the default documents list on the IIS website configuration dialog. If you don't have access to this, change index.aspx to default.aspx. The ASP.NET install sets default.aspx in the list, and it's the reason all new VS web projects start with a Default.aspx page.

Chris
good call. i looked at the list, and index.aspx was on there as well. no biggie switching it to default.aspx and it works like a charm (brain fried, end of the day, stupid mistakes) thanks again!
Anders
+2  A: 

Try renaming index.aspx to Default.aspx

Pavel Chuchuva