473,651 Members | 2,987 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' beyond application level.

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 ='MachineToAppl ication' beyond application level.

Source Error:
Line 47: by Microsoft that offers a single logon and core
profile services for member sites.
Line 48: -->
Line 49: <authenticati on mode="Windows" />
Line 50: <!-- AUTHORIZATION
Line 51: This section sets the authorization policies of the
application. You can allow or deny access
I read almost all the posts on the web and the solution is either to
set it as an IIS application or remove the nested web.config file.
However, neither of them works for my case. We have the virtual
directory set as an application and we do not have nested web.config
file inside the subfolders.

As I said, the same procedure and same piece of code worked fine on
all other machines but this one. I even recreated the virtual
directory and used the aspnet_regiis to remove/install the ASP.NET on
the IIS server, but none of them work. I am beginning to think that
one of the other software packages loaded on this server has changed a
IIS setting somewhere that is causing this issue. However, I just do
not know where to start to look...

Any suggestion is greatly appreciated.

May 4 '07 #1
1 2575
Kevin,
This is the C# language newsgroup. Your question is about ASP.NET Website
configurations. Here is a link to the MS web-based group reader:

http://msdn.microsoft.com/newsgroups...&lang=en&cr=US

Peter
--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"ke**********@g mail.com" wrote:
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 ='MachineToAppl ication' beyond application level.

Source Error:
Line 47: by Microsoft that offers a single logon and core
profile services for member sites.
Line 48: -->
Line 49: <authenticati on mode="Windows" />
Line 50: <!-- AUTHORIZATION
Line 51: This section sets the authorization policies of the
application. You can allow or deny access
I read almost all the posts on the web and the solution is either to
set it as an IIS application or remove the nested web.config file.
However, neither of them works for my case. We have the virtual
directory set as an application and we do not have nested web.config
file inside the subfolders.

As I said, the same procedure and same piece of code worked fine on
all other machines but this one. I even recreated the virtual
directory and used the aspnet_regiis to remove/install the ASP.NET on
the IIS server, but none of them work. I am beginning to think that
one of the other software packages loaded on this server has changed a
IIS setting somewhere that is causing this issue. However, I just do
not know where to start to look...

Any suggestion is greatly appreciated.

May 4 '07 #2

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

Similar topics

0
1357
by: Iain Tricker | last post by:
I'm running iSeries UDB V5R3. DROP statements are still generating level 30 script errors if the object being dropped doesn't exist. I thought these had been fixed in V5R3 to only generate level 20 errors, is there a PTF to enable this change? The scripts are running ===> RUNSQLSTM(....) ERRLVL(20) Thanks, Iain Tricker
2
2144
by: Murthy | last post by:
Hi, After genarating the exe when i run the exe the following error is comming. Common Language Runtime Debugging Services Application has generated an exception that could not be handled. Process id=0xdec (3564), Thread id=0xdf0 (3568) When I click CANCEL to debug, I get this error-message:
6
25052
by: Josef Brunner | last post by:
Hi, I published my application (VS 2005) and am now trying to install it when I get this error message. It worked before...even on a different machine. Here is the detailed description: PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50727.42
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 :
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' ...
2
2638
by: laredotornado | last post by:
Hi, I'm using PHP 4.4.4. In our php.ini file we have notices and warnings turned off. However, I would like to enable them for a small subset of pages. I know the pages specifically, but I would also settle for enabling notices and warnings for a certain directory. Is this possible, and if so, how? Thanks, - Dave
2
8810
by: LeoK | last post by:
After finally completing my database I was ready to transfer it to our client, but when the access database was opened, everything works great, except for the SEND_EMAIL part, whenever any code that has to do with opening outlook I get a error, . I panic, so I try it on another computer and the same thing happened. After further investigation I realize that on both machine outlook wasn't set up yet, meaning no account existed. My only question...
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...
1
6605
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
8361
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
8807
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
8466
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
7299
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
6158
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
4290
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2701
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
1
1912
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1588
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.