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 September 7th, 2007, 12:39 PM
Authorized User
 
Join Date: Sep 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default ERROR allowDefinition='MachineToApplication'

Need some direction on this error. The archive post from 2002 was not helpful in anyway.
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.
C:\Users\adam\Documents\Visual Studio 2005\WebSites\All_Chapters\Chapter03\Begin\Chapter 03\WroxUnited\web.config

 
Old September 7th, 2007, 12:42 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Go to: start --> run --> inetmgr

Expand your website and locate the folder the contains your .NET project right click and choose properties. Where is says application click 'Create' and the directoy will be setup as an application. This should fix your problem.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for:
Professional Search Engine Optimization with ASP.NET

Professional IIS 7 and ASP.NET Integrated Programming

================================================== =========
 
Old September 7th, 2007, 12:46 PM
Authorized User
 
Join Date: Sep 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am runing Vista, there is not a create option.
 
Old September 7th, 2007, 12:53 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Ahh, you are bound to have more problems then just that.

Read this article: http://www.west-wind.com/wconnect/we...ry.blog?id=493

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for:
Professional Search Engine Optimization with ASP.NET

Professional IIS 7 and ASP.NET Integrated Programming

================================================== =========
 
Old September 7th, 2007, 04:17 PM
Authorized User
 
Join Date: Sep 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the link, however, after trying his "solution" I still have the same error.

The web.config works for the master without issue. The Chapter 3 web.config gives me problems.
 
Old September 7th, 2007, 04:18 PM
Authorized User
 
Join Date: Sep 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

One other note, I am not using IIS. I'm using Casini.
 
Old September 7th, 2007, 05:43 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

What book are you using?

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for:
Professional Search Engine Optimization with ASP.NET

Professional IIS 7 and ASP.NET Integrated Programming

================================================== =========





Similar Threads
Thread Thread Starter Forum Replies Last Post
Error allowdefinition rat ASP.NET 2.0 Basics 11 March 17th, 2009 01:49 AM
CH3 allowDefinition='MachineToApplication' jtavenner BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 2 May 2nd, 2008 07:57 AM
allowDefinition='MachineToApplication' Error gp2p BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 May 19th, 2007 08:01 PM
problem with allowDefinition='MachineToApplication juliaw .NET Framework 2.0 2 June 12th, 2006 10:44 AM
allowDefinition='MachineToApplication' tripathi.vipul ASP.NET 1.0 and 1.1 Basics 0 May 13th, 2006 06:11 AM





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