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

Error with RadScriptManager

1 Answer 287 Views
ScriptManager and StyleSheetManager
This is a migrated thread and some comments may be shown as answers.
Ravi Divate
Top achievements
Rank 1
Ravi Divate asked on 08 Sep 2011, 05:36 PM
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

1 Answer, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 14 Sep 2011, 02:00 PM
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
Tags
ScriptManager and StyleSheetManager
Asked by
Ravi Divate
Top achievements
Rank 1
Answers by
Simon
Telerik team
Share this question
or