An unexpected error occurred during the CREATE PACKAGE statement. The exact cause of the error is signified by a numerical value (HRESULT) in the error message.
This type of error suggests that certain entries in the registration database are incorrect or missing.
Ensure that the reference to the relevant library in the programmatic ID is correct. Also make sure that this library exists in the given location and that the appropriate privileges are assigned.
If this fails to solve the problem, inform your support about the error number (HRESULT) so they can analyze the error.