Here’s what more than 2,500 business decision-makers around the world say.Download the report
...with the Facility Hero app in hand! Discover how you can optimize your maintenance efforts today.Learn more
Access tailored services, 24/7 self-service and expert help. Anywhere, anytime, any project.Discover now
Don’t miss the latest events, videos, or articles. It’s all in our news bulletin.Sign up now
Schneider Electric Global Website×
Explore our global offerings or select your country from one of our five regions.Global
Découvrez nos offres globales ou sélectionnez votre pays dans l’une de nos cinq régions.
Goals and Symptoms
When adding a meter to Tenant Metering Software (TMS v 1.5), the following error is displayed:
Tenant Metering Software Unhandled Exception - "Value of '0' is not valid for Parameter name: SelectedIndex"
Causes and Fixes
Version 1.5 of TMS relies on VB, which has a callfor "Serial devices" in the system before building the "Add Meter" screen. Most modern computers do not have COM ports, and so, because there was no error checking on that return value it will throw the error above when the list is empty.
The attached program creates a virtual com port on the machine. TMS detects the virtual com port as a standard com port and thus the list can be created correctly and returned without errors.
(Removed File URL: 211143_4C06/com0com-18.104.22.168-i386-and-x64-unsigned.zip)(Removed Image URL: /PubResEXPORT.nsf/2b87ee90be777fc085257c28006ee4ef/14b06da368d76ecdc1257b4500272dac/fl_block_5/0.11A?OpenElement&FieldElemFormat=gif)com0com-22.214.171.124-i386-and-x64-unsigned.zip