--- title: "Fixing Matrix (Legacy Economic Questionnaire) Setting After Upgrade (UseLegacyEconomicQuestionnaireBitMask)" slug: "fixing-legacy-rcm-economic-questionnaire-setting-after-upgrade" updated: 2026-10-27T23:12:43Z published: 2026-10-27T23:12:43Z canonical: "ims-handbook.cenosco.com/fixing-legacy-rcm-economic-questionnaire-setting-after-upgrade" --- > ## Documentation Index > Fetch the complete documentation index at: https://ims-handbook.cenosco.com/llms.txt > Use this file to discover all available pages before exploring further. # Fixing Matrix (Legacy Economic Questionnaire) Setting After Upgrade (UseLegacyEconomicQuestionnaireBitMask) After upgrading an IMS RCM environment from an older version to the .NET versions 4.+ , some sites may experience calculation inconsistencies, including: - Asset factor being **10× higher** - Incorrect DET matrix values - Incorrect economic questionnaire behaviour - Incorrect criticality and scheduling results This happens because older IMS versions stored the setting `UseLegacyEconomicQuestionnaireBitMask` in `web.config`, but .NET-based versions no longer read that file. To restore correct behavior, this legacy setting must be added to the **Release environment JSON configuration file**. Find the correct webserver. open IIS (Internet Information Service) Manager Right click the data service and press explore. ![](https://cdn.document360.io/e492a0e0-a4ba-4aca-8fc6-76b95f91fdf3/Images/Documentation/image-FWMJFU43.png?sv=2026-02-06&spr=https&st=2026-10-28T14%3A41%3A47Z&se=2026-10-28T15%3A41%3A47Z&sr=c&sp=r&sig=v7ONInZmWf16aHF7GiA2GmKq0Az8DU1LYWBr%2FGa41zw%3D) The explorer will open and find the folder with the “appsettings.Release.Json” (should be in the dataservice file). Right click and Edit with Notepad++ ![](https://cdn.document360.io/e492a0e0-a4ba-4aca-8fc6-76b95f91fdf3/Images/Documentation/image-NOT72TJW.png?sv=2026-02-06&spr=https&st=2026-10-28T14%3A41%3A47Z&se=2026-10-28T15%3A41%3A47Z&sr=c&sp=r&sig=v7ONInZmWf16aHF7GiA2GmKq0Az8DU1LYWBr%2FGa41zw%3D) Check if the Appsettings.Release.json already has the “UseLegacyEconomicQuestionnaireBitMask”: “2”, If not you can add it on top: RCM only would be “UseLegacyEconomicQuestionnaireBitMask”: “2” PEI only would be “UseLegacyEconomicQuestionnaireBitMask”: “1” PEI and RCM would be “UseLegacyEconomicQuestionnaireBitMask”: “3” ![](https://cdn.document360.io/e492a0e0-a4ba-4aca-8fc6-76b95f91fdf3/Images/Documentation/image-0QN9UU1X.png?sv=2026-02-06&spr=https&st=2026-10-28T14%3A41%3A47Z&se=2026-10-28T15%3A41%3A47Z&sr=c&sp=r&sig=v7ONInZmWf16aHF7GiA2GmKq0Az8DU1LYWBr%2FGa41zw%3D) Restarting Data service: After that restart the Data service and check the Matrix for correct values. This can be done by going back to IIS Manager, right clicking the data service → Manage Website → Restart ![](https://cdn.document360.io/e492a0e0-a4ba-4aca-8fc6-76b95f91fdf3/Images/Documentation/image-NCHTU1HC.png?sv=2026-02-06&spr=https&st=2026-10-28T14%3A41%3A47Z&se=2026-10-28T15%3A41%3A47Z&sr=c&sp=r&sig=v7ONInZmWf16aHF7GiA2GmKq0Az8DU1LYWBr%2FGa41zw%3D)