Wrox Programmer Forums
|
ASP.NET 4 General Discussion For ASP.NET 4 discussions not relating to a specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 4 General Discussion 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 February 11th, 2014, 04:28 PM
Registered User
 
Join Date: Feb 2014
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default 'Inherits =' error

[I accidentally posted this in the wrong forum - please don't reply here]

I'm up to chapter 6 in this book, and now I'm getting errors every time I try to launch a page:

Error 10 'relurlnamespace$_Default' is not a valid value for attribute 'inherits'. D:\Projects\dotNet\BegASP\WebSite1\Default.aspx

So I must have missed something somewhere??? Can someone straighten me out here?

Thanks,
Harry

Last edited by hboswell; February 11th, 2014 at 04:39 PM..
 
Old February 11th, 2014, 04:33 PM
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,

To which edition of the book does this apply? You're better off posting in a category specific to the book which you can find here: http://p2p.wrox.com/asp-net-asp-12/

That said: it looks like your custom template is messed up a bit. Does this happen on new pages? Or just whenever you try to run a page? In the former case, you should follow the steps again to create the template, as it looks like you made a typo somewhere. In the latter case, you may have forgotten to delete the Temporary page you created for the template.

Hope this helps,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old February 11th, 2014, 04:35 PM
Registered User
 
Join Date: Feb 2014
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I thought I was - this is the ASP.Net 4 version.
 
Old February 11th, 2014, 04:36 PM
Registered User
 
Join Date: Feb 2014
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Whoops! Just realized I posted in the wrong place! Sorry, I'll move it.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 5 - Inherits MarshallN BOOK: Beginning ASP.NET 4 : in C# and VB 1 July 3rd, 2011 04:00 PM
Inherits rpcasey001 BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 March 5th, 2009 11:36 PM
Inherits sub class Brettvan1 VB.NET 2002/2003 Basics 4 June 10th, 2005 05:16 PM
Inherits the page? frej ASP.NET 1.0 and 1.1 Basics 3 June 3rd, 2005 09:26 AM
Inherits error phbrady General .NET 1 April 7th, 2004 02:15 AM





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