This Tech Note lists some of the ActiveX Controls that are not supported on InTouch version 2012 R2 (10.6).
Due to the Data Execution Prevention (DEP) feature of Windows 7 or Windows 2008 R2 operating systems, any ActiveX Control built with ATL version 7.1 or earlier will fail to host, or will have unpredictable behaviors in InTouch 10.6 WindowMaker™ or WindowViewer™ running on Windows 7 or Windows 2008 R2.In this case, WindowMaker and WindowViewer do not display the embedded ActiveX Controls developed with ATL version 7.1 or earlier.
A warning message Fail to Create OCX control with error 126: Please contact technical support. is logged in the SMC logger.
- Wonderware InTouch 2012 R2 (version 10.6)
The reason is because some ActiveX Controls that still have an old version of ATL when running on .NET 4.0. The controls do not work under .NET 4.0, and because the new ASP install includes .NET 4.0, there is a possibility, depending on how the control was written, that you can encounter issues with the Control.
The recommended solution to this issue is to re-compile the ActiveX Controls with ATL version that is greater than 7.1.If you cannot re-compile the ActiveX Control, the following workarounds are effective:
- Disable Data Execution Prevention feature (DEP) (http://support.microsoft.com/kb/875352?wa=wsignin1.0) on Window 7 or Window 2008 R2.
- Enable the following registry key by doing the following:
- Create a String value registry entry called AllowLegacyActiveXControls under the following key
HKLM\Software\Wonderware\InTouch (32 bit) or HKML\Software\Wow6432Node\Wonderware\InTouch (64-bit)
- Set the value of AllowLegacyActiveXControls to:
AllowLegacyActiveXControls = 3ca10642-6728-4e22-97da-135a6df38a5c
Note: The above registry key will work for any ActiveX Controls that are developed with ATL version 7.1 or earlier.
The following table lists some of the ActiveX Control that are not supported on InTouch 10.6:
|ActiveX Control||Registry Entry “AllowLegacyActiveXControls” Required||Related Product|
|Tabular Data Control(TDCCtl)||Yes||N/A|
|QIChart Class||Yes||QIAnalyst 8.0 SP2|
|QIDBConnection Class||Yes||QIAnalyst 8.0 SP2|
|InControl Data Srouce Control||Yes||InControl 7.11 SP2|
|InControl Runtime Access Control||Yes||InControl 7.11 SP2|
|PID Control||Yes||InControl 7.11 SP2|