VMware Cloud Community
karunyaraj
Contributor
Contributor

Several Exes Failed to Invoke with exception code 0xc0000142 (STATUS_DLL_INIT_FAILED)

I'm facing strange issue where several Exes are failed to invoke with code 0xc0000142 in windows server 2008 & server 2012 machines. Hosting server is EsXI 5.5 & above.

Issue occurs when exes invoked in non interactive sessions and its getting failed only after some period of time.Found that issue is due to desktop heap memory exhaustion , but the same issue not reproduced in physical machines or any other hosting servers like windows Hyperv.Increasing the desktop heap memory is not helping either.

Has anyone faced like this issue before.Please Reply.

Edit :changed 'create' to 'invoke'

0 Kudos
3 Replies
Nick_Andreev
Expert
Expert

Could you further clarify what you mean by "creating" .exe's? Are you a developer and trying to compile an executable file?

---
If you found my answers helpful please consider marking them as helpful or correct.
VCIX-DCV, VCIX-NV, VCAP-CMA | vExpert '16, '17, '18
Blog: http://niktips.wordpress.com | Twitter: @nick_andreev_au
0 Kudos
karunyaraj
Contributor
Contributor

'Creating' in the sense i'm trying to invoke EXE in non - interactive session periodically (Ex : every 3 hours ). Initially process started and working fine for few days and then it failed to invoke with 0xc0000142 (STATUS_DLL_INIT_FAILED) error.

0 Kudos
SureshKumarMuth
Commander
Commander

has it ever worked before on ESXi 5.5 or later versions ?

Are you seeing this error after making any changes at the ESXi level ?

Is your ESXi host running out of resources ?

for testing purpose can you implement the following

1. give complete memory reservation for the virtual machine where you see this error.

2. Try to invoke the exe and check if you see any difference in the behavior.

Regards,
Suresh
https://vconnectit.wordpress.com/
0 Kudos