Welcome to the navigation

Fugiat nostrud dolor laboris sunt adipisicing consequat, sint quis consectetur ut laborum, ipsum officia cupidatat exercitation proident, sit aute incididunt ut minim elit, anim mollit. Dolore ut commodo ea proident, consequat, deserunt aute quis veniam, sunt eu minim aliqua, duis dolore enim dolor labore ullamco ad non occaecat pariatur, nulla

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!