+1-888-365-2779
Try Now
More in this section

Forums / Deployment / How can I disable handler detection for all Telerik controls?

How can I disable handler detection for all Telerik controls?

2 posts, 0 answered
  1. Matt
    Matt avatar
    2 posts
    Registered:
    09 Jul 2013
    09 Jul 2013
    Link to this post
    My Sitefinity 6 site was working just fine until I wrap several sections of the web.config file in order to prevent child applications from inheriting them.

    For example, I can wrap system.web, system.serviceModel, system.webServer, and microsoft.identityModel inside a tag like the following:
    <location path="." inheritInChildApplications="false">

    This allows my custom child application to work without all the handlers/modules, factories, etc. that Sitefinity uses. However, once I access a page in my CMS below the Homepage, I start getting errors from Telerik controls about missing handler registrations. They are there and working, but it seems like the Telerik handler detection doesn't quite understand the location element with path=".".

    Is there a way I can set all Telerik controls' EnableHandlerDetection property to "false" from the web.config or some other global place?

    Thanks,

    -Matt
  2. Matt
    Matt avatar
    2 posts
    Registered:
    09 Jul 2013
    10 Jul 2013 in reply to Matt
    Link to this post
    I ended up wrapping everything mentioned above in the location element that restricts child application inheritance, except for the handlers and modules. I left the elements system.web\httpHandlers, system.web\httpModules, system.webServer\handlers, and system.webServer\modules at the root level of the configuration element (not inside the location element). Then, in my child application, I removed each handler/module the parent declares.
2 posts, 0 answered