Global Directory
Global Directory
EXPLORE OUR SITES
London Stock Exchange Group
LSEG Data & Analytics
MyAccount
LSEG Perspectives
London Stock Exchange
FTSE Russell
LCH
Contact Us
Home
TR Internal
Error: More than one product config defined a default product: XXX, YYY
Ryan Morlok
When I try to run WLBWebsite locally, I get the following error:
More than one product config defined a default product: GTLRMaxwell, WestlawBusiness
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: Cobalt.Website.Platform.Exceptions.CobaltConfigurationException: More than one product config defined a default product: GTLRMaxwell, WestlawBusiness
Source Error:
Line 456: if (ProductSettings.DefaultProductSettings != null)
Line 457: {
Line 458: throw new CobaltConfigurationException("More than one product config defined a default product: " + ProductSettings.DefaultProductSettings.ProductName + ", " + settings.ProductName);
Line 459: }
Does anyone know the cause?
Find more posts tagged with
refinitiv-internal
Accepted answers
Ryan Morlok
The problem seems to come from having multiple products compiled locally on your box. These configuration files seem to be loaded by inspecting which product assemblies are in the local bin folder.
Doing a project clean and then rebuilding everything solved the problem.
All comments
Ryan Morlok
The problem seems to come from having multiple products compiled locally on your box. These configuration files seem to be loaded by inspecting which product assemblies are in the local bin folder.
Doing a project clean and then rebuilding everything solved the problem.
mark.maruska
I believe it has to do with the files that get copied into the Products folder when building locally. Yes, I heard that selecting "Clean Solution" from the "Project" menu should clear it up.
Quick Links
All Forums
Recent Questions
Terms of use
Privacy & Cookie Statement
Cookies settings
Do not sell my info
Whistleblowing
UK Bribery Act
Modern Slavery Act