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.

Topics: ASP.NET 2.0
Nov 17, 2011 at 9:56 AM

when implementing blog engine with my project this error not allowing to run my application on visual studio and on server  .

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.

Source Error:

Line 7:  	</configSections>
Line 8: <BlogEngine>
Line 9: <blogProvider defaultProvider="None">
Line 10: <providers>
Line 11: <add name="XmlBlogProvider" type="BlogEngine.Core.Providers.XmlBlogProvider, BlogEngine.Core"/>