It is an error to use a section registered as allowDefinition='MachineToApplication'
问题 I'm using visual studio 2012 when I try to publish my web application I get the following error: Error 1 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. E:\Temp\BUILD\Debug\AspnetCompileMerge\Source\bin\web.config 24 0 Pixelate Here is the contents of the output window: 1>------ Build started: Project: Pixelate, Configuration: Debug Any