?
Solved

Debugging and Running .NET 2.0 web applications in Windows 7

Posted on 2011-02-28
12
Medium Priority
?
470 Views
Last Modified: 2012-05-11
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
Comment
Question by:Yurich
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
12 Comments
 
LVL 29

Expert Comment

by:Paul Jackson
ID: 35002618
try deleting the suo file for your solution
0
 
LVL 21

Author Comment

by:Yurich
ID: 35002828
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
 
LVL 29

Expert Comment

by:Paul Jackson
ID: 35003594
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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
LVL 21

Author Comment

by:Yurich
ID: 35012440
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
 
LVL 29

Expert Comment

by:Paul Jackson
ID: 35012817
Which version of visual studio are you using?
0
 
LVL 29

Expert Comment

by:Paul Jackson
ID: 35012839
0
 
LVL 21

Author Comment

by:Yurich
ID: 35013173
I use VS 2005. That link can be related, but I have SP2 (v.2.0.5....) and local admin rights.
0
 
LVL 59

Expert Comment

by:LeeTutor
ID: 35331325
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
 
LVL 21

Accepted Solution

by:
Yurich earned 0 total points
ID: 35414121
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
 
LVL 21

Author Closing Comment

by:Yurich
ID: 35446468
I have found a solution myself
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
Suggested Courses
Course of the Month12 days, 19 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question