473,387 Members | 1,420 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,387 software developers and data experts.

RE: It is an error to use a section registered asallowDefinition='MachineToApplication'

jc
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.

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='MachineToApplication' 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: <authentication mode="Forms" >
Line 40: <!-- <forms loginUrl="Logon.aspx" name="AuthCookie"
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 29 '08 #1
0 1291

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

Similar topics

0
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...
2
by: menkaur | last post by:
I tried to generate asp Application project( I’m using VS .Net 2003). After I did ,following errors occurred (runtime):...
3
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...
1
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....
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...
23
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...
1
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
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...
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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,...
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,...

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.