SharePoint site doesn't work after installer RadEditor for MOSS <- workaround provided

5 posts, 0 answers
  1. STEMax
    STEMax avatar
    16 posts
    Member since:
    Jul 2008

    Posted 30 Jul 2008 Link to this post

    Hi there,

    Don't know if this bug is known or not, but just to be sure someone get this information I post this here.

    If you've installed the new released of RadControls for ASP.NET AJAX Q2, you've already modified your web.config to add Telerik Assemblies as SafeControl. (Version 2008.2.723.35). Then if you try to install RadEditor for MOSS it edits the web.config during the installation process to add several Telerik controls as safe, like these :

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

    But this will break you MOSS WebSite with a very weird error (nothing related to these lines in fact, not even to the web.config...), and prevent it to work (even the setting page...).

    To repair your MOSS Config, modify these SafeControl entries like this :

        - Remove the one that deals with "Telerik.Web.UI" namespace
        - Remove the one that deals with "Telerik.Web.UI.Design" namespace
        - Change Assembly version to "2008.2.723.35" for the two others entries.

    And Tada ! it should work (well it works for me so hope it will work for you ;)

    Have a great play with Telerik controls !
    Edgar Maucourant (aka STEMax²)

  2. Mike
    Mike avatar
    9 posts
    Member since:
    Jul 2008

    Posted 01 Aug 2008 Link to this post

    Thank you! The moss site was broken after I edited the web config using the documentation. I did notice that the version was different in the GAC listed as 2008.2.723.20. I changed the 20 to 35 and it worked.

  3. Mike
    Mike avatar
    9 posts
    Member since:
    Jul 2008

    Posted 01 Aug 2008 Link to this post

    Thank you! The moss site was broken after I edited the web config using the documentation. I did notice that the version was different in the GAC listed as 2008.2.723.20. I changed the 20 to 35 and it worked.
  4. Sigrún Eva
    Sigrún Eva avatar
    2 posts
    Member since:
    Nov 2002

    Posted 25 Sep 2008 Link to this post

    I´m having the exact same issue, did everything by the book.

    After following your instructions(I get the same results if I remove the Telerik.Web.UI references), the site works on the settings pages but I recieve the following error for the sites I use the RadHtmlField:

    Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

    That key is for the Workflows, which I can´t see what has anything to do with the Radcontrols at all.

    If I remove the RadHtmlField, the site loads up normally.

    Does anyone have a clue what might be happening here, and what can be done to fix this?

    Upgrading from Version=4.5.2.0 to 5.2.2.0
  5. STEMax
    STEMax avatar
    16 posts
    Member since:
    Jul 2008

    Posted 12 Jan 2009 Link to this post

    Hi,

    Sorry I didn't see this question earlier, it's a bit late now to answer but it can help others people that face the same problem. So here we go !

    New version of RadEditor (5.X) uses ASP.Net Ajax to work and therefore you need to extend SharePoint to work with ASP.Net Ajax. There are plenty of tutorial, article, and blog post on how to do this, so let's google be your friend :). But be aware that you will have to modify you web.config so be very cautious when doing this on your production server :p.
    BTW if you extend SharePoint to work with .Net Framework 3.5 (that include ASP.Net Ajax) you will have to make a dll binding because the version of Web.Extensions.dll is 3.5.XX and RadEditor expect Version=1.0.61025.0. Again there are a lot of documentation on how to do this on Internet, but if you need help just ask :)

    Best regards
    Edgar Maucourant
Back to Top