Solved

My web appl when run from vs only display Directory Listing -- /

Posted on 2011-03-23
2
300 Views
Last Modified: 2012-06-27
Hi, I'm using asp.net 3.5 and C# in VS2008.  this is what I get and how to fix this?  Thank you.
Directory Listing -- /
     Tuesday, March 22, 2011 02:49 PM        <dir> App_Config
      Tuesday, March 22, 2011 02:49 PM        <dir> App_Data
      Tuesday, March 22, 2011 02:48 PM        <dir> code
      Tuesday, March 22, 2011 02:47 PM        <dir> layouts
      Tuesday, March 22, 2011 02:49 PM        <dir> obj
      Tuesday, March 22, 2011 02:48 PM        <dir> Properties
      Tuesday, March 22, 2011 02:49 PM        <dir> Service References
      Tuesday, March 22, 2011 02:47 PM        <dir> style
      Tuesday, March 22, 2011 02:48 PM        <dir> xsl
    Wednesday, March 23, 2011 10:13 AM       40,444 school.med.Web.csproj
    Wednesday, March 23, 2011 10:13 AM        1,297 school.med.Web.csproj.user
    Wednesday, March 23, 2011 10:11 AM        7,368 web.config

Version Information: ASP.NET Development Server 9.0.0.0
0
Comment
Question by:lapucca
2 Comments
 
LVL 7

Accepted Solution

by:
JosephEricDavis earned 500 total points
ID: 35201979
You need to specify a start page in the web application project.  This is done by right clicking on one of the aspx pages in your project and selecting the option 'Set as start page'.
0
 

Author Closing Comment

by:lapucca
ID: 35203385
Thank you.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Need a simple RegEx to search for two words 27 78
WPF user control poped up from a window 1 35
Return array 3 19
Visual Studio 2015 auto inserted code 12 65
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question