error to use a section registered as allowDefinition='MachineToApplication' beyond application level

{ Posted on 1/03/2010 03:41:00 PM by Silvercode }
Tags :


We developers often comes up facing with the above error when we build a project. Solution for this is very simple. We have multiple web.config in the same project folder accidentally. Just find the duplicated web.config and delete it. Error vanishes while building the project.