473,611 Members | 2,236 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

'MachineToAppli cation' Error when trying to compile project...

VMI
When I'm trying to compile my web application, I get this error:

'It is an error to use a section registered as
allowDefinition ='MachineToAppl ication' beyond application level. This error
can be caused by a virtual directory not being configured as an application
in IIS.'
I was recently given this web application to work on it, and when I try to
compile it, that's the first (and only) error I get.

Any help is appreciated.
Jun 5 '06 #1
1 1038
Make sure that the physical directory in which the files are located in
is configured as an application, or as a virtual directory, in IIS.

Use the IIS Manager to configure it.


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"VMI" <VM*@discussion s.microsoft.com > wrote in message
news:FC******** *************** ***********@mic rosoft.com...
When I'm trying to compile my web application, I get this error:

'It is an error to use a section registered as
allowDefinition ='MachineToAppl ication' beyond application level. This error
can be caused by a virtual directory not being configured as an application
in IIS.'
I was recently given this web application to work on it, and when I try to
compile it, that's the first (and only) error I get.

Any help is appreciated.

Jun 5 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1603
by: a | last post by:
I'm trying to process some xml code and I'm getting this error: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. I'm not getting this error on other solutions and projects that have the same setup in IIS. I have checked to make sure that the virtual directory has been configured as an application (which it is), but this doesn't help.
1
114361
by: Alex D. | last post by:
I upgraded one of my applications to beta 2. conversion seemed to work OK, problem is when trying to build I get an error like: 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. this error is pointing to this section in my web.config: <authentication mode="Forms">
3
12597
by: Boonaap | last post by:
I have been looking around on different sites and fora, and i have a similar problem than some people had before... 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. this is the solution i've read (almost everywhere) "You need to create an application or a virtual directory ( with...
23
5083
by: deathtospam | last post by:
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...
4
554
by: K Viltersten | last post by:
We have a project working well today and it's developed on VS2005. Since we're planing to switch to VS2008 in a soon future, i've been trying to move the project to VS2008 Express (Web Developer). After i've moved over all the files, i run into problems compiling and running it. Both versions of VS are run on the same computer (with the sam settings, of course). Still, when i try to run index.aspx, i get error message as follows:
1
6599
by: jc | last post by:
RE: It is an error to use a section registered as allowDefinition='MachineToApplication' There's an asp.net 1.1 vb.net vs 2003 solution under a virtual directory on one of our sites. I can see the solution and project files in under the folder where the IIS virtual directory is pointing. The solution is working fine.
0
1304
by: jc | last post by:
RE: It is an error to use a section registered as allowDefinition='MachineToApplication' There's an asp.net 1.1 vb.net vs 2003 solution under a virtual directory on one of our sites. I can see the solution and project files in under the folder where the IIS virtual directory is pointing. The solution is working fine.
0
8149
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8097
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8596
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8240
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8411
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7038
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6072
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5527
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
1692
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.