This is a migrated thread and some comments may be shown as answers.

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

1 Answer 106 Views
Installer and VS Extensions
This is a migrated thread and some comments may be shown as answers.
Tom
Top achievements
Rank 1
Tom asked on 15 May 2014, 05:18 PM
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.

1 Answer, 1 is accepted

Sort by
0
Petar
Telerik team
answered on 16 May 2014, 03:37 PM
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 - http://www.telerik.com/help/aspnet-ajax/introduction-vsx-upgrade-wizard.html.

I hope this helps.

Regards,
Petar
Telerik
 

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.

 
Tags
Installer and VS Extensions
Asked by
Tom
Top achievements
Rank 1
Answers by
Petar
Telerik team
Share this question
or