After upgrade, Error: allowDefinition='MachineToApplication' beyond application level

2 posts, 0 answers
  1. Tom
    Tom avatar
    45 posts
    Member since:
    Oct 2010

    Posted 15 May 2014 Link to this post

    I recently updated the Telerik controls on my ASP.NET web app (VS2013) and then got this message on the first compile:

    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.<br>

    The problem is that I have my VS solution file (<proj>.suo) in the root directory of the web app. When I upgraded the project to the latest Telerik version, that caused the project backup to be created as a subdirectory in the root. Thus the compilation error above, as now I had two web.config files.

    The solution is to move the backup out of the project root.
  2. Petar
    Petar avatar
    219 posts

    Posted 16 May 2014 Link to this post

    Hello Tom,

    You can also either disable the creation of the back up or change the backup target folder through the Upgrade wizard UI. Here is an article where you can find further details -

    I hope this helps.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top