Spurious MachineToApplication Error With VS2010 Deployment
Often when I'm building my MVC 2 application using Visual Studio 2010, I get
the following error:
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.
On the internet, this error seems to be related to having a nested
web.config in your application. I do have such a thing, but it's just the one
that came out of the MVC 2 project item template...Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.