Prohledejte časté dotazy
Web Reporter failed to install report packs. Object reference not set to an instance of an object.
Goals and Symptoms
When installing the default Report Packs (via either command line (RESL198324) or using the RS2008WRConfigurationWizard (RESL203767)), the installation fails and throws the following error:
Error installing report pack 'C:\Program Files\Schneider Electric\ION Enterprise\Web\ReportPacks\Default Reports 6.0.zip'
--------------------------------------------------------------------------
System.ApplicationException: Error installing report pack 'C:\Program Files\Schneider Electric\ION Enterprise\Web\ReportPacks\Default Reports 6.0.zip'. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at PowerMeasurement.Reporting.ReportPacks.AssetInstallers.AssetInstallerController.GetAssetHandler(Asset asset)
at PowerMeasurement.Reporting.ReportPacks.Uploader.ReportPackHandler.InstallReportPackAssets(String userID)
at PowerMeasurement.Reporting.ReportPacks.Uploader.ReportPackHandler.InstallReportPack(String userID)
--- End of inner exception stack trace ---
at PowerMeasurement.Reporting.ReportPacks.Uploader.ReportPackHandler.InstallReportPack(String userID)
at PowerMeasurement.Reporting.ReportPacks.Uploader.ReportUploadManager.InstallReportPack(Object packName, String userID)
at PowerMeasurement.Apps.Tools.ReportPackUtil.InstallReportPack(String reportPackFilename)
at PowerMeasurement.Apps.Tools.Program.Main(String[] args)
Causes and Fixes
This error is caused because the ION_Network database is not at the correct version. The ION_Network database was likely copied from a 6.0 system to that of a 6.0 SP1 system, and never upgraded. To find out the version of the database, please reference RESL183683. The database version of any of the ION databases can be found by opening the dbo.Registry table for that database and looking for the Revision row:
Upgrade the ION_Network database to the correct version by using the Database Manager (located in the Management Console). After the upgrade, re-install the Report Packs either via command line or by using the RS2008WRConfigurationWizard.
Legacy KB System (APS) Data: RESL204697 V1.0, Originally authored by DaDu on 03/03/2011, Last Edited by DaDu on 03/03/2011
Related ranges: ION Enterprise V6.0