Welcome to the navigation

Consequat, magna in commodo amet, esse ullamco duis proident, lorem aute cillum minim dolor ut mollit labore officia dolore deserunt exercitation voluptate eiusmod non irure. Tempor in nisi dolore duis magna consectetur laboris dolore deserunt sed anim ullamco aliqua, qui amet, id ut sit laborum, consequat, nostrud ipsum ut 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!