473,503 Members | 3,722 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

allowDefinition='MachineToApplication' beyond application level error

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">
<forms name=".ASPXFORMSDEMO" loginUrl="login.aspx" protection="ALL"
path="/" timeout="30" />
</authentication>

My virtual directory is configured as an application in IIS, so I don't know
what
else could be causing this error.

Thanks.
Nov 19 '05 #1
1 114302
figured it out. problem was that when converting to visual studio.net 2005
new format it asks if you want to backup your project first, and then it
creates a folder named "backup" inside your web application folder, this
creates a copy of the main web.config file inside a folder wich was causing
the problem.

"Alex D." <al********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
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">
<forms name=".ASPXFORMSDEMO" loginUrl="login.aspx" protection="ALL"
path="/" timeout="30" />
</authentication>

My virtual directory is configured as an application in IIS, so I don't
know what
else could be causing this error.

Thanks.

Nov 19 '05 #2

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

Similar topics

3
12574
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...
3
5556
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...
23
5047
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...
3
9806
by: princessjewel62 | last post by:
Hi all, Im having a big problem. Im trying out a program which works fine yesterday but today it gives me more headache. It is about session sharing between ASP and ASP.NET application. The...
1
2565
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...
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...
4
2510
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
6585
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...
1
10156
by: Icon Iconoclast | last post by:
Why is this being caused and what is the solution? I am using a book that teaches ASP.NET 2.0 but trying out the example codes on my ASP.NET 3.5 running the development server instead of IIS. What...
0
7261
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
7315
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...
1
6974
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
5559
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,...
0
4665
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...
0
3147
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1492
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 ...
1
721
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
369
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...

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.