Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > 'CMS.SiteProvider.UICultureInfoProvider' View modes: 
User avatar
Member
Member
asad.ullah - 3/30/2012 2:44:51 PM
   
'CMS.SiteProvider.UICultureInfoProvider'
This is the first time I am trying to create a new template after importing a site.
When I click on NEW TEMPLATE, I am getting this exception .. any ideas why ?
I am not touched any Cultures in this site.

Server Error in '/Kentico6' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0117: 'CMS.SiteProvider.UICultureInfoProvider' does not contain a definition for 'NumberOfUICultures'

Source Error:


Line 426: CMSContext.CurrentUser.IsAuthorizedPerResource("CMS.Localization", "LocalizeStrings") &&
Line 427: !this.IsLiveSite &&
Line 428: (SettingsKeyProvider.DevelopmentMode || (UICultureInfoProvider.NumberOfUICultures > 1)) &&
Line 429: !textbox.Text.StartsWith(INPLACE_MACRO_START);
Line 430:

Source File: c:\inetpub\WebSites\Kentico6\CMSFormControls\System\LocalizableTextBox.ascx.cs Line: 428

User avatar
Kentico Support
Kentico Support
kentico_radekm - 4/2/2012 9:53:07 PM
   
RE:'CMS.SiteProvider.UICultureInfoProvider'
Hello.

Is this fresh KCMS 6.0 instance, or was there any change related to binaries, like upgrade, hotfix application and so? Can you try to rebuild the site? Thank you.

Best Regards,
Radek Macalik

User avatar
Member
Member
asad.ullah - 4/6/2012 1:30:54 PM
   
RE:'CMS.SiteProvider.UICultureInfoProvider'
thank You. The hotfix did not worked either.

Later I realized my local account did not had write permissions to Kentico folder.
After applying the right permission, the issue was resolved.

thanks
Asad Ullah

User avatar
Member
Member
info-joetannouri - 4/28/2012 9:31:28 AM
   
RE:'CMS.SiteProvider.UICultureInfoProvider'
Hello,

I am having something similar on a fresh installation of kentico v6.0.4297, while im trying to edit the stylesheet or Importing site or object:

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0117: 'CMS.SiteProvider.UICultureInfoProvider' does not contain a definition for 'NumberOfUICultures'

Source Error:

Line 436: CMSContext.CurrentUser.IsAuthorizedPerResource("CMS.Localization", "LocalizeStrings") &&
Line 437: !this.IsLiveSite &&
Line 438: (SettingsKeyProvider.DevelopmentMode || (UICultureInfoProvider.NumberOfUICultures > 1)) &&
Line 439: !textbox.Text.StartsWith(INPLACE_MACRO_START);
Line 440:

Thanks

User avatar
Member
Member
kentico_edwardh - 4/28/2012 10:31:55 AM
   
RE:'CMS.SiteProvider.UICultureInfoProvider'
Hello,

Can you please try applying the latest hotfix and also checking the to ensure the Kentico project folder has the correct permissions set?

You can see more information about permissions here-
http://devnet.kentico.com/docs/devguide/disk_permissions_problems.htm


You can download the latest hotfix here-
http://www.kentico.com/Downloads/HotFix/6_0/Hotfix_6_0_29.exe

Best Regards,
Edward Hillard

User avatar
Member
Member
JoE - 4/30/2012 1:08:34 AM
   
RE:'CMS.SiteProvider.UICultureInfoProvider'
The website is hosted at godaddy's servers (a shared hosting plan) so I can't use the Installation Manager, is there any way to apply the hotfix? or to fix this in a simple way?

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 4/30/2012 3:38:54 AM
   
RE:'CMS.SiteProvider.UICultureInfoProvider'
Hi,

yes there is a way. You can download the package from our site. Then you can find the in Instructions section Creating File Structure for Deployment. This with create a content tree structure which can be uploaded to your server. Additionally, you will need to manually apply the SQL part of script on the database.

Hotfix 29

Best regards,
Ivana Tomanickova