473,653 Members | 3,000 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

It is an error to use a section registered as allowDefinition ='MachineToAppl ication'

jc
RE: It is an error to use a section registered as
allowDefinition ='MachineToAppl ication'

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.

On the server, If I manually create a new virtual directory, create a
new application name for it under the same application pool and copy
the the full directory into the new virtual I can browse the solution.

However if I attempt to browse the logon.aspx page I get this error:

Configuration Error
Description: An error occurred during the processing of a
configuration file required to service this request. Please review the
specific error details below and modify your configuration file
appropriately.

Parser Error Message: 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.

Source Error:
Line 37: by Microsoft that offers a single logon and core
profile services for member sites.
Line 38: -->
Line 39: <authenticati on mode="Forms" >
Line 40: <!-- <forms loginUrl="Logon .aspx" name="AuthCooki e"
timeout="60" path="/auth" ></forms>-->
Line 41: </authentication>
I've checked IIS settings on the two virtuals and security on both
directories and they are identical. I've confirmed the new virtual in
IIS is an application. I've checked IIS security. the new directory is
parallel with the old directory.. not underneith it. I've done an IIS
reset.

I've seen many posts on this topic.. none has helped.

Will I need to recompile and redeploy the solution to the new
Virtual?.. I'd like to avoid this.

Looking at the original working solution, it has an AssemblyInfo.vb
file a specific GUID.. should this matter?

I see the issue as purely an IIS issue.. but can't figure out why.

Moving past this (at some point soon I hope). If this web server only
has extensions for ASP.NET 1.1, any reason a site cannot run both 1.1
and 2.0? Any way to compile this code using VS.NET 2005 and deploy
into this server if 2.0 is not available?

Thanks.
Oct 28 '08 #1
1 6605
Hello JC,

Could you post a screenshot of your IIS mmc console with sites opened there
:)
It still seems to be IIS issue, that your have web.config somewhere above
your folders

---
WBR,
Michael Nemtsev [Microsoft MVP] :: blog: http://spaces.live.com/laflour
:: http://twitter.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
JRE: It is an error to use a section registered as
JallowDefinitio n='MachineToApp lication'
JThere's an asp.net 1.1 vb.net vs 2003 solution under a virtual
Jdirectory on one of our sites. I can see the solution and project
Jfiles in under the folder where the IIS virtual directory is
Jpointing.
J>
JThe solution is working fine.
J>
JOn the server, If I manually create a new virtual directory, create a
Jnew application name for it under the same application pool and copy
Jthe the full directory into the new virtual I can browse the
Jsolution.
J>
JHowever if I attempt to browse the logon.aspx page I get this error:
J>
JConfiguration Error
JDescription: An error occurred during the processing of a
Jconfiguration file required to service this request. Please review
Jthe
Jspecific error details below and modify your configuration file
Jappropriately.
JParser Error Message: It is an error to use a section registered as
JallowDefinitio n='MachineToApp lication' beyond application level. This
Jerror can be caused by a virtual directory not being configured as an
Japplication in IIS.
J>
JSource Error:
J>
JLine 37: by Microsoft that offers a single logon and core
Jprofile services for member sites.
JLine 38: -->
JLine 39: <authenticati on mode="Forms" >
JLine 40: <!-- <forms loginUrl="Logon .aspx" name="AuthCooki e"
Jtimeout="60" path="/auth" ></forms>-->
JLine 41: </authentication>
JI've checked IIS settings on the two virtuals and security on both
Jdirectories and they are identical. I've confirmed the new virtual in
JIIS is an application. I've checked IIS security. the new directory
Jis parallel with the old directory.. not underneith it. I've done an
JIIS reset.
J>
JI've seen many posts on this topic.. none has helped.
J>
JWill I need to recompile and redeploy the solution to the new
JVirtual?.. I'd like to avoid this.
J>
JLooking at the original working solution, it has an AssemblyInfo.vb
Jfile a specific GUID.. should this matter?
J>
JI see the issue as purely an IIS issue.. but can't figure out why.
J>
JMoving past this (at some point soon I hope). If this web server only
Jhas extensions for ASP.NET 1.1, any reason a site cannot run both 1.1
Jand 2.0? Any way to compile this code using VS.NET 2005 and deploy
Jinto this server if 2.0 is not available?
J>
JThanks.
J>
Oct 28 '08 #2

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

Similar topics

0
1604
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.
3
5570
by: Patrick Paquin | last post by:
Hi, I have an application ("appls") on my website. This application is a subfolder of the website root. This subfolder is configured as an application in the IIS Manager When I want precompile my application with the command line C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_compiler -v /appls -p "E:\Sites WWW\devlappl.intracger", I get this message :
1
5300
by: choatdot | last post by:
I ftp my asp.net 2.0 pages using visual studio 2005 to a godaddy.com server, when I try running it I keep getting this error. Server Error in '/' Application. -------------------------------------------------------------------------------- Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your...
0
1731
by: Kailash | last post by:
Hello, I am getting below error in the webconfig file 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:\Inetpub\wwwroot\aspdotnetstorefront\admin\web.config line 202) I created application name in the IIS for the path 'C:\Inetpub\wwwroot\aspdotnetstorefront\admin' ...
23
5090
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...
1
2576
by: kevingangsun | last post by:
I created an ASP.NET application for our company and it worked great on more than 4 windows 2003 servers. However, when we deployed it to another 2003 server (IIS6), we got the following error message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. Source 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:
4
2533
by: cghost | last post by:
I'm attempting to build website that was previously published using VS.NET 2005 and the .Net framework 2.0, the site is using a local sql server as the data source. This copy i'm attempting to build is a copy i've made locally on the desktop to preserve the original as I'm going to be updating it, I did verify that there is not a second copy of the web.config file in my desktop copy as I'm aware that is usually a common problem that causes...
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
8370
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
8283
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
8811
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
8470
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,...
1
6160
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
5620
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();...
0
4147
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2707
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1591
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.