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 incorrect or missing entries in the registration database.
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 Support of the error number (HRESULT) so they can analyze the error.