troubleshooting Question

Web Config Error Redux

Avatar of NigelRocks
NigelRocks asked on
6 Comments2 Solutions326 ViewsLast Modified:

I'm once again getting this error:

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. C:\Documents and Settings\Curt\My Documents\Visual Studio 2008\Projects\Gift Tracker\App_Code\Backup\2\Web.config 38

Here are the steps I've taken so far:

1)  Make sure there was no backup directory of the project that could cause a conflict between duplicate web.config files.

3)  Deleted and re-created virtual directory.

4)  Made sure virtual directory is configured as an application.

5)  Went into "directory security" in IIS and checked "Integrated Windows Authentication".  

6)  Deleted the line in the web.config file regarding Windows authentication.  This worked in another application.

This repeated error is seriously slowing me down.  I'd really like to talk to Bill Gates...
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 6 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros