Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Breakpoints are not getting hit

Reply
Thread Tools

Breakpoints are not getting hit

 
 
MSK
Guest
Posts: n/a
 
      05-07-2006
Dear all,

Continued to my earlier mail regarding "Breaking points are not getting
hit in ASP.NET " ,
I got some idea from net. Can anyone give me more idea on this?

Just to remind the issue:

1. I got the following error while executing a newly created a web
application (just sample app)
["Error while trying to run project: Unable to start debugging on the
web server"]
(Some what I can avoid this error: change Project
properties-->Configuration-->Debugging-->Enable SQL debugging - TRUE)

2. The break points are not getting hit

I got an idea from net to change the ASP.NET version in IIS for this
specific application.


1. I have the following Microsoft.NET Framework version in my laptop

1) V1.0.3705
2) V1.1.4322
3) V2.0.5727 (Recently installed)



I checked the ASP.NET version of the application, it shows V2.0.5727
and I changed the ASP.NET version in
IIS-->Web sites-->Default websites--<Project> -->Properties-->Asp.NET
version as V1.1.4322,

then I could execute the application without the above-mentioned error
and the break points are also getting hit.

1. What was the mistake?

If I create a new web app, the ASP.NET version will be 2.0.5727, I am
getting the same error, and then I need to change the version.

2. How to avoid this?

Many Thanks

Regards
MSK.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Breakpoints are not getting hit in ASP.NET (C#) project MSK ASP .Net 3 01-02-2012 10:35 AM
ruby-debug does not hit breakpoints at class-methods Sys Ppp Ruby 18 08-24-2009 08:57 PM
Can't hit the site by name but I can hit by IP CK ASP .Net 9 10-19-2006 08:01 PM
debugging problem - breakpoints not hit Tariq Ahmad ASP .Net Web Services 1 09-25-2003 05:23 PM
Debugging problems in .NET...breakpoints never hit. Doug Swanson ASP .Net 5 07-28-2003 08:57 PM



Advertisments