| Previous | Next |
| ERROR_UNKNOWN_PROPERTY | ERROR_BAD_CONFIGURATION |
ERROR_INVALID_HANDLE_STATE
ERROR_INVALID_HANDLE_STATE means that Windows Installer received a handle whose current state does not allow the requested operation. The handle may be syntactically valid, so this differs from passing an invalid handle value.
Track how the installer handle was created and which operations have already changed or closed its state. Use a handle appropriate for the requested MSI API rather than assuming every non-null installer handle supports every operation.
What to check
- Identify the API call, handle type, and sequence of earlier API calls that led to the failure.
- Ensure the package, database, view, record, or transaction is initialized and has not already been closed or finalized.
- For embedded chaining, verify the transaction ID and ownership before joining or changing the transaction.
Microsoft: Windows Installer error codes · Microsoft: MsiJoinTransaction
Looking for a different code? Search another status or error code.
