Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jul 26, 2011 08:20 AM by aleksandrs.saiters
Dec 10, 2004 06:23 AM|LINK
Sep 23, 2005 07:37 AM|LINK
Sep 26, 2005 04:53 AM|LINK
Oct 29, 2005 08:26 PM|LINK
I had the same error and solved it by doing the following:
Give your virtual directory an Application Name that does not have dots (.) in the name. To make sure you are not having naming issues, give a short name such as MK as your Virtual Directory name.
After doing this, this problem was solved.
Dec 05, 2005 04:45 PM|LINK
You cannot keep the web.config only in the sub-directory. You need to have a web.config in the root directory. If at all you want to have a web.config in the sub-directory, then the only settings you can specify are authorization, appsettings etc.,
Unless you configure the sub-directory also as an application in the IIS Virtual directory settings, you cannot have any other settings such as authentication, session-state etc., in the web.config that you have in the sub-directory.
Hope that makes it clear.
Awesome thread gents/ladies! I pulled this up in Google since I'm a new ASP 2.0 User. This remedied my issue. Thank you.
Jan 18, 2006 07:31 AM|LINK
I am also getting same error when i am using the asp.net user controls in sahrepoint webparts.
"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"
But my virtual directory is configured. and i am able to run the asp.net solution which consists of user controls with out any errors.
I am getting the error only when i am using these usercontrols in creating webparts
Apr 13, 2006 04:59 PM|LINK
That worked great thanks.[:D]
Jun 02, 2007 01:04 PM|LINK
Sep 06, 2007 12:44 PM|LINK
Thnaks buddy it helped
Oct 08, 2007 10:12 AM|LINK
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
Even i was also facing this problem... and the root of the problem was that i had one duplicate web.config file in a subfolder.... As i removed that file error has been gone... Many Thanks....