It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level
We are doing some project in ASP.NET when we just encounter this error a while ago.
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. D:\Basti\SMM_051908\SMM\SMM_Design_052308\SMM Design\web.config 23
I've encountered this a couple a times and I found this steps as my solution.
1.) Try to move the backup copy of your application. Sometimes, you have some backup copy like on my error above. It was a backup copy of my running solution. Try to move it on a different folder or some other location then build your current project.
2.) Try to check if your default web site in IIS is pointing to the correct NET framework version.
3.) Try to copy your latest project then move it on another folder.
Number one steps seems to be working for me. But try the steps in number two or three because I tried them before I finally used the number one step.
// Willy David Jr
