Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 25th, 2009, 02:21 PM
Authorized User
 
Join Date: Mar 2009
Posts: 20
Thanks: 7
Thanked 0 Times in 0 Posts
Default Debugging The Beer House site

Hello,

I have began learning this great book.I am trying to place a breakpoint and debug the site to know the flow between the pages ie Code-behind,BLL and DAL. I am new to developing multi tier applications. Any help is greatly appreciated if you could tell me where I need to enable debugging for this site so I would be able to follow the flow b/w pages.

Thanks in advance

Jyothi
 
Old March 25th, 2009, 02:47 PM
Lee Dumond's Avatar
Wrox Author
 
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

In web.config, under <system.web>

<compilationdebug="true">

Hit F5 and you should be off to the races.
__________________
Visit my blog at http://leedumond.com
Follow me on Twitter: http://twitter.com/LeeDumond

Code:
if (this.PostHelpedYou)
{
   ClickThanksButton(); 
}
The Following User Says Thank You to Lee Dumond For This Useful Post:
Jyothi_23 (March 25th, 2009)
 
Old March 25th, 2009, 04:04 PM
Authorized User
 
Join Date: Mar 2009
Posts: 20
Thanks: 7
Thanked 0 Times in 0 Posts
Default

hi,

Thanks very much!
I have set the attribute debug=true in web.config and able to see the values at run time.
But I still get the message in Immediate Window "debugging is disabled for the application you are debugging, please uncheck the "disable script debugging".
Now I tried to change the option in IE tools-->Options-->Advanced-->Unchecked the option "disable script debugging". But still I am seeing the same message.
Thanks for the help!

-Jyothi
 
Old March 25th, 2009, 04:13 PM
Lee Dumond's Avatar
Wrox Author
 
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

Check to see that Terminal Services is running.

Control Panel->Administrative Tools->Services

Scroll to Terminal Services. If it is not started, go ahead and start it, then try again.
__________________
Visit my blog at http://leedumond.com
Follow me on Twitter: http://twitter.com/LeeDumond

Code:
if (this.PostHelpedYou)
{
   ClickThanksButton(); 
}
The Following User Says Thank You to Lee Dumond For This Useful Post:
Jyothi_23 (March 25th, 2009)
 
Old March 25th, 2009, 07:21 PM
Authorized User
 
Join Date: Mar 2009
Posts: 20
Thanks: 7
Thanked 0 Times in 0 Posts
Default

Hi Lee Dumond,

Thanks for all the responses you have provided.

I have set the attribute <compilation debug="true">
and also checked the terminal services are running.

Actually I am still confused myself if I can debug this site from the solution file. I just tried to open the solution file and press F5. Then the website opened successfully. But my question is, can I see the values at run time by inserting breakpoints if I just open this solution file? My question may look like a silly one but I am still not able to get it worked.
Thanks!

-Jyothi
 
Old March 25th, 2009, 07:25 PM
Lee Dumond's Avatar
Wrox Author
 
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

Are you still getting the "debugging is disabled for the application you are debugging" message?
__________________
Visit my blog at http://leedumond.com
Follow me on Twitter: http://twitter.com/LeeDumond

Code:
if (this.PostHelpedYou)
{
   ClickThanksButton(); 
}
 
Old March 25th, 2009, 08:49 PM
Authorized User
 
Join Date: Mar 2009
Posts: 20
Thanks: 7
Thanked 0 Times in 0 Posts
Default

Yes, I am still getting the same message "debugging is disabled for the application you are debugging".
I started reading the book and simultaneously trying to see how the flow is going in the pages. I just followed the read-me file and installed the database successfully and able to run the application. Only probelm is not able to do "step into, step over" operations.
Thanks!
 
Old March 25th, 2009, 08:54 PM
Authorized User
 
Join Date: Mar 2009
Posts: 20
Thanks: 7
Thanked 0 Times in 0 Posts
Default

By the way, Do I need to install the application? I just opened the solution file but did nt install the application. So I am seeing "The application is not installed" under TBH_Deploy folder.





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change the image of "The Beer House"? dr_ran ASP.NET 2.0 Basics 0 May 31st, 2008 10:48 AM
Beer House developer plb BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 47 February 18th, 2008 02:11 PM
The Beer House Arabic Localization nesrine ASP.NET 2.0 Professional 1 February 21st, 2007 12:04 PM
Problem with forum of the beer house kherrerab BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 August 31st, 2006 03:33 PM
The Beer House kooltech BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 May 8th, 2006 10:31 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.