F5 (debug) shows directory content

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?UmljaGFyZA==?=

    F5 (debug) shows directory content

    Hi,

    I got latest from an ASP .NET project from TFS.
    With the project loaded in Visual Studio, I opened a vb source file from
    this web project, and pressed F5 to run the project.
    IE opens, and displays the source folders from the application, the directory
    Why is this, what am I doing wrong?

    Thanks
  • David Wier

    #2
    Re: F5 (debug) shows directory content

    Was it working before?

    David Wier

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


    "Richard" <Richard@discus sions.microsoft .comwrote in message
    news:3FC53933-A876-4D2F-ABAB-BFCEB2084ACC@mi crosoft.com...
    Hi,
    >
    I got latest from an ASP .NET project from TFS.
    With the project loaded in Visual Studio, I opened a vb source file from
    this web project, and pressed F5 to run the project.
    IE opens, and displays the source folders from the application, the
    directory
    Why is this, what am I doing wrong?
    >
    Thanks

    Comment

    • =?Utf-8?B?UmljaGFyZA==?=

      #3
      Re: F5 (debug) shows directory content

      yes, and it works for otherteam members.

      "David Wier" wrote:
      Was it working before?
      >
      David Wier

      http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with no
      bloated markup
      >
      >
      "Richard" <Richard@discus sions.microsoft .comwrote in message
      news:3FC53933-A876-4D2F-ABAB-BFCEB2084ACC@mi crosoft.com...
      Hi,

      I got latest from an ASP .NET project from TFS.
      With the project loaded in Visual Studio, I opened a vb source file from
      this web project, and pressed F5 to run the project.
      IE opens, and displays the source folders from the application, the
      directory
      Why is this, what am I doing wrong?

      Thanks
      >
      >
      >

      Comment

      • George Ter-Saakov

        #4
        Re: F5 (debug) shows directory content

        Right click on your "first" page and make it "Start up page"
        You can disable "directory browsing" in IIS management so IIS will server
        the default.aspx page...
        But if you have "directory browsing" enabled IIS will show you the content
        of the directory. And if you did not set your "Start up" page then VS will
        simply start a browser with you project url.




        George.


        "Richard" <Richard@discus sions.microsoft .comwrote in message
        news:3FC53933-A876-4D2F-ABAB-BFCEB2084ACC@mi crosoft.com...
        Hi,
        >
        I got latest from an ASP .NET project from TFS.
        With the project loaded in Visual Studio, I opened a vb source file from
        this web project, and pressed F5 to run the project.
        IE opens, and displays the source folders from the application, the
        directory
        Why is this, what am I doing wrong?
        >
        Thanks

        Comment

        Working...