AI OnAI Off
Enabled the language in admin/edit mode? Also remember access rights of course if running the job automagically :)
Are there pages with that culture already?
Maybe some small typo with culture string? Tried small chars?
The da language is already enabled. That is the default language.
The access right are giving dynamically using
{ PrincipalInfo.CurrentPrincipal = new GenericPrincipal( new GenericIdentity("Scheduled TrafficInfoArchive"), new[] { "Administrators" }); }
Alle the pages are with da culture, and the typo is correct.
However the problem still exists.
Hi
I'm running episerver cms 9 and have a Scheduled Job in my website.
When then job is made to run (manually or using a time schedule) the current culture becomes english. I have tried changing that programmatically using e.g.
or this code
But both gives me an error saying:
{"netContentCreateLanguage: LanguageBranchID is null, possibly empty table tblLanguageBranch"}