473,395 Members | 1,996 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

It is an error to use a section registered as allowDefinition='MachineToApplication' 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='MachineToApplication' 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: <authentication 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 2562
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**********@gmail.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='MachineToApplication' 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: <authentication 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
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...
2
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....
6
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: ...
3
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...
0
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...
2
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...
2
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...
4
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...
1
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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...

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.