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 October 2nd, 2006, 12:48 PM
Registered User
 
Join Date: Oct 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default TBH erros

Hi,

I have downloaded the final The Beer House VB source-code and I hit Ctrl+F5 on VS 2005, I receive a lot of errors, like that:

Error 1 c:\inetpub\wwwroot\TBH_Web\Controls\ProductListing .ascx.vb(6): error
ASPNET: Make sure that the class defined in this code file matches the
'inherits' attribute, and that it extends the correct base class (e.g. Page
or UserControl). c:\inetpub\wwwroot\TBH_Web\Admin\SendNewsletter.as px 1

Error 2 Make sure that the class defined in this code file matches the
'inherits' attribute, and that it extends the correct base class (e.g. Page
or UserControl). c:\inetpub\wwwroot\TBH_Web\Controls\ProductListing .ascx.vb
6

Error 9 'Page' is not a member of 'ASP.controls_productlisting_ascx'.
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET
Files\tbh_web\94767118\68e0e9f5\App_Web_vz4-pjdx.0.vb 790

Error 21 Name 'Eval' is not declared.
c:\inetpub\wwwroot\TBH_Web\Controls\ProductListing .ascx 48

...etc...

and lot more... totalizing 60 errors...

How can I fix it ? Can you help me ?

Thanks in advance

 
Old October 2nd, 2006, 02:07 PM
Authorized User
 
Join Date: May 2006
Posts: 99
Thanks: 0
Thanked 1 Time in 1 Post
Default

How did you open the source? There are very specific settings related to the solution and projects. If you didn't open the solution (TheBeerHouseVB.sln). Refer to the "readme.txt" file.

You're welcome to e-mail me if this doesn't solve your problem. My e-mail address is also in the readme file.

 
Old February 7th, 2007, 01:08 PM
Friend of Wrox
 
Join Date: Mar 2006
Posts: 310
Thanks: 0
Thanked 0 Times in 0 Posts
Default

forvige me but I open the solution and when i debug/release the solution i receive the same error's that prbspfc say

Could anyone tell what can be done to solve this?

Thanks

 
Old February 7th, 2007, 01:32 PM
Friend of Wrox
 
Join Date: Mar 2006
Posts: 310
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I found a solution!

MythicalMe: You should chande the vb source code. It's quite simple...

Just change uncomment this:
Code:
    Partial Class ProductListing
        'Inherits BaseWebPart
From ProductListing.vb






Similar Threads
Thread Thread Starter Forum Replies Last Post
TBH and EntLib Avraham Nahir BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 October 25th, 2008 09:08 AM
AJAX + TBH? ViagraFalls BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 13 December 11th, 2007 09:17 AM
Help! Still cannot get the TBH to run sarka BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 August 12th, 2007 12:21 AM
AJAX-TBH FT BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 17 August 6th, 2007 04:11 AM
TBH and XML rocco50 BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 January 31st, 2007 11:45 AM





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