Error adding Presto Web Part

Sam May
User offline. Last seen 1 year 1 day ago. Offline
Joined: 02/14/2011
Points: 20

I get the following error when I try to add a Presto App Web Part to a SharePoint Web Part Page:

Server Error in '/' Application.
--------------------------------------------------------------------------------

'~/Telerik.Web.UI.WebResource.axd' is missing in web.config. RadScriptManager requires a HttpHandler registration in web.config. Please, use the control Smart Tag to add the handler automatically, or see the help for more information: Controls > RadScriptManager
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: '~/Telerik.Web.UI.WebResource.axd' is missing in web.config. RadScriptManager requires a HttpHandler registration in web.config. Please, use the control Smart Tag to add the handler automatically, or see the help for more information: Controls > RadScriptManager

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 

Stack Trace:

[InvalidOperationException: '~/Telerik.Web.UI.WebResource.axd' is missing in web.config. RadScriptManager requires a HttpHandler registration in web.config. Please, use the control Smart Tag to add the handler automatically, or see the help for more information: Controls > RadScriptManager]
   Telerik.Web.UI.RadScriptManager.OnPreRender(EventArgs e) +162
   System.Web.UI.Control.PreRenderRecursiveInternal() +80
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842

 

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3620; ASP.NET Version:2.0.50727.3618

I have a trial version of Presto 3.1 running locally on my host computer, and SharePoint 2007 running in a Windows 2003 Server virtual pc.  I installed Presto Mashup Sites for Sharepoint from the downloaded file "MashupSites2007_2010_9_27_10_20_PM.msi."  I confirmed the connection when I configured the Mashup Server in SharePoint.

If I add the following line to web.config (inside the httpHandlers element):
<add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false" />
Then I get a null reference exception.

It looks like the installation of Mashup Sites for SharePoint did not install all the necessary files.  What is the solution to this problem?

Thanks.

0
Your rating: None
smitchell
smitchell's picture
User offline. Last seen 2 weeks 5 days ago. Offline
Joined: 08/29/2008
Points: 34

There are a couple of points to this problem:

* The installation for Mashup Sites for SharePoint (MS4SP), did work. But the telerik feature is just not activated in SharePoint. What you need to do is follow the configuration instructions in http://www.jackbe.com/prestodocs/v3.0/mashupsites4sharepoint/InstallationConfiguration2007.pdf to activate the Web Parts features. This will activate telerik.

* Presto 3.1 is not guaranteed to be compatible with SharePoint 2007. You can install Presto 3.0, which is compatible with SharePoint 2007. Compatibility for Presto 3.1 and SharePoint 2007 will be available in a future release that is coming out soon.

Having said that, I owe all our users an apology for an error in the release notes for 3.1. The Systems Requirements section erroneously implied that Presto 3.1 and SharePoint 2007 were compatible. This has been fixed in the Presto Library and in release notes, but did not make it into the release notes that were shipped in the 3.1 download.

Sara, technical writer/jackbe

 

Sam May
User offline. Last seen 1 year 1 day ago. Offline
Joined: 02/14/2011
Points: 20

Which feature activates Telerik?  I had already activated (per the instructions in InstallationConfiguration2007.pdf): Presto Web Parts (in Site Collection Features), Mashup Sites for SharePoint Custom Actions and Presto Administration (the last two in Site Features.)  The Presto List Action feature is not listed in Site Features.

dcombiths
User offline. Last seen 9 weeks 3 days ago. Offline
Joined: 11/02/2009
Points: 0

 Hi Sam,

  There is another feature at the Web Application level that should automatically be activated when you activate the Presto Web Parts feature .  Can you go to Central Administration, click on Application Management, Manage Web Application Features under SharePoint Web Application Management section.  Then select the web application that your site is hosted by and verify the Telerik feature has been activated? If it is not activated, please do so and reset IIS.  If it is activated and you are still seeing the error can you please attach your web.config file for your web application to this post?  Thanks.

Sam May
User offline. Last seen 1 year 1 day ago. Offline
Joined: 02/14/2011
Points: 20

Thanks for your reply.  I found the Telerik feature where you described and activated it.  Problem solved.

williamjang
User offline. Last seen 42 weeks 22 hours ago. Offline
Joined: 07/31/2011
Points: 0

I agree with the entire comment above. Thanks for sharing nice information with us. i like your post and all you share with us is up todate and quite informative, i would like to bookmark the page so i can come here.