Unable to create new pages in kentico 12 with page tab property true.

Nikhila Reddy Pocha asked on September 22, 2019 17:08

Hi All,

I'm unable to creating a page in kentico content tree based on custom page type, due to an run time error in function RegisterLocalizationScript() which is unable to find a module based on module id in Could not find a part of the path 'C:\Program Files (x86)\IIS Express\cms\CMSScripts\CMSModules\CMS.PageTemplates\TemplateSelector.localization.json'.

I verified the listed file TemplateSelector.localization.json in kentico cms folder and its available too in respective folder.

Solutions which I applied to fix this issue.

  1. I installed a new kentico 12 sp1 and clone the same files and folder from newely installed kentico12 sp1 to my current project but still the same issue no impact.

  2. I also applied the most recent hotfix but no luck.

  3. I debug the code and trying to under the cause of issue but no luck.

  4. Even I hosted the project in IIS locally to see if its the path issue instead of running it to IIS express with visual studio.

I tried all the best possible solution to make it work but nothing work for me, if any one having any clue why this is happening kindly share your opinion.

Environment information: Kenitco Version 12.0.39

Development model: MVC

I posted same issue couple of days back reference https://devnet.kentico.com/questions/creating-pages-based-on-page-type-causing-issue-in-kentico-12sp1

Thanks

Nikhila

Recent Answers


Trevor Fayas answered on September 23, 2019 16:10

If the file exists, but it can't 'see' or read it, it usually is a permission issue. Check your application pool identity (IIS -> Application Pools -> click on the App Pool for your application, then Advanced Settings on the right, and look at hte "Identity" field)

If the Identity is "ApplicationPoolIdentity" then on your site, edit the permissions and add the user "IIS APPPOOL\TheApplicationPoolName" and give it full control.

If it's NetworkService, then you need to add that user to full control. See if that works!

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.