Error with RadScriptManager

2 posts, 0 answers
  1. Ravi Divate
    Ravi Divate avatar
    7 posts
    Member since:
    Apr 2010

    Posted 08 Sep 2011 Link to this post

    After replacing the MS ScriptManager with RadScriptManager in the page with EnableScriptCombine="true" I am getting a few js errors.
    Getting "Sys is undefined" error for the below code

    Sys.WebForms.PageRequestManager._initialize(

    'ctl00$ScriptManager', document.getElementById('aspnetForm'));

     

    and Telerik is undefined error in the below code

     

     

    Telerik.Web.UI.RadSplitter._preInitialize(

    "ctl00_MainContent_ctl00_m_UIRecruitmentSplitter");

    I have gone through the many of the related forum posts and I double check the configuration as well. I am using the Telerik 2009.3.1503.35 version and .Net framework 3.5 with Classic app pool but could not get this resolved.

    Through the help of Fiddler I came to know the error encountering,

     

    HTTP Error 500.21 - Internal Server Error

    Handler "Telerik.Web.UI.WebResource" has a bad module "ManagedPipelineHandler" in its module list

    Let me know if I am missing something.

    Here are list of posts I followed,
    http://blogs.telerik.com/aspnetmvcteam/posts/08-07-18/web_resources_demystified_part_3_troubleshooting.aspx
    http://www.telerik.com/help/aspnet-ajax/introduction-web-resources-troubleshooting.html
    http://www.telerik.com/community/forums/aspnet-ajax/scriptmanager-and-stylesheetmanager/quot-sys-is-undefined-quot-when-i-am-using-script-manager-in-production-site-need-urgent-please.aspx

  2. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 14 Sep 2011 Link to this post

    Hi Ravi Divate,

    Here is an excerpt from a post on blogs.msdn.com:
    ***

    5.0 Troubleshooting

    If you receive an error similar to the one below, your <handler> section is probably invalid. 

    HTTP Error 500.21 - Internal Server Error
    Handler "<HANDLER_NAME>" has a bad module "ManagedPipelineHandler" in its module list

    You probably have a handler mapping that does not have the correct precondition.  IIS is not forgiving in regard to typos, and preconditions are case-sensitive.  The text must be preCondition=”integratedMode” orpreCondition=”classicMode”.

    ***
    Note
    : You can find the preCondition attribute in the web.config for the handler registration.

    All the best,
    Simon
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top