"Cannot Insert Object" Error in a Microsoft Office When Inserting a Measurement Studio ActiveX Control

Updated Jan 25, 2018

Reported In

Software

  • Measurement Studio Professional

Issue Details

I have installed NI Security Update 67L8LIQW and 67L8LOQW, and now I receive a "Cannot insert object" error when I attempt to insert a Measurement Studio ActiveX control in a Microsoft Office document. 



Why do I receive this error and how do I fix it?

Solution

To load the control, delete the CWUIControlsLib.exd and CW3DGraphLib.exd files from the created by Microsoft Office. Refer to Microsoft KnowledgeBase: EXD files are created when you insert controls for a list of folders that contain these files. Once the files are deleted, try inserting the control again.

Additional Information

NI Security Update 67L8LIQW for cwui.ocx and NI Security Udpate 67L8L0QW for cw3dgrph.ocx eliminate a vulnerability in Measurement Studio ActiveX controls by disabling the controls in Microsoft Office and supplying replacement controls that are not vulnerable. When an ActiveX control is inserted into a Microsoft Office document, Microsoft Office creates an .exd file for the control to cache the control's information. This allows the control to be loaded more quickly the next time it is inserted into Microsoft Office. However, when the security updates are installed, the .exd files are not updated with the replacement control information. When a control is inserted into Microsoft Office, it attempts to load the version of the control that has been disabled by NI Security Update 67L8LIQW or 67L8LOQW. 

WAS THIS ARTICLE HELPFUL?

Not Helpful