I Have a script importing xml-feeds into episerver pages.
Since the site exist in to different languages, globalization is used and the different language feeds is created according to the settings. The scipt is run by EPIServers own scheduler.
When the job are run manually from admin interface everything works perfect. But when scheduler is activated the strange problem happens:
Scheduler creates first the default languagepage but when its going to create a new language version it throws an exception with the message that it cant access page with id XX, The page id exsist and its the right page.
The code triggering this is:
Global.EPDataFactory.Save(oOtherNewPressRelease, SaveAction.Publish, AccessLevel.Read);
This works for creating default page, but when scheduler shall create the language branch it fails.
Of course this only happens on the production server, not local or test server.
Have anybody a clue what is wrong here?
Global.EPDataFactory.Save(oOtherNewPressRelease, SaveAction.Publish, AccessLevel.Read);
This works for creating default page, but when scheduler shall create the language branch it fails. Of course this only happens on the production server, not local or test server. Have anybody a clue what is wrong here?