Windows error 0x80041006, -2147217402

Detailed Error Information

HRESULT analysis[1]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode4 (0x004)
NameFACILITY_ITF[1][2]
DescriptionThe source of the error code is COM/OLE Interface management.[1][2]
Error Code4102 (0x1006)

Questions

1vote
1answer

Delphi: intercept SWbemServices.ExecQuery error

I'm implementing a WMI interface in Delphi VCL, I managed to have it working, but I'm now trying to make it a little more robust. The portion of code I'm working on is this: var FWbemServices: ISWbemServices; WMIObject: ISWbemObjectSet; WMISQLQuery: String; FCount: Integer; ... FWbemServices := FWbemLocator.ConnectServer('', 'root\CIMV2', '', '', [...] read more
vb.net
delphi
error-handling
wmi
msdn
0votes
4answers

WMI - Generic Failure

We have a .NET application that uses WMI to gather a wide range of information on machines throughout a network, such as reading the Win32_NTLogEvent to see if Symantec Antivirus has written anything. The queries work fine, but after repeatedly running a WMI query "Generic Failure" errors will start coming [...] read more
.net
wmi
0votes
1answer

Out of memory exception while registering to a WMI event query

Short: What could cause an out-of-memory error when registering a WQL event query (error code 0x80041006)? How can we investigate the cause? Long: We keep getting an out-of-memory exception when trying to register a specific WQL event query in the MicrosoftDNS provider in a windows 2003 R2 server. We can [...] read more
dns
wmi

Comments

Leave a comment

(plain text only)

Sources

  1. https://msdn.microsoft.com/en-us/library/cc231198.aspx
  2. winerror.h from Windows SDK 10.0.14393.0

User contributions licensed under CC BY-SA 3.0