...
Upgrade fails with no error message
When the installer fails with no helpful error message, we can use a built in MS Windows tool called "msiexec" to turn on additional logging.
...
The log file will contain more details about why the install failed.
Failure to decrypt existing configuration file
This may occur in a multiple scan engine environment if a config file for one server has been accidentally copied to another server. The database connection string is encrypted using a key derived from the local Windows system and cannot be moved between systems. In this case the install.log will contain an error like the following: (note that additional line breaks have been added for readability) A user will normally not encounter this on a scan engine in active use, as the scan engine will be unable to communicate with the SQL Server Database in this configuration. It may however happen on a UI Only server, or following a backup/restoreĀ or server clone scenario.
Code Block | ||
---|---|---|
| ||
Looking for existing properties in C:\Program Files\iQuate\iQSonar ScanEngine 4.0\bin\iQuate.iQSonar.ScanEngine.exe.config Exception thrown by custom action: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Configuration.ConfigurationErrorsException: Failed to decrypt using provider 'DataProtectionConfigurationProvider'. Error message from the provider: Key not valid for use in specified state. (Exception from HRESULT: 0x8009000B) (C:\Program Files\iQuate\iQSonar ScanEngine 4.0\bin\iQuate.iQSonar.ScanEngine.exe.config line 27) ---> System.Runtime.InteropServices.COMException: Key not valid for use in specified state. (Exception from HRESULT: 0x8009000B) |
...