• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 474
  • Last Modified:

Debugging and Running .NET 2.0 web applications in Windows 7

Hello,

I have moved to a new computer and this one has Windows 7 installed. I'm trying to run and debug some of my .NET 2.0 web applications and have difficulties doing it.

When I run an application, a blank page (about:blank) first shown and a notification icon is placed in the system tray saying:
  ASP.NET Development Server
  http://localhost:56200/W7Test
Then in about half a minute an actual application appears in its own window.

When I try debugging (pressing F5 or debug icon). Debugging starts, the balnk page is not shown, but debugging stops right away and application appears in a normal mode (a little green triangle that you use for debugging is not greyed out and you can start debugging again). Breakpoints in page load are not getting hit either. I'm assuming that debugging starts and ends in this extra blank page, which is not show this time.

Would appreciate your help on solving this problem.
Thanks
0
Yurich
Asked:
Yurich
  • 5
  • 4
1 Solution
 
Paul JacksonCommented:
try deleting the suo file for your solution
0
 
YurichAuthor Commented:
where would I find them? is it *.suo files? I don't see them in my folder. Moreover, I have created a new sample web application with on ebutton and the same story

thanks
0
 
Paul JacksonCommented:
They are hidden files yes *.suo will be in the same directory as your sln file.

Then follow this : http://msdn.microsoft.com/en-us/library/ms247075(v=VS.80).aspx
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
YurichAuthor Commented:
Yes, I found it and did as you suggested and then followed instructions on the link... All it's done is removed my settings for projects, toolbars, and editors - good I saved them before doing it. The problem with no debugging and extra page was not fixed.

Regards
0
 
Paul JacksonCommented:
Which version of visual studio are you using?
0
 
YurichAuthor Commented:
I use VS 2005. That link can be related, but I have SP2 (v.2.0.5....) and local admin rights.
0
 
LeeTutorretiredCommented:
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.
0
 
YurichAuthor Commented:
I found a work-around for this problem...

- Go to the property pages (right click on the project) and under start options, select "Don't open a page. Wait for a request from an external application" (by default it's set to "User current page").

- When you start your application in either modes now(non-debug or debug), it will not appear. But ASP.NET Development Server will still start (an icon in the task bar).

- Now, if you right click this icon and select "Open in Web Browser", the application will run. AND if you're debugging, it will jump to your breakpoint in the application!!

I hope it will help someone before they spend as much time as I have before I figured this one out :)
0
 
YurichAuthor Commented:
I have found a solution myself
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now