Can someone help me decode this HResult? What does it mean? I know the negative stands for a failure. How about the rest of the 10 bits?
I referenced MSDN HResult article here, but I am not sure how to determine what my facility and code bits are.
More info:
_message: "External component has thrown an exception."
Data: {System.Collections.ListDictionaryInternal}
If Windows reports a simple error number like 1, 2, 13, 1065, you may ask the operating system for error details. Just open the command prompt windows (typing cmd in search bar and press enter key). This will show the error message associated to this code in plain text.
HRESULT is a computer programming data type that represents the completion status of a function. It is used in the source code of applications targeting Microsoft Windows and earlier IBM/Microsoft OS/2 operating systems, but its design does not limit its use to these environments.
Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. public: property int HResult { public: int get(); protected: void set(int value); }; public: property int HResult { int get(); void set(int value); }; protected: property int HResult { int get(); void set(int value); };
I'll show you how to do it. Paste the negative number into Calculator (Windows) in programmer mode "Dec" setting. Then convert to "Hex" setting. You get the number: FFFFFFFF80004005. The error is 80004005 which is:
0x80004005
E_FAIL
Unspecified
Unfortunately the provider of the function that gave you this error did not categorize the error.
Useful links:
Print it as an hexadecimal number, then, use for instance, VisualStudio ErrorLookup, to get the message.
-2147467259 in decimal is 80004005 in hexadecimal (usually rendered as 0x80004005). That's "E_FAIL (Unspecified error)" in Win32.
Not a very helpful error code, but maybe it'll get you a half-step closer to a solution.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With