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
Richard [ Mi, 23 April 2008 19:28 ] [ ID #1948375 ]

Re: F5 (debug) shows directory content

Was it working before?

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


"Richard" <Richard [at] discussions.microsoft.com> wrote in message
news:3FC53933-A876-4D2F-ABAB-BFCEB2084ACC [at] microsoft.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
David Wier [ Mi, 23 April 2008 23:10 ] [ ID #1948400 ]

Re: F5 (debug) shows directory content

yes, and it works for otherteam members.

"David Wier" wrote:

> Was it working before?
>
> David Wier
> http://aspnet101.com
> http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with no
> bloated markup
>
>
> "Richard" <Richard [at] discussions.microsoft.com> wrote in message
> news:3FC53933-A876-4D2F-ABAB-BFCEB2084ACC [at] microsoft.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
>
>
>
Richard [ Mi, 23 April 2008 23:41 ] [ ID #1948404 ]

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 [at] discussions.microsoft.com> wrote in message
news:3FC53933-A876-4D2F-ABAB-BFCEB2084ACC [at] microsoft.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
George Ter-Saakov [ Do, 24 April 2008 14:06 ] [ ID #1949140 ]
Microsoft » microsoft.public.dotnet.framework.aspnet » F5 (debug) shows directory content

Vorheriges Thema: using Ajax Modal popup
Nächstes Thema: need introduced value in detailsview in code-behind