Solved

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

Posted on 2011-03-23
2
295 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
Comment Utility
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
Comment Utility
Thank you.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now