Search code examples
asp.netasp.net-mvc-3visual-studio-2010virtual

MVC3 ASP.NET It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level


I have looked up solution, but I haven't quite found the right solution for this problem. I would use to just clean my VS and that would fix it, but now it continues to keep coming up. Thanks!

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:\Users\atruong0\Documents\Visual Studio 2010\Projects\TubeRecord\TubeRecord\cathodeassembly\web.config


Solution

  • Haha, So I figured out my simple problem. I just had another folder with duplicate files in it x_x. Thanks for the help guys.