Question

I am using Telerik Rad Editor for spellcheck for my wss 3.0 site. Site has been working all fine, but it suddenly just crashed without any action from my side. I got following error" Web Part Error: This page has encountered a critical error. Contact your system administrator if this problem persists".

After doing some research i found out this could happen because of some faulty safecontrol in web.config entry. I Checked all the safe control, and finally realized. It was these two entry that is causing error.

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

Without these two controls my rest of the site works but not spell checker. How do i fix this issue. I tried deactivating and reactivating webpart but it doesnt add those entries in web.config.

Any help would be appreciated.

Thank You

Was it helpful?

Solution

Are you sure the web.config is referencing to the right dll?

So to check goto the assembly and find the dll file Telerik.Web.UI.dll.

See the name matches the safe control, same witht the public key and version!!!

From what i can see you have Version=2010.3.1215.20 but isnt that for later versions not wss 3.0? shouldnt it be somthing like 2008.1.512.20 instead?

http://www.ericharlan.com/Moss_SharePoint_2007_Blog/installing-telerik-radcontrols-and-rad-editor-into-sharepoint-2007-a160.html

Hope this helps :)

EDIT

Ok found the problem its todo with System.Web.Extensions that im guess is referencing to 3.5.0.0 but it needs to be version 1.0.61025.0 in the GAC.

I think the problem is that you have .NET 3.5 installed on my

SharePoint server, which means that the System.Web.Extensions assembly

is version 3.5.0.0 instead of 1.0.61025.0.

The RadEditor for MOSS is built using the Microsoft ASP.NET Ajax

Extensions 1.0 (version 1.0.61025.0). Since you are using different

versions (3.5.0.0 for System.Web.Extensions and 2008.x.xxx.35 for

Telerik.Web.UI) you will need to add elements for

those two assemblies in the web.config file.

<dependentAssembly>

<assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" culture="neutral" />

<bindingRedirect oldVersion="1.0.61025.0" newVersion="3.5.0.0" /> 

</dependentAssembly>  

<dependentAssembly>

<assemblyIdentity name="Telerik.Web.UI" publicKeyToken="121fae78165ba3d4" culture="neutral" />

<bindingRedirect oldVersion="2008.x.xxx.20" newVersion="2008.x.xxx.35" /> 

</dependentAssembly>   

http://www.telerik.com/community/forums/aspnet-ajax/editor/getting-errors-after-installing-radeditor.aspx

This should allow SharePoint to get the proper references and display the editor.

If you follow this it should solve your issue :)

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top