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 ( 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

compatibility mode

However, if a county wants to add 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 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 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”

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

regedit /s TNComp.reg
“C:\Program Files\internet explorer\iexplore.exe”

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 in to the Compatibility View list of the currently logged in user.

Open Internet Explorer to or

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

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s