Some content on this site is available only to logged-in subscribers. Contact Us for information on becoming a subscriber.

InSource.Solutions | InSource Training | InSource Client Portal
InSource Solutions Logo
Log In Sign Up
InSource.Solutions InSource Training InSource Client Portal Log In Sign Up
  • Home
  • AVEVA InTouch
  • AVEVA InTouch Tech Notes

TN IT254 Web Browser opens with Javascript Errors from WindowViewer

Last updated: March 3rd, 2025

Description

  • Author: Brian Schneider
  • Published: March 3rd, 2025

Details:

Description

This article from InSource shows how to resolve Javascript errors that are sometimes encountered from a web browser embedded in a Wonderware InTouch window.

  • Author: Rich Brooks
  • Published: 1/10/2017
  • Applies to: InTouch 2014R2 and higher

Details

The Microsoft Web Browser .Net control is often embedded in an ArchestrA graphic. This is done to provide access to web applications from within InTouch during runtime. Javascript errors such as "unable to get property or prototype" are sometime encountered when navigating to a website. These errors may be resolved by adding view.exe and the version of Internet Explorer to the registry as described below.

Start by opening the registry editor by typing in REGEDIT from the command line. Expand the registry editor tree to locate the following:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_BROWSER_EMULATION

Right-click FEATURE_BROWER_EMULATION to add a new DWORD named View.exe. Edit the data to enter the corresponding IE version level as detailed below from the following web link.

https://msdn.microsoft.com/en-us/library/ee330730(v=vs.85).aspx#browser_emulation

The hexidecimal value of 2AF8 was used in the example above. This is the default for Internet Explorer 11. Be sure to check the IE version installed on the InTouch Runtime machine that is encountering the error. The web page will open normally after this change is applied.

javascript errors windowviewer
Give feedback about this article

Recommended articles

How to receive group emails

Read More
Support Icon

CONTACT SUPPORT

How to reach us

10800 Midlothian Turnpike Tpke, Suite 209, Richmond, VA 23235

1.877.INSOURCE

Technical Support - 1.888.691.3858

Contact Us

  • InSource Solutions
  • InSource Training
  • InSource Client Portal
  • Log In
InSource Solutions Logo

© 2025 InSource Solutions. All Rights Reserved.

Knowledge Base Software powered by Helpjuice

Expand