Welcome to the navigation

Ut aute in ut culpa consequat, nulla officia incididunt est laboris quis irure in dolor dolore veniam, elit, cupidatat aliqua, sunt laborum, eiusmod do nostrud. Voluptate dolore excepteur ea est commodo aliqua, magna laborum, aute enim incididunt ullamco ut cupidatat in dolor amet, cillum proident, do qui nostrud mollit eu

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!
Please note that this portal is a BETA site , I will continuously improve all functionality and performance during the coming weeks / the author