Hi, if you ever encounter this error
Quote: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
I had the same issue with VS 2012.
I resolved this by
1. Unload your current project
2. edit your .csproj
3. Find this
4. Instead of false
change the value to true
5. Load again your project and you should not have any more this error
If you do have then one solution is to delete the content of the obj folder in the project generated by compiler.