Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > Other ASP.NET > ASP.NET 1.x and 2.0 Application Design
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 1.x and 2.0 Application Design Application design with ASP.NET 1.0, 1.1, and 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.x and 2.0 Application Design section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old October 30th, 2006, 12:17 AM
Authorized User
 
Join Date: Sep 2006
Location: , , .
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default Cant compile or build on chapter 3

Ok guys,

I am at the end of Chapter 3, where the 'Configuring Health Monitoring System'. Here we have to create an additional project to put the 'customevent'. I did that and entered the code as in the book. But now it won't compile!!!!

It shows that it several namespaces does not recognize, like using System.Web.Security; -> "Security"
using System.Web.UI; -> "UI"
using System.Web.UI.WebControls; -> "UI"
using System.Web.UI.WebControls.WebParts; -> "UI"
using System.Web.UI.HtmlControls; -> "UI"
using System.Web.Management; -> "Management"

I don't know how you guys managed it, but I could use some help from the community.

  #2 (permalink)  
Old October 30th, 2006, 02:57 AM
Friend of Wrox
Points: 793, Level: 10
Points: 793, Level: 10 Points: 793, Level: 10 Points: 793, Level: 10
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2005
Location: OKC, OK, USA.
Posts: 227
Thanks: 1
Thanked 7 Times in 7 Posts
Default

stzd8:
Could not find the book you are using. I am using ASP.NET 1.1 and it is certainly not in there. As a suggestion, find your book in the Browse Book tab and check the Errata Sheet.

Hope this helps.
  #3 (permalink)  
Old October 30th, 2006, 08:33 AM
Authorized User
 
Join Date: Sep 2006
Location: , , .
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Peace95,

The book I am using is "ASP.NET 2.0 Website Programing".

  #4 (permalink)  
Old October 30th, 2006, 01:10 PM
Friend of Wrox
Points: 793, Level: 10
Points: 793, Level: 10 Points: 793, Level: 10 Points: 793, Level: 10
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2005
Location: OKC, OK, USA.
Posts: 227
Thanks: 1
Thanked 7 Times in 7 Posts
Default

stzd8:
There was no mentioning of any errors on chapter 3 of the errata sheet. However, I did lookup the namespace collections just to see if they exist, I found all except two: System.Web.UI.WebControls.WebParts and System.Web.Management. Even that does not mean they don't exist, but they were not in my list via the ASP.NET Web Matrix. This only makes me think that is a "syntax-type" error, which can turn out to be the most difficult to find. But on a positive note: after reading the book's excerpt, I wsas intrigued by the approach and I am considering looking into it, if I can tear myself away from ADO.NET and use the ASP.NET Web Matrix. So thanks for the incentive, stzd8.
  #5 (permalink)  
Old October 30th, 2006, 02:01 PM
Authorized User
 
Join Date: Sep 2006
Location: , , .
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Peace95,

I got it compiling the project since it needed the "System.Web" reference on the project. But on the mail web project, it cannot compile due to problems with the Web.config <healthmonitoring> settings not finding "MB.TheBeerHouse.CustomEvents"... What gives, I added the reference on the web project.

 


Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 18 code compile problem warlock7 BOOK: Ivor Horton's Beginning Visual C++ 2005 8 January 3rd, 2008 09:04 AM
Build VS Compile sugarpalm157 Intro Programming 0 August 9th, 2007 08:12 PM
Chapter 18 code won't compile warlock7 Visual C++ 2005 0 January 18th, 2007 03:10 PM
C# - Chapter 3 Build Error TJ BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 0 July 29th, 2006 03:43 PM



All times are GMT -4. The time now is 02:46 AM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.