F5 (debug) shows directory content

F5 (debug) shows directory content

am 23.04.2008 19:28:00 von Richard

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

Re: F5 (debug) shows directory content

am 23.04.2008 23:10:46 von David Wier

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" wrote in message
news:3FC53933-A876-4D2F-ABAB-BFCEB2084ACC@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

Re: F5 (debug) shows directory content

am 23.04.2008 23:41:04 von Richard

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" wrote in message
> news:3FC53933-A876-4D2F-ABAB-BFCEB2084ACC@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
>
>
>

Re: F5 (debug) shows directory content

am 24.04.2008 14:06:47 von George Ter-Saakov

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" wrote in message
news:3FC53933-A876-4D2F-ABAB-BFCEB2084ACC@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