Wrox Programmer Forums
|
BOOK: Wrox's ASP.NET 2.0 Visual Web Developer 2005 Express Edition Starter ISBN: 978-0-7645-8807-5
This is the forum to discuss the Wrox book Wrox's ASP.NET 2.0 Visual Web Developer 2005 Express Edition Starter Kit by David Sussman, Alex Homer; ISBN: 9780764588075
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Wrox's ASP.NET 2.0 Visual Web Developer 2005 Express Edition Starter ISBN: 978-0-7645-8807-5 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 September 28th, 2010, 04:52 PM
Registered User
 
Join Date: Sep 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error when running files

Hi expert,

I have an error when running files as below:

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.

<siteMap defaultProvider="AspXmlSiteMapProvider" enabled="true">
The virtual directory has been set up and the microsoft.net framework 3.5 SP1 has been installed.
how to fix it? Appreciate it!!
 
Old October 5th, 2010, 07:16 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,

You typically get this error when you open the parent folder of the folder that contains the site. So, if your source is here:

C:\MySites\Chapter6

and then open C:\MySites as a web site in Visual Studio and browse to http://localhost:123/Chapter6 you get this error. Instead, you need to open C:\MySites\Chapter6 as a web site in Visual Studio and browse to http://localhost:123/

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 October 11th, 2010, 07:00 PM
Registered User
 
Join Date: Sep 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It works now. Thank you!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Running Install files from DVD? chrispy1 Visual Basic 2005 Basics 1 January 2nd, 2008 06:35 PM
Exception Error While Running XSL.Files RICHBIRD XSLT 1 June 15th, 2006 02:58 AM
URGENT, .aspx files not running anup_daware .NET Framework 1.x 4 March 14th, 2006 08:31 PM
Running Jar files in NetBeans Ibn_Aziz JSP Basics 0 May 17th, 2004 01:17 PM
Strange error when running macro in multiple files medaugh Excel VBA 0 September 15th, 2003 11:06 AM





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