Setup Instruction Question?

6 posts, 0 answers
  1. Bernadou
    Bernadou avatar
    1 posts
    Member since:
    Jan 2007

    Posted 18 May 2007 Link to this post

    I've followed the setup instructions up to the following statement:

    "IMPORTANT: After you have completed the installation you need to modify the web.config of your SharePoint application and set the Trust level to at least Medium level. Otherwise r.a.d.editor for MOSS will not work properly."

    Can someone explain exactly what I'm looking for in the Web.Config?

    Thanks!
    Bernie
  2. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 21 May 2007 Link to this post

    Hello Bernadou,

    The line you need to modify in the Web.config file is:

    <trust level="WSS_Minimal" originUrl="" />

    WSS_Minimal is the default trust level for the WSS v3/MOSS sites. You need to change WSS_Minimal to Medium, or Full. Then save the Web.config file and restart the web application (easiest way to do this click Start>Run...>type "iisreset").

    Regards,
    Lini
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

  3. David Tchepak
    David Tchepak avatar
    1 posts
    Member since:
    Apr 2004

    Posted 24 May 2007 Link to this post

    Is there an easy way to do this for all sites? Or to make sure new sites have the correct web.config?

    Can you also let me know what kind of problems are caused by not updating this?
  4. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 25 May 2007 Link to this post


    The change should be done on all MOSS sites, which will use the editor. It is required if you have deployed the editor assemblies in the bin folder of the MOSS site. If the editor assemblies are in the GAC (e.g. you have deployed the solution for all content URLs), then I don't think that you need to change the trust level. Just try to open the editor and if it loads fine then you can skip the trust level setting. However, if you see an error page, or the editor itself shows an exception like "Request for a permission of type...", then you will have to modify the Web.config.

    Regards,
    Lini
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. steveb
    steveb avatar
    2 posts
    Member since:
    May 2007

    Posted 30 May 2007 Link to this post

    What about if I don't want to lower the risk area of my server ?

    Can't you provides instructions to create a custom policy, based on wss_minimal and with teleriks required permissions added in the policy ?

    Thanks,
    Steve
  6. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 31 May 2007 Link to this post

    Hi Steve,

    The RadEditorMOSS.wsp solution puts the editor assemblies in the machine's GAC. This means that they get full trust by default and you can safely leave the trust level at WSS_Minimal. The deployment instructions advice you to make it Medium or Full so if you decide to put the assemblies in the bin folder instead of the GAC, you can still use the editor. Naturally, you can also create a CAS policy, however we had run into some problems with that in the past with our navigation. Some parts of the MOSS API explicitly require Full trust (e.g. either the assembly is in the GAC or trust level is Full). So if you are concerned about security for the MOSS web application, you can skip the web.config modification.

    Regards,
    Lini
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top