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

Editor Upgraded and sudden Localization error

1 Answer 38 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Neal
Top achievements
Rank 1
Neal asked on 19 Jan 2009, 12:30 PM
Hi,
I get the following error after having updated the scripts and dll's some 3 days back. (q2 2008), which was upgraded from q2 2006 .
This would happen of course a few days prior to delivery to client,..so it is kinda urgent.

Initially I had upgraded q2 2006 to q2 2008, and it was running. I then updated the website with the latest scripts and dll's, as i needed to use the new ExportToPDF functionality.
And, Error:..................

"Cannot find a string resource with key 'ClearClass' in App_GlobalResources/RadEditor.Main.resx. Please, make sure that your custom localization has all needed resource strings,".....+ copy all from original etc

Well,
1)   I never had anything called "ClearClass"...???
2)  I copied all  the original localization resources from my installation folder to App_GlobalResources, in the website.
3)  This site has the updated Telerik.Web.Ui.dll, in the bin folder along with all the old dll's per each and every used control in the site.
No Luck, still same error.
and
I recreated the same screen in a stand alone web site project, ..only referencing  the new Telerik.Web.Ui.dll, no RadControls folder, no toolsfile or versions of it, Has the App_GlobalResources of course, and this ran successfully.
I tried removing Editor folder etc from the Rad_Controls folder and removing the Editor.dll from the bin...still no success.

The stack trace ..
[InvalidOperationException: Cannot find a string resource with key 'ClearClass' in App_GlobalResources/RadEditor.Main.resx. Please, make sure that your custom localization has all needed resource strings, or copy the original localization resources from your installation folder to App_GlobalResources.]
   Telerik.Web.LocalizationStrings.GetString(String key) +349
   Telerik.Web.UI.Editor.MainStrings.get_ClearClass() +30
   Telerik.Web.UI.RadEditor.DescribeComponent(ScriptComponentDescriptor descriptor) +1227
   Telerik.Web.UI.RadWebControl.Telerik.Web.IControl.DescribeComponent(ScriptComponentDescriptor descriptor) +31
   Telerik.Web.UI.ScriptRegistrar.GetScriptDescriptors(Control control) +162
   Telerik.Web.UI.ScriptRegistrar.GetScriptDescriptors(WebControl control) +25
   Telerik.Web.UI.RadWebControl.GetScriptDescriptors() +24

IS it a GAC caching issue possibly or old references to the editor dll,(it has no refresh),..I did replace the controls n the form from the new tools in the toolbox, (used the zip file to get q2 2008 as opposed to the self reg exe),  or a control mixing issue (only the Page with The Editor in it has issues, rest of the site is fine.)

Thanks
Neal




1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 19 Jan 2009, 01:42 PM
Hi Neal,

It seems that you have not properly updated the App_GlobalResources folder in your project or for some reason the ClearClass string is missing.

Please, open the App_GlobalResources\RadEditor.Main.resx file and manually add the missing ClearClass string in the Name column. After that set the "Clear Class" string as a Value.

For your convenience I have attached my RadEditor.Main.resx file.

Best regards,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
Neal
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or