Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6
This is the forum to discuss the Wrox book ASP.NET 2.0 Instant Results by Imar Spaanjaars, Paul Wilton, Shawn Livermore; ISBN: 9780471749516
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 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 7th, 2006, 12:37 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

What problem are you having? In this thread, a number of different problems and error messages were posted, so can you please elaborate a bit?

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
 
Old August 7th, 2006, 03:57 PM
Authorized User
 
Join Date: Aug 2006
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to abel714 Send a message via Yahoo to abel714
Default

Well, I'll do my best, but there are many errors:

File: ContentList.aspx.vb

Error: Make sure that the class defined in this code matches the 'inherits' attribute, and that it extends the correct base class (eg: Page or UserControl).

The second one on the list is:

File: App_Web_blr89bkb.6.vb

Error: '_Default' is ambiguous

I don't even know where to start with any of these as I am very new to this, but I did follow the book verbatim as far as setting everything up and establishing proper rights in the necessary directories.

I used the setup to automatically have setup create the cms web as I did with the others mentioned in the book, and they all seem to have errors similar to those of other users that have posted.

If this doesn't help, pleaes let me know, and I'll post more of them.

Thanks in advance

 
Old August 7th, 2006, 04:15 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

What happens when you open the site directly in Visual Web Developer? That is, choose File | Open Web Site and then browse to the location where you extracted the files from the Source folder?

To fix the ambiguous error, you could try what Gixxer suggested. So, when you look at the code behind of each file that generates this error, you'll see something like this:

Partial Class _Default
Inherits System.Web.UI.Page

Change that to:

Partial Class SomethingUnique_Default
Inherits System.Web.UI.Page

where SomethingUnique refers to something unique, like Management for files in the management folder. Next, open up the markup portion of the associated file and change the following code in the page directive from this:

Inherits="_Default"

to this:

Inherits="SomethingUnique_Default"

Again, SomethingUnique refers to the unique name you chose in the Inherits section earlier.

You may need to repeat this step for other files called Default.aspx.
Honestly, I don't know why and when this error shows up. I have seen it every now and then, pretty random. However, the steps described above should get rid of it for good.

Does this help?

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Wrox CMS retroviz BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 5 January 31st, 2007 01:23 PM
CMS abaso.jadhav01 ASP.NET 2.0 Basics 3 November 22nd, 2006 02:47 AM
CMS-Cant Login SoftMind BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 42 August 10th, 2006 03:23 PM
CMS Automation zubo01 XML 6 June 6th, 2006 09:05 AM
CMS anshul Pro PHP 2 May 30th, 2005 01:22 AM





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