Some ActiveX Controls NOT Supported in InTouch 2012 R2 (Version 10.6)

Posted on 166 views

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.

SITUATION

Application Versions

  • Wonderware InTouch 2012 R2 (version 10.6)

Cause

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.

Resolution

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:

  1. 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)
  2. 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
TimeBased Yes DASTestServer
Tabular Data Control(TDCCtl) Yes N/A
SysColorCtrl Yes System Ctrl
STREAMEDLATEDATA Yes DASTestServer
Signal Yes DASTestServer
ROOT Yes DASTestServer
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

Leave a Reply

Your email address will not be published. Required fields are marked *

5 × 10 =