Windows error 0x80131701, -2146232575

Detailed Error Information

CLR_E_SHIM_RUNTIMEEXPORT[1]

Message"Failed to find a required export in the runtime."
Comment Failed to find a required export in the runtime

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode19 (0x013)
NameFACILITY_URT[2][3]
DescriptionThe source of the error code is .NET CLR.[2][3]
Error Code5889 (0x1701)

Questions

0votes
1answer

Signing executables fails inside Docker container

I am trying to sign .exe and .dll files inside Gitlab Pipeline with docker-windows setup, using docker image: mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019 I try to call these commands: > sn.exe -R myfile.exe myKey.snk > signtool.exe sign /v /f myCert.p12 /p myPassword /fd sha256 /tr "http://sha256timestamp.ws.symantec.com/sha256/timestamp" /td sha256 myFile.exe When doing it locally on [...] read more
windows
docker
certificate
signtool
sn.exe
0votes
1answer

CoCreateInstance(CLSID_CorDebug) fails with 0x80131701 : Failed to find a required export in the runtime

I am trying to write an unmanaged debugger for the .NET framework, but when I try to get an instance of the core ICORDebug interface I get a runtime failure with the return value from CoCreateInstance. What am I doing wrong? CComPtr<ICorDebug> debug; HRESULT hr; hr=debug.CoCreateInstance(CLSID_CorDebug,NULL,CLSCTX_INPROC_SERVER); //hr=0x80131701 read more
.net
debugging
unmanaged

Comments

Leave a comment

(plain text only)

Sources

  1. https://github.com/dotnet/coreclr/blob/v1.1.0/src/inc/corerror.xml
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx
  3. winerror.h from Windows SDK 10.0.14393.0

User contributions licensed under CC BY-SA 3.0