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

RadComboBox not working in one of our Staging Environments

5 Answers 123 Views
Sharepoint Integration
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 09 Feb 2012, 04:37 PM
Hello,

We have successfully deployed RadComboBox in production on SharePoint 2010 server.    The RadComboBox works fine in production and another one of our staging environments.  However in one of our staging environments, all our RadComboBoxes are not enabled.  We confirmed that Telerik.Web.UI and Telerik.Web.Design was in the GAC (Global Assembly Cache) of our SharePoint server.  We validated the web.config and confirmed SafeControls and handlers added.   When we attempt to load the pages we get the following:

Message: 'Sys' is undefined

Message: 'Type' is undefined

Message: Object doesn't support this property or method

Message: Object expected

Can you provide us with a suggestion to resolve our RadComboBox in the one environment?

5 Answers, 1 is accepted

Sort by
0
Kalina
Telerik team
answered on 14 Feb 2012, 01:09 PM
Hi John,

The issue that you describe seem to be web resources related.
I suppose that there are some differences in the web.config files of the different environments that cause it.
Maybe the resource handler is not registered properly in the web.config of the machine where your web part raises those errors?
Please find more details about web resources troubleshooting here.

Regards,
Kalina
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
John
Top achievements
Rank 1
answered on 14 Feb 2012, 03:31 PM
Hello Kalina,

Thank you for your time.  I have gone through the recommendations on the link and verified and confirmed each recommendation.  I have verified that the resource handler through the IIS Management Console.  Below are the sections in the web.config file related to Telerik.  Can you advise us?

<SafeControls>
<SafeControl Assembly="Telerik.Web.Design, Version=2010.3.1317.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.Design" TypeName="*" Safe="True" />
<SafeControl Assembly="Telerik.Web.UI, Version=2010.3.1317.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TypeName="*" Safe="True" />
</SafeControls>

<httpHandlers>
      <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add verb="*" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2010.3.1317.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />
      <add verb="*" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Version=2010.3.1317.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />
      <add verb="*" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2010.3.1317.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />
      <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
</httpHandlers>

<assemblies>
 <add assembly="Telerik.Web.UI, Version=2010.3.1317.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" />
</assemblies>

controls>
        <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral,PublicKeyToken=31BF3856AD364E35" />
        <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI, Version=2010.3.1317.35, Culture=neutral, PublicKeyToken=121FAE78165BA3D4" />
        <add tagPrefix="SharePoint" namespace="Microsoft.SharePoint.WebControls" assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
</controls>

<handlers>
      <remove name="OPTIONSVerbHandler" />
      <remove name="WebServiceHandlerFactory-Integrated" />
      <remove name="svc-Integrated" />
      <add name="svc-Integrated" path="*.svc" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode" />
      <add name="OwssvrHandler" scriptProcessor="C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\isapi\owssvr.dll" path="/_vti_bin/owssvr.dll" verb="*" modules="IsapiModule" preCondition="integratedMode" />
      <add name="JSONHandlerFactory" path="*.json" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" resourceType="Unspecified" preCondition="integratedMode" />
      <add name="ReportViewerWebPart" verb="*" path="Reserved.ReportViewerWebPart.axd" type="Microsoft.ReportingServices.SharePoint.UI.WebParts.WebPartHttpHandler, Microsoft.ReportingServices.SharePoint.UI.WebParts, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
      <add name="ReportViewerWebControl" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
      <add verb="*" name="Telerik.Web.UI.WebResource" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2010.3.1317.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" />
      <remove name="WebDAV" />
</handlers>

0
Kalina
Telerik team
answered on 15 Feb 2012, 03:19 PM
Hi John,

You can add a <location> section to the web.config file to allow access to Telerik.Web.UI.WebResource.axd to all users - as is described in this help article.

Kind regards,
Kalina
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
John
Top achievements
Rank 1
answered on 28 Feb 2012, 04:45 PM
Thank you Kalina,  we ended up resolving our issue by copying the web.config file from a working and environment and replacing that file into the nonworking environment. 
0
Kalina
Telerik team
answered on 29 Feb 2012, 12:23 PM
Hi John,

Glad that you managed to find a solution on your own.
Thank you for posting it for the community.

All the best,
Kalina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Sharepoint Integration
Asked by
John
Top achievements
Rank 1
Answers by
Kalina
Telerik team
John
Top achievements
Rank 1
Share this question
or