VS.NET 2005 and the "allowDefinition='MachineToApplication'" error
- From: "deathtospam@xxxxxxxxx" <deathtospam@xxxxxxxxx>
- Date: 9 Nov 2006 14:26:33 -0800
A day or two ago, I wrote a quick ASPX page with a CS codebehind using
Visual Studio .NET 2005 -- it worked, I saved it and closed the
project. Today, I came back to the project, reopened the solution, and
was greeted with the following 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.
========================================================================
I did some searching on Google, and all of the solutions to this
problem involved tweaking IIS. The thing is, I didn't have to touch
IIS when I wrote, compiled and ran the ASPX the first time around --
why would I have to do it during a subsequent visit?
If anybody has any suggestions on how to resolve this problem, I would
greatly like to hear them. Thanks in advance!
-= Tek Boy =-
.
- Follow-Ups:
- Re: VS.NET 2005 and the "allowDefinition='MachineToApplication'" error
- From: deathtospam@xxxxxxxxx
- Re: VS.NET 2005 and the "allowDefinition='MachineToApplication'" error
- From: deathtospam@xxxxxxxxx
- Re: VS.NET 2005 and the "allowDefinition='MachineToApplication'" error
- From: Alvin Bruney [MVP]
- Re: VS.NET 2005 and the "allowDefinition='MachineToApplication'" error
- Prev by Date: Visual Studio creates UserControls as wrong type
- Next by Date: styles.css - Am I Going Mad?
- Previous by thread: Visual Studio creates UserControls as wrong type
- Next by thread: Re: VS.NET 2005 and the "allowDefinition='MachineToApplication'" error
- Index(es):
Relevant Pages
|
Loading