 |
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
|
|
|
|
|

October 30th, 2006, 09:36 AM
|
|
Authorized User
|
|
Join Date: Sep 2006
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Chapter 3, cannot build due to health monitoring
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.
|
|

October 30th, 2006, 11:41 AM
|
|
Authorized User
|
|
Join Date: Sep 2006
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Ok, I managed to compile the CustomEvents project, it was missing the System.Web reference. BUT!!!!! On my web project, it cannot build or compile due to a section on the "Web.Config".
<eventMappings>
<add name="TBH Events" type="MB.TheBeerHouse.WebCustomEvent, MB.TheBeerHouse.CustomEvents" />
</eventMappings>
This is the health monitoring section, it says that 'cannot find specified file'. Can somebody be kind enough to shine me the path on this????
|
|

October 30th, 2006, 02:00 PM
|
|
Authorized User
|
|
Join Date: May 2006
Posts: 99
Thanks: 0
Thanked 1 Time in 1 Post
|
|
I've written about this before.
If you use ILDASM you'll find that "MB.TheBeerHouse.CustomEvents" compiles to "MB.MB.TheBeerHouse.CustomeEvents". You can eliminate the first "MB." by removing the default namespace from the Custom Events project property.
|
|

October 30th, 2006, 03:10 PM
|
|
Authorized User
|
|
Join Date: Sep 2006
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
MythicalMe,
I apologize on my ignorance, but how do I know if I am using ILDASM or is there a way to switch ?
|
|

October 30th, 2006, 03:15 PM
|
|
Authorized User
|
|
Join Date: Sep 2006
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
MythicalMe,
I did remove "MB" from the namespace of the CustomEvents.cs and still get the error 'Could not load file or assembly 'MB.TheBeerHouse.CustomEvents'.
I did fix that issue, I had to double click on the properties of the CustomEvents and set the namespaces. BUT now it still won't compile, because it cannot find reference to 'TheBeerHouseSection' on the Globals.cs of the web project. I did all the stuff like on the book, so I don't see where to point the compiler to find 'TheBeerHouseSection'
|
|

February 25th, 2007, 12:02 AM
|
|
Registered User
|
|
Join Date: Feb 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi stzd8,
I just had this problem. I resolved it by doing the following.
1. Scratch head until sore.
2. Open the properties window of the custom events project
3. Change the assembly name to "MB.TheBeerHouse.CustomEvents"
4. Change the Default namespace to "MB.TheBeerHouse"
5. Recompile the events project
6. Recompile the web project.
|
|

February 27th, 2007, 05:55 PM
|
|
Registered User
|
|
Join Date: Feb 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks 'Pleb' - spot on advice that I needed.
I'd just figured out what the problem was, but was going to leave my bin file as "TBH_CustomEvents.dll" as I didn't know how to generate the name I wanted. I could see it should be this from the downloaded chapters.
Some of us are mortal.
|
|

February 27th, 2007, 07:14 PM
|
|
Registered User
|
|
Join Date: Feb 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks phealy02, it's good to see my post has helped someone. :D
|
|

May 11th, 2007, 02:23 PM
|
|
Authorized User
|
|
Join Date: May 2007
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thank you guys :)
I had the same problem and I was dying with this .dll CustomEvents(Chapter 3) over many many days, but now it's solved with your help.
I am still looking for the best way to read this book, as the database is not so much covered in the book.
I am a newbie to C# that is why I find this book very hard
|
|

May 11th, 2007, 04:18 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
This is not a book for newbies. This doesn't cover every detailed mouse click and keystroke, and so it assumes a certain amount of familiarity with .NET, C#, and SQL.
You should always get the code download and study that as you read sections in the book. This code download includes a complete database.
But you might not understand the book very well until you get more familiar with .NET. This is a complex subject, I'm afraid. First you must understand the language and the platform. Then you have to understand the basics of ASP.NET web development and how to build simple web pages. Then, lastly, you need to tackle architecture and overall website design and implementation (which is the subject of this book).
Eric
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| Developing a Health Monitoring UI |
Lee Dumond |
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 |
1 |
January 22nd, 2008 06:26 AM |
| Health Monitoring System |
vic02 |
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 |
0 |
February 7th, 2007 11:52 AM |
| Health Monitoring System |
spardoe |
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 |
6 |
October 31st, 2006 10:28 PM |
| Need Help with Health Monitoring System |
ryandoah |
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 |
8 |
October 19th, 2006 08:11 AM |
| Health Monitoring System - Chapter 3 Page 109 - 11 |
Laurie S. Stapleton |
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 |
2 |
August 31st, 2006 12:13 PM |
|
 |