ExcelReport - Compile error in hidden modul
Due to internal changes of registration keys through Windows security updates it can occur that the WinCC OA Excel Report cannot be used anymore and returns errors like "Compile error in hidden module".
To solve this issue, the registration for the WCCOAcom.dll, the SubTimer.dll, mscomctl.ocx and the mscomct2.ocx must be removed and a new registration must be created.
e.g. for WinCC OA 3.12 following steps must be taken:
- Open the command line interface (cmd.exe) as administrator
- Change to the directory SysWOW64 - use "cd C:\Windows\SysWOW64\"
- Unregister the WCCOAcom.dll - use "regsvr32 /u <WinCC OA Installation Path>\bin\windows\WCCOAcom.dll"
- Register the WCCOAcom.dll again - "regsvr32 <WinCC OA Installation Path>\bin\windows\WCCOAcom.dll"
- Unregister the SubTimer.dll - use "regsvr32 /u <WinCC OA Installation Path>\bin\SubTimer.dll"
- Register the SubTimer.dll again - "regsvr32 <WinCC OA Installation Path>\bin\SubTimer.dll"
- Unregister the mscomctl.ocx - use "regsvr32 /u mscomctl.ocx"
- Register the mscomctl.ocx again - "regsvr32 mscomctl.ocx"
- Unregister the mscomct2.ocx - use "regsvr32 /u mscomct2.ocx"
- Register the mscomct2.ocx again - "regsvr32 mscomct2.ocx"
Further details regarding the changes through the Windows security updates can be found here.
Date added:
Last revised:
Hits:
10.669
Version:
3.11, 3.12
Platform:
Windows
Rating:
Tags:
WinCC Open Architecture