Spurious MachineToApplication Error With VS2010 Deployment
        Posted  
        
        on Dot net Slackers
        
        See other posts from Dot net Slackers
        
        
        
        Published on Sun, 23 May 2010 00:00:00 GMT
        Indexed on 
            2010/05/24
            5:02 UTC
        
        
        Read the original article
        Hit count: 203
        
Filed under: 
        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.
 
© Dot net Slackers or respective owner
