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

The directory '/App_GlobalResources/' is not allowed because the application is precompiled

3 Answers 543 Views
Spell
This is a migrated thread and some comments may be shown as answers.
Gil
Top achievements
Rank 1
Gil asked on 01 Mar 2010, 02:10 PM
Hello,
one of the steps is to set the directory 'App_GlobalResources' to include the resource file 'RadSpell.Dialog.resx'.
this is the error message I get when I try to run my application:
"The directory '/App_GlobalResources/' is not allowed because the application is precompiled"
what should I do?

best regards,
Gil.

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 01 Mar 2010, 04:43 PM
Hi Gil,

If you will use the English localization for RadSpell only then it is not needed to copy the App_GlobalResources from the installation to the root of your web application. In this scenario the spellchecker will read its localization from the embedded resx files in the Telerik.Web.UI.dll file.


Best regards,
Rumen
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Gil
Top achievements
Rank 1
answered on 03 Mar 2010, 11:21 AM
Hi Ruman,

thank you for your quick reply.

this is how RadSpell is defined in my page:
<telerik:RadSpell runat="server" ID="RadSpell1" ControlToCheck="BodyTextBox" ButtonText="Check" SupportedLanguages="English" /> 
 
could you please point the changes I should make?
where do I change the localization of the control to English?

thanks,
Gil.

0
Rumen
Telerik team
answered on 03 Mar 2010, 01:37 PM
Hi Gil,

If the Language property of RadSpell is not set the spellchecker will use its English localization embedded in the Telerik.Web.UI.dll.

In this case you should not copy the App_GlobalResources folder from the installation to the root of your web application, which will fix the problem.

Sincerely yours,
Rumen
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Spell
Asked by
Gil
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Gil
Top achievements
Rank 1
Share this question
or