Page 2 of 7

Re: DGDecIM crash on Windows 2012 R2

Posted: Sun Aug 13, 2017 5:05 pm
by admin
I meant the correct version of DGIndexIM.exe.

Anyway, it seems there are some issues with WMI on 2012 Server R2:

https://thwack.solarwinds.com/thread/53940

You can try some of the solutions in there, or this may let you get WMIDiag working to gather data needed to troubleshoot:

http://www.lemonbits.com/2014/11/04/wmi ... r-2012-r2/

Re: DGDecIM crash on Windows 2012 R2

Posted: Sun Aug 13, 2017 5:38 pm
by Nico83500
I'm going to do a WMIDiag 2.2, it supports Windows 2012 R2 without mod.

Re: DGDecIM crash on Windows 2012 R2

Posted: Mon Aug 14, 2017 2:58 am
by Nico83500
You could find report and appcrash screenshot (sorry it's in French) in attachments but problems found for WMI are HP WBEM product related.

Re: DGDecIM crash on Windows 2012 R2

Posted: Mon Aug 14, 2017 7:01 am
by admin
Yup, I agree. You're going to have to get support from HP on this.

If it helps, I can provide you with the source code for a small program that does a simple WMI query. Perhaps it could help in getting support.

Re: DGDecIM crash on Windows 2012 R2

Posted: Mon Aug 14, 2017 7:08 am
by Nico83500
Yes I'm interested by your small program to test, thank you. Do you think appcrash is really related to WMI ?

Re: DGDecIM crash on Windows 2012 R2

Posted: Mon Aug 14, 2017 7:48 am
by admin
I suspect it is a WMI issue and I do not have full error checking for all the WMI calls, causing me to use a null pointer. I'll put together a small program with debug output and we can try to identify the exact call that is failing.

Re: DGDecIM crash on Windows 2012 R2

Posted: Mon Aug 14, 2017 9:28 am
by admin
Run this in a cmd window and post the results:

http://rationalqm.us/misc/nico.exe

Re: DGDecIM crash on Windows 2012 R2

Posted: Mon Aug 14, 2017 4:16 pm
by Nico83500
First attempt : MSVCP120.dll is missing. I'm going to install Visual C++ 2013
Second attempt (after Visual C++2013 install) :
Connected to ROOT\CIMV2 WMI namespace
Get succeeded
Cleaning up...
Cleanup successfull
But DGIndexIM.exe doesn't work anymore
Thank you for your help :)

Re: DGDecIM crash on Windows 2012 R2

Posted: Mon Aug 14, 2017 5:20 pm
by admin
What do you mean by anymore? In English that means it worked previously.

I'll guess you mean it still doesn't work and I'll make a debug build of DGIndexIM for you.

You still did not answer about whether you run 32-bit or 64-bit DGIndexIM.

Re: DGDecIM crash on Windows 2012 R2

Posted: Mon Aug 14, 2017 5:48 pm
by admin
Download this:

http://rationalqm.us/misc/DGIndexIM.exe

Also download DebugView from:

https://docs.microsoft.com/en-us/sysint ... /debugview

Start DebugView. Configure Edit/Filters so that Include is:

DGIndexIM

Then run the DGIndexIM.exe in a command window. Post the output of DebugView here.