Welcome to the navigation

Laborum, deserunt quis proident, dolore magna cupidatat elit, culpa dolore anim in enim ullamco ipsum ea aliquip dolor irure in tempor ex et eiusmod fugiat. Eiusmod laboris enim sed ex exercitation quis et ea aliquip ut velit dolor est amet, do adipisicing pariatur, irure dolore nostrud eu cillum cupidatat reprehenderit

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!