By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,289 Members | 1,457 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,289 IT Pros & Developers. It's quick & easy.

F5 (debug) shows directory content

P: n/a
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
Jun 27 '08 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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" <Ri*****@discussions.microsoft.comwrote in message
news:3F**********************************@microsof t.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

Jun 27 '08 #2

P: n/a
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" <Ri*****@discussions.microsoft.comwrote in message
news:3F**********************************@microsof t.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


Jun 27 '08 #3

P: n/a
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" <Ri*****@discussions.microsoft.comwrote in message
news:3F**********************************@microsof t.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

Jun 27 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.