Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics 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 June 4th, 2006, 05:02 AM
Registered User
 
Join Date: Jun 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problems running Beginning ASP.NET 2.0 examples

I recently bought the Beginning ASP.NET 2.0 book but there are problems when I try to run the Chapter 3 examples. I get :
1.File ~/site.master not found
2.could not find mainContent in the current master page or pages
3.Element 'news' is not a known element. This can occur if there is a compilation error in the Web site.
4.C:\BegASPNET2\Chapters\Begin\Chapter03\WroxUnite d\Default.aspx: ASP.NET runtime error: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
5. It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

I am not using IIS. I run the MS Visual Studio 2005 Professional.

Any help will be very much appreciated.
Thanks

Yannis






Similar Threads
Thread Thread Starter Forum Replies Last Post
Error - Running examples BadKarma BOOK: Professional XNA Game Programming: For Xbox 360 and Windows ISBN: 978-0-470-12677-6 0 October 31st, 2007 05:44 PM
C# Examples for ASP.NET 2.0 InstantResults ? jade BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 4 June 22nd, 2006 01:03 PM
Problems with Examples of Beginning with php4 Book xtimox Beginning PHP 2 December 17th, 2004 02:01 PM
Running examples in text jleeheikkinen BOOK: Professional Crystal Reports for VS.NET 2 January 15th, 2004 05:33 PM
Beginning E-Commerce ASP.NET PayPal problems mluirette All Other Wrox Books 0 December 18th, 2003 03:35 PM





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