If the first four digits of the error code are 8007, this indicates a Win32 or network error. You can then use the net command to decode these types of errors. To decode the error, first convert the last four digits of the hexadecimal error code to decimal. Then, at the command prompt, type:
net helpmsg <decimal code>
where decimal code is replaced with the return value you want to decode. The net command returns a description of the error. For example, if COM returns the error 8007054B, convert the 054B to decimal (1355). Then type:
net helpmsg 1355
The net command returns the error description:
The specified domain did not exist.