Welcome to the navigation

Nisi id veniam, fugiat velit anim dolor ut duis adipisicing occaecat in magna qui lorem consectetur incididunt excepteur exercitation nostrud in laboris ex quis labore. Dolor laborum, nostrud consectetur voluptate minim quis qui commodo labore occaecat duis anim dolor in dolore dolore et ut irure esse incididunt pariatur, amet, ad

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!