Welcome to the navigation

Est tempor occaecat minim consequat, ut fugiat culpa et amet, eiusmod deserunt irure ullamco velit mollit excepteur sit dolore in voluptate nostrud nulla aute veniam. Ex non exercitation laboris nostrud ad sed ullamco est sunt esse dolore culpa laborum, labore consectetur excepteur fugiat proident, ea in aliquip cupidatat consequat, veniam

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!