Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 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 August 17th, 2006, 10:38 AM
Authorized User
 
Join Date: Aug 2006
Location: , , .
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.



  #2 (permalink)  
Old August 17th, 2006, 02:46 PM
Authorized User
 
Join Date: May 2006
Location: , , .
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.

  #3 (permalink)  
Old August 18th, 2006, 11:16 AM
Authorized User
 
Join Date: Aug 2006
Location: , , .
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.

  #4 (permalink)  
Old September 6th, 2006, 10:16 AM
Registered User
 
Join Date: Sep 2006
Location: , , .
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?

 


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
CH 14 Pages 749-753 Compile Errors Razzy The Pug BOOK: Ivor Horton's Beginning Visual C++ 2005 1 March 28th, 2008 11: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 12:14 PM
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 05:23 AM



All times are GMT -4. The time now is 01:18 PM.


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