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 August 17th, 2006, 09:38 AM
Authorized User
 
Join Date: Aug 2006
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ch 5 - Errors in all *Rss.aspx pages

Running:
Visual Studio 2005 8.0.50727.42
.NET Framework 2.0.50727

In the downloadable code, I'm getting identical errors for all of the Rss files in Chapter 5, which include:

GetArticlesRss.aspx
GetProductsRss.aspx
GetThreadsRss.aspx

Each file appears to have the same errors, which are numerous.

For a clue, if I comment out the <asp:Repeater> code, and everything contained within it, I still get the following (3) errors for the GetArticlesRss.aspx file, and identical errors for the other (2) Rss files:

Error 103 Validation (): Element 'html' occurs too few times. C:\ASP.NET 2.0 web sites\TheBeerHouse\TBH_Web\GetArticlesRss.aspx 31 3 C:\...\TBH_Web

Error 104 Validation (XHTML 1.0 Transitional): Element 'head' must be included within a parent element. C:\ASP.NET 2.0 web sites\TheBeerHouse\TBH_Web\GetArticlesRss.aspx 4 2 C:\...\TBH_Web
Error 105 Validation (XHTML 1.0 Transitional): Element 'title' occurs too few times. C:\ASP.NET 2.0 web sites\TheBeerHouse\TBH_Web\GetArticlesRss.aspx 4 2 C:\...\TBH_Web
Perhaps this is causing the other bugs.



 
Old August 17th, 2006, 01:46 PM
Authorized User
 
Join Date: May 2006
Posts: 99
Thanks: 0
Thanked 1 Time in 1 Post
Default

You will get those errors because the aspx page is not structured the way that the compiler likes it to be. In this case it is telling you that the html, head and title elements are missing.

However, run-time compile doesn't produce the errors because the page produced is recognized as an XML page.

 
Old August 18th, 2006, 10:16 AM
Authorized User
 
Join Date: Aug 2006
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks , MythicalMe, for the accurate and concise reply. I guess we just have to see those compiler error messages all the time. I'm guessing it's probably not a good idea to turn off those error messages (not sure yet how or if I can do that), since the compiler might flag something else that truly needs to be fixed, which the run-time will not ignore.

 
Old September 6th, 2006, 09:16 AM
Registered User
 
Join Date: Sep 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No other clean solution for this problem?
As a programmer, it's difficult to see a lot of errors in the solution...
Do we really have to see those ugly compiler messages?






Similar Threads
Thread Thread Starter Forum Replies Last Post
CH 14 Pages 749-753 Compile Errors Razzy The Pug BOOK: Ivor Horton's Beginning Visual C++ 2005 1 March 28th, 2008 10:20 AM
Ch. 12 - SqlDataSource Designer Errors llealii BOOK: Professional ASP.NET 2.0 Server Control and Component Development ISBN: 978-0-471-79350-2 2 April 11th, 2007 11:14 AM
strange "errors" with nested master pages... thenoseknows ASP.NET 2.0 Professional 2 November 28th, 2006 05:28 PM
ch.14 file errors caseyc BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 10 February 28th, 2006 03:59 PM
errors on outside pages alihussein3 Javascript 2 September 1st, 2003 04:23 AM





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