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

Setup Instruction Question?

5 Answers 119 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Bernadou
Top achievements
Rank 1
Bernadou asked on 19 May 2007, 04:19 AM
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

5 Answers, 1 is accepted

Sort by
0
Lini
Telerik team
answered on 21 May 2007, 06:55 AM
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
0
David Tchepak
Top achievements
Rank 1
answered on 25 May 2007, 01:51 AM
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?
0
Lini
Telerik team
answered on 25 May 2007, 06:01 AM

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
0
steveb
Top achievements
Rank 1
answered on 30 May 2007, 08:50 AM
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
0
Lini
Telerik team
answered on 31 May 2007, 10:18 AM
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
Tags
WebParts for SharePoint
Asked by
Bernadou
Top achievements
Rank 1
Answers by
Lini
Telerik team
David Tchepak
Top achievements
Rank 1
steveb
Top achievements
Rank 1
Share this question
or