If Producer encounters an error during batch asset loading file processing, it will end and return an error code. The following table lists the error codes that Producer can return when processing a batch asset loading file. Any hosting application that is running Producer can catch these errors and attempt to handle them. If batch processing succeeds, it returns S_OK.
To catch these errors, you must define them in your application.
Error Code |
Hexadecimal Value |
Description |
S_OK |
0x00000000 |
The build succeeded. |
E_FAIL |
0x80000008 |
Unspecified error. |
E_INVALIDARG |
0x80070057 |
One or more arguments are invalid. |
EWMT_FILENOTFOUND |
0xC9470064 |
A file to be imported could not be found. |
E_PBF_MISSING_TAG |
0xC94700D1 |
A required element is missing from the batch asset loading file. The file must contain one producer element, and at least one of either actions or presentation. |
E_PBF_ACTION_MISSING_COMMAND |
0xC94700D2 |
An action element is missing the command attribute. |
E_PBF_COMMAND_MISSING_PARAM |
0xC94700D3 |
An action element is missing a required parameter. |
E_PBF_COMMAND_FILE_NOT_FOUND |
0xC94700D4 |
A file specified for an action element cannot be found, cannot be loaded, or is the wrong type. |
E_PBF_EXPECTED_PARAM |
0xC94700D5 |
action elements may only have param elements as children. |
E_PBF_PROPERTY_MISSING_NAME |
0xC94700D6 |
A property element is missing the name attribute. |
E_PBF_PROPERTY_UNKNOWN |
0xC94700D7 |
An unknown property was specified in the properties section. |
E_PBF_SEQUENCE_TYPE_UNKNOWN |
0xC94700D8 |
The sequence type is not one of the known types. |
E_PBF_MEDIA_WRONG_TRACK |
0xC94700D9 |
A media element was added to the wrong sequence type. |
E_PBF_SLIDE_INDEX_OUT_RANGE |
0xC94700DA |
A PowerPoint file does not have a slide of the specified index. |
E_PBF_TRANSITION_INDEX_OUT_RANGE |
0xC94700DB |
A transition index is out of range of available transitions. |
E_PBF_EFFECT_INDEX_OUT_RANGE |
0xC94700DC |
An effect index is out of range of available effects. |
E_PBF_MEDIA_DURATION_NEGATIVE |
0xC94700DD |
A media element's begintime attribute is greater than its endtime attribute. |
E_PBF_COLLECTIONS_MEDIA_NOTFOUND |
0xC94700DE |
A file could not be imported or was not found in the collections. |
E_PBF_PROFILE_NOT_FOUND |
0xC94700DF |
A publish profile file specified by a property element could not be found. |
E_PBF_WEBHOST_NOT_FOUND |
0xC94700E0 |
The Web host specified by a property element could not be found. |
E_PBF_TOCENTRY_MISSING_NAME |
0xC94700E1 |
A table of contents entry was specified, using tocentry or tocentryclip, without a title attribute. |
E_PBF_MEDIA_MISSING_SRC |
0xC94700E2 |
The src attribute is missing from a media element. |
E_PBF_NO_CREATE_LOG_FILE` |
0xC94700E3 |
The logging action element could not create the specified log file with write access. |
E_PBF_FASTPUBLISH_NOT_AVAILABLE |
0xC94700E4 |
The timeline requires recompression but does not fulfill all the requirements needed for smart recompression. See Publisher.CalculateBestPublishProfile for a list of requirements for smart recompression. You must change your timeline to fulfill all these criteria before you can publish. |