If you see the below Application Exception Error, the contents of this article will show you how to resolve this error and continue smooth use of eDrawings.
First Check:
To check if the WMI service is started, go to Windows Start > type services > open Services Application > check if the service for Windows Management Instrument is started. If it has stopped, right click on the service and click Start.
Second Check:
- Proceed to the following folder (enter the following in Windows Explorer):
%SystemRoot%\System32\Wbem\Repository - Delete or rename the "$WinMgmt.CFG" file in the folder. Leave the FS folder as is because the recreation of this CFG file requires these FS files.
- In the System Configuration Utility (Start > Run, type MSCONFIG), ensure that you enabled the Windows Management Instrumentation/WMI services in the "Services" tab.
- Reboot the computer to rebuild the CFG.
Third Check:
To fix this issue, follow these steps:
- Open a Windows® command prompt as Administrator.
- From the command prompt, type ‘net stop winmgmt’ (without the quote marks) and press
Enter.
- If you are notified that you are stopping other services, click ‘OK’.
- From the command prompt, type ‘winmgm /resetrepository’ (without the quote marks) and press Enter.
- From the command prompt, type ‘net start winmgmt’ and press Enter.
Fourth Check:
The solution is to use the CMD prompt to fix the files in the C:\windows\system32\wbem location as detailed below.
You can copy the entire script into the window, and it may take 1-2 minutes to complete.
STEP 1: Open the CMD Prompt as Admin and navigate to the folder by copying pasting:
Cd C:\windows\system32\wbem
STEP 2: Copy/paste these lines into the window and wait for the system to finish
regsvr32 /s %systemroot%\system32\scecli.dll
regsvr32 /s %systemroot%\system32\userenv.dll
regsvr32 cimwin32.dll
mofcomp cimwin32.mof
mofcomp cimwin32.mfl
mofcomp rsop.mof
mofcomp rsop.mfl
for /f %s in ('dir /b /s *.dll') do regsvr32 /s %s
for /f %s in ('dir /b *.mof') do mofcomp %s
for /f %s in ('dir /b *.mfl') do mofcomp %s
regsvr32 wmisvc.dll
wmiprvse /regserver
If you require additional information, please contact Mecad Support - support@mecad.co.za
Date: 10/09/2024