NT_DiskSpace job fails with error: 'Unable to use NetIQ Win32 COM Object'

  • 7011997
  • 20-Mar-2013
  • 20-Mar-2013

Environment

NetIQ AppManager Enterprise 7.0.4
NetIQ AppManager Enterprise 8.0.x
NetIQ AppManager Windows OS Module 7.6.276.0 (and higher)

Situation

When you run the NT_DiskSpace job against a Windows Agent, it fails with the following error:

Error: 'Unable to use NetIQ Win32 COM Object'
Message: 'Error with NetIQ Win32 COM object, check installation: File name or class name not found during OLE Automation operation'

There is no other indication as to why the job failed, nor any indication which COM object the job is having trouble with.

Resolution

One possible solution to this issue is to re-install the AppManager Windows Agent and Windows OS Module.

Alternately, you can try to re-register the nqWin32Ext.dll file, using the following command:

On Windows 2003 and 2008, 32-bit OS:
C:\Windows\System32\regsvr32 nqWin32Ext.dll
On Windows 2003, 2008, or 2008 r2, 64-bit OS:
C:\Windows\SysWow64\regsvr32 nqWin32Ext.dll
You can then close all existing Events for the NT_DiskSpace job, and re-start the job to see if the error returns.

Cause

It is possible that the nqWin32Ext.dll file, which is a part of the Windows Agent files, has been accidentally unregistered, or was improperly/unsuccessfully registered during the Agent's installation.