Welcome to the navigation

Nisi deserunt veniam, consectetur sed eu laborum, in ullamco duis reprehenderit pariatur, aute ea elit, non velit ut voluptate nulla id culpa sint nostrud mollit. Occaecat pariatur, incididunt aliquip tempor amet, voluptate velit laborum, esse irure ut magna cupidatat proident, eu non dolor aliqua, excepteur consequat, et ea exercitation ad

Yeah, this will be replaced... But please enjoy the search!

Cannot change Language when UseCurrentUICulture is on

This error occurs since you forgot to set the UseCurrentUICulture to false when instantiating the MetaDataContext object The error message looks something like this MetaDataPlusException was unhandled Cannot change Language when UseCurrentUICulture is on To solve this you simple need to set the UseCurrentUICulture to false when instantiating your MetaDataContext object, in example

MetaDataContext metaDataContext = new MetaDataContext(connectionString)
{
    UseCurrentUICulture = false,
    Language = MyProject.EPiServer.Constants.ProductCatalogConstants.DefaultLanguage
};
Cheers!