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

Radscript Manager Configuration Problem

1 Answer 93 Views
ScriptManager and StyleSheetManager
This is a migrated thread and some comments may be shown as answers.
Kaleswar
Top achievements
Rank 1
Kaleswar asked on 11 May 2014, 11:22 AM
I am Using Telerik RadControl in my project in that we are using previously Script Manager and Ajax Tool kit (Ajax dlls) now we are removing all the Script manager and  
Ajax dlls .  Now we are trying to Implementing the RadScript Manager and we are Configure the web.configure like below please find out WebConfigureFile. My Pages giving following error. what can i do for this problem. please help me thanks in advance..


Webpage error details
 
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)
Timestamp: Sun, 11 May 2014 10:40:22 UTC
 
 
Message: Sys.InvalidOperationException: Type Telerik.Web.UI.Orientation has already been registered. The type may


 be defined multiple times or the script file that defines it may have already been loaded. A possible cause is a change of settings during a partial update.
Line: 2315
Char: 38
Code: 0
 
 
Message: Sys.ScriptLoadFailedException: The script '/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bTelerik.Web.UI%2c+Version%3d2014.1.403.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a64f74e2d-5497-4ab7-8321-89bccc22f4bb%3a16e4e7cd%3aed16cbdc%3af7645509%3a24ee1bba%3a92fe8ea0%3a31e9e608%3a1e771326%3a88144a7a%3af46195d3%3a6b3f73b3%3ab7778d6c%3a7165f74' failed to load. Check for:
 Inaccessible path.
 Script errors. (IE) Enable 'Display a notification about every script error' under advanced settings.
 Missing call to Sys.Application.notifyScriptLoaded().
Line: 1266
Char: 13
Code: 0

This my Web.config file

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <SharePoint>
   <SafeControls>
        <!-- Telerik -->
      <SafeControl Assembly="Telerik.Web.UI, version=2014.1.403.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="Telerik.Web.UI, version=2014.1.403.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI.Editor" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="Telerik.Web.UI, version=2014.1.403.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI.Widgets" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="Telerik.Web.UI, version=2014.1.403.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.Design" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="Telerik.Web.UI.Skins, version=2014.1.403.35,  Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="RadEditorSharePoint, Version=6.8.2.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="RadEditorSharePoint, Version=6.8.2.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint.FieldEditor" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="RadEditorSharePoint, Version=6.8.2.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint.ListFieldEditor" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="Telerik.Ajax.SharePoint, version=2014.1.403.35,  Culture=neutral, PublicKeyToken=aa9e5f693af67c7b" Namespace="Telerik.Ajax.SharePoint" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <!-- End Telerik-->
      <SafeControl Assembly="RadEditorSharePoint, Version=6.9.1.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="RadEditorSharePoint, Version=6.9.1.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint.FieldEditor" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="RadEditorSharePoint, Version=6.9.1.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint.ListFieldEditor" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="ejudBaseWebPart, Version=1.0.0.0, Culture=neutral, PublicKeyToken=eabffec4be0c7ea5" Namespace="ejudBaseWebPart.ejudCommonWebPart" TypeName="*" Safe="True" SafeAgainstScript="False" />
    </SafeControls>
  </SharePoint>
  
  <system.web>
    <httpHandlers>
      <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI,  version=2014.1.403.35,Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />
      <add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="true" />
      <add path="*tswa-resource.axd" verb="*" type="Microsoft.TeamFoundation.WebAccess.ResourceHandlerFactory, Microsoft.TeamFoundation.WebAccess, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" 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" />
      <add verb="*" path="*_AppService.axd" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" />
      <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />
      <!-- Telerik-->
      <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
      <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
      <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" />
       </httpHandlers>
    <httpModules>
      <!-- Telerik-->
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" />
      <add name="RadCompression" type="Telerik.Web.UI.RadCompression" />
      <add name="FederatedAuthentication" type="Microsoft.SharePoint.IdentityModel.SPFederationAuthenticationModule, Microsoft.SharePoint.IdentityModel, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
      <add name="SessionAuthentication" type="Microsoft.SharePoint.IdentityModel.SPSessionAuthenticationModule, Microsoft.SharePoint.IdentityModel, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
      <add name="SPWindowsClaimsAuthentication" type="Microsoft.SharePoint.IdentityModel.SPWindowsClaimsAuthenticationHttpModule, Microsoft.SharePoint.IdentityModel, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
    </httpModules>
  </system.web>
  <system.webServer>
   <handlers>
      <remove name="OPTIONSVerbHandler" />
        <add name="Telerik.Web.UI.WebResource"  path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2014.1.403.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" />
    </handlers>
  </system.webServer>
   
   <location path="Telerik.Web.UI.WebResource.axd">
    <system.web>
      <authorization>
        <allow users="*"/>
      </authorization>
    </system.web>
  </location>
   
  <system.net>
    <defaultProxy />
  </system.net>
  </configuration>

1 Answer, 1 is accepted

Sort by
0
Hristo Valyavicharski
Telerik team
answered on 15 May 2014, 07:04 AM
Hi Kaleswar,

As far as I see you are developing a SharePoint web part? If so please look at our online help, where it is explained how to install and use Telerik's controls in SharePoint environment:
http://www.telerik.com/help/aspnet-ajax/moss-sp2013-deploying-radcontrols.html

The thrown error says:

"Type Telerik.Web.UI.Orientation has already been registered. The type may
be defined multiple times or the script file that defines it may have already been loaded. A possible cause is a change of settings during a partial update.
"

Please verify that the Telerik.Web.UI.Orientation is registered only once.

Regards,
Hristo Valyavicharski
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
ScriptManager and StyleSheetManager
Asked by
Kaleswar
Top achievements
Rank 1
Answers by
Hristo Valyavicharski
Telerik team
Share this question
or