Share via


CLR HRESULT

CLR HRESULT’ facility code is 0x13. If an HRESULT error is 0x8013xxxx, it is likely a CLR error.

All CLR errors are defined in CorError.h. You can find CorError.h in your Visual Studio install (or Microsoft Platform SDK).

C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\CorError.h

For example,

#define FUSION_E_REF_DEF_MISMATCH EMAKEHR(0x1040) // The located assembly's manifest definition does not match the assembly reference.

That is, 0x80131040 is FUSION_E_REF_DEF_MISMATCH.

Comments

  • Anonymous
    March 02, 2009
    #define FACILITY_URT            0x13 "URT" User RunTime?

  • Anonymous
    March 03, 2009
    It was meant for "Universal RunTime".

  • Anonymous
    May 05, 2009
    If you get a second, maybe you could look at http://stackoverflow.com/questions/824662/registration-free-com-not-working-on-windows-server-2003 Executive summary - a SXS COM client/server/manifests that works fine in XP, but fails in Server 2003, with no SideBySide source event in the event log.  I wanted to leave a comment on one of your SXS posts, but they are closed.