Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,
currently, im using system which using asp classic language, i also create one module system using asp.net which combine into one project.
After user login system using asp...and go to my asp.net module...the error will come out!!!

Here my error;

XML
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 108:            ASP.NET to identify an incoming user.
Line 109:        -->
Line 110:    <authentication mode="Windows"/>
Line 111:    <!--
Line 112:            The <customErrors> section enables configuration



Need help

Thanks
Allesya
Posted
Comments
Sergey Alexandrovich Kryukov 6-Jun-11 22:05pm    
Aha. First, don't panic -- usually it does not help.
--SA

 
Share this answer
 
Comments
Reena Aleesya 7-Jun-11 2:50am    
hi,
after make the modified,i also cannot go to my asp.net page, its problem with web.config, but once i put my web.config outside the folder, it can go to asp.net page.
Do u have any idea/solution to solve this problem??...
Thanks
Aleesya
Generally this happens when you have more than one Web.Config file in your application root folder.
Just check if you have more than one. If so, remove the duplicate copies.

Read a similar issue resolved here:ASP.NET 2.0 & "allowDefinition='MachineToApplication'" error message[^]

Other useful link that has similar issue discussed: http://forums.asp.net/p/769696/769696.aspx[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900