Trouble upgrading from v5.2.0.0 to v5.5.0.0

2 posts, 0 answers
  1. Joachim Hoffmann
    Joachim Hoffmann avatar
    4 posts
    Member since:
    May 2009

    Posted 01 Sep 2009 Link to this post

    Hello everyone

     

    We are using the Telerik RadEditor for MOSS and have stumbled upon a problem with upgrading the editor.

     

    A WebPart exists that uses the default content editor in moss, but when editing it, it is edited by the 5.2 version of the RadEditor. This seems to cause a problem after our upgrade to 5.5, where the following error occurs:

    Server Error in '/' Application.

    --------------------------------------------------------------------------------

    Invalid Configuration File:/_wpresources/RadEditorSharePoint/5.2.0.0__1f131a624888eeed/Resources/ConfigFile.xml

    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.Exception: Invalid Configuration File:/_wpresources/RadEditorSharePoint/5.2.0.0__1f131a624888eeed/Resources/ConfigFile.xml

    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:

     

    [Exception: Invalid Configuration File:/_wpresources/RadEditorSharePoint/5.2.0.0__1f131a624888eeed/Resources/ConfigFile.xml]

       Telerik.SharePoint.MOSSRadEditor.GetValidConfigFile() +208

       Telerik.SharePoint.MOSSRadEditor.ProcessConfigFile() +125

       Telerik.SharePoint.MOSSRadEditor.OnLoad(EventArgs e) +20

       System.Web.UI.Control.LoadRecursive() +66

       System.Web.UI.Control.AddedControl(Control control, Int32 index) +350

       Telerik.SharePoint.RadEditorToolPart.OnPreRender(EventArgs e) +150

       System.Web.UI.Control.PreRenderRecursiveInternal() +108

       System.Web.UI.Control.PreRenderRecursiveInternal() +224

       System.Web.UI.Control.PreRenderRecursiveInternal() +224

       System.Web.UI.Control.PreRenderRecursiveInternal() +224

       System.Web.UI.Control.PreRenderRecursiveInternal() +224

       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3394

     

    --------------------------------------------------------------------------------

    Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082

     

    Contents of the config file (/_wpresources/RadEditorSharePoint/5.2.0.0__1f131a624888eeed/Resources/ConfigFile.xml):

    <configuration>

      <property name="AllowThumbGeneration">True</property>

      <property name="ConvertToXhtml">True</property>

      <property name="enableXHTML">True</property>

      <property name="EnableDocking">False</property>

      <property name="ShowHtmlMode">True</property>

      <property name="ShowPreviewMode">False</property>

      <property name="ToolbarMode">ShowOnFocus</property>

      <property name="ToolsWidth">800px</property>

      <property name="Width">400px</property>

      <property name="Skin">Office2007</property>

      <property name="NewLineBr">false</property>

      <property name="CausesValidation">true</property>

    </configuration>

     

    The WebPart that is placed on the webpage is configured like so:

    <?xml version="1.0" encoding="utf-8"?>

    <WebPart xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/WebPart/v2">

      <Title>Kampagne</Title>

      <FrameType>None</FrameType>

      <Description>Bruges til at udarbejde et kampagne med HTML</Description>

      <IsIncluded>true</IsIncluded>

      <ZoneID>EmnesideBundVenstre</ZoneID>

      <PartOrder>1</PartOrder>

      <FrameState>Normal</FrameState>

      <Height />

      <Width />

      <AllowRemove>true</AllowRemove>

      <AllowZoneChange>true</AllowZoneChange>

      <AllowMinimize>true</AllowMinimize>

      <AllowConnect>true</AllowConnect>

      <AllowEdit>true</AllowEdit>

      <AllowHide>true</AllowHide>

      <IsVisible>true</IsVisible>

      <DetailLink />

      <HelpLink />

      <HelpMode>Modeless</HelpMode>

      <Dir>Default</Dir>

      <PartImageSmall />

      <MissingAssembly>Webdelen kan ikke importeres.</MissingAssembly>

      <PartImageLarge>/_layouts/images/mscontl.gif</PartImageLarge>

      <IsIncludedFilter />

      <Assembly>Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Assembly>

      <TypeName>Microsoft.SharePoint.WebPartPages.ContentEditorWebPart</TypeName>

      <ContentLink xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor" />

      <Content xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor"><![CDATA[ <div class="RSJheading RSJcampaign">

                                        <h1>Kampagnefelt</h1>

                                    </div>

                                    <div class="RJSimage">

                                        <img src="/_layouts/1030/images/rsjIntra/temp_campaign01.jpg" alt="Kampagne1" />

                                    </div>

                                    <div class="RSJcontent">

                                        <b><a href="#" class="RSJreadmore">Lorem ipsum purus egastas</a></b>

                                        Duis aute in voluptate velit esse cillum dolore eu fugiat nulla parit.

                                    </div>

                                    <hr class="RSJaccessibility"/>]]></Content>

      <PartStorage xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor" />

    </WebPart>

     

    But when editing the WebPart, the problem occurs.

     

    How do I set the default editor to the new version 5.5?

     

    I have edited the web.config file and added:

          <!-- Rad Editor, 1.0.0.0 -> 5.5 -->

          <dependentAssembly>

            <assemblyIdentity name="RadEditorSharePoint" publicKeyToken="1f131a624888eeed" culture="neutral" />

            <bindingRedirect oldVersion="1.0.0.0-5.4.0.0" newVersion="5.5.0.0" />

          </dependentAssembly>

          <!-- /Rad editor -->

     

    Can anybody help?

  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 01 Sep 2009 Link to this post

    Hello Joachim,

    Last week we released a new version of RadEditor for MOSS, which is 5.5.1. Please consider upgrading with it.

    Regarding your problem please make sure that you follow the upgrade instructions in the following help article Upgrading to a newer version of RadEditor for MOSS. Points 3. and 4. address your problem.

    I hope this helps.

    Kind regards,
    Stanimir
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.

Back to Top