Error Message 7022 and Putting Browser in Compatibility Mode

The need to put a browser in compatibility mode is not widespread and we have only seen it happen randomly, on the TestNav Training side (https://testnav.com/mdtrng) but it does appear to be the fix for a Java applet failing to load when trying to access the training center URL.  We have not seen this on the operational side.

What happens is an attempt is made to open the the training center URL and a Java applet fails to load.  The browser trys to load it and times out.  The error message that pops up in TestNav is 7022.  If counties see it, I have instructed them to close TestNav, put the IE browser in compatibility mode, and then log in again.

The need to put all IE browsers in compatibility mode to support TestNav practice tests is most likely not needed across a county.  The user can easily put the browser in Compatibility Mode, either by clicking the Icon to the right of the URL box in the browser or going into the Tools Menu and clicking Compatibility View Settings and adding TestNav.com.

compatibility mode

However, if a county wants to add TestNav.com to all IE browsers the following script can be used.  Note, this comes from Montgomery County.  Any other counties who wish to use it should fully test it in their environment:

Steps to import the Compatibility View list:

  1. Open TestNav.com and add the site to the compatibility view list.
  2. Click the Tools menu and choose Compatibility View:

compatibility 2

3. Click the Add button to place TestNav.com in to the Compatibility View list:

compatibility 3

4.  Click Close and close Internet Explorer.

5.  Export and save the registry key.

6.  Open Regedit and navigate to HKCU\Software\Microsoft\Internet Explorer\BrowserEmulation\ClearableListData\

7.  Right click on ClearableListData  and choose Export:

compatibility 4

8.  Save the exported registry key with a meaningful name.  (Mine is named TNComp.reg)

9.  Create the batch files.  Create a batch file with the following text for the operational site:

regedit /s TNComp.reg
“C:\Program Files\internet explorer\iexplore.exe” http://www.TestNav.com/md

10.  Create a batch file with the following text for the training site:

regedit /s TNComp.reg
“C:\Program Files\internet explorer\iexplore.exe” http://www.TestNav.com/mdtrng

11.  Create the TestNav menu item and point it to the batch file.

12.  Place the TNComp.reg file and the batch files in a location on the network that’s available to everyone and can be referenced by shortcuts.

13.  Create the TestNav shortcuts, pointing each to its respective batch file.  I made one shortcut named “TestNav” for the operational site and one shortcut named “TestNav – Practice” for the training site.

Double clicking the menu item will:

Import the registry key, placing TestNav.com in to the Compatibility View list of the currently logged in user.

Open Internet Explorer to TestNav.com/md or TestNav.com/mdtrng.

We have also had to put PearsonAccess.com in to Compatibility View in some locations.  Repeat steps 1 and 2 above (before continuing to step 3) specifying PearsonAccess.com, to put both sites in to the Compatibility View list.