Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > ASP.NET 4 General Discussion
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 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
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 11th, 2014, 04:28 PM
Registered User
Points: 36, Level: 1
Points: 36, Level: 1 Points: 36, Level: 1 Points: 36, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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..
Reply With Quote
  #2 (permalink)  
Old February 11th, 2014, 04:33 PM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 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!
Reply With Quote
  #3 (permalink)  
Old February 11th, 2014, 04:35 PM
Registered User
Points: 36, Level: 1
Points: 36, Level: 1 Points: 36, Level: 1 Points: 36, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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.
Reply With Quote
  #4 (permalink)  
Old February 11th, 2014, 04:36 PM
Registered User
Points: 36, Level: 1
Points: 36, Level: 1 Points: 36, Level: 1 Points: 36, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
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



All times are GMT -4. The time now is 10:21 AM.


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