Internet Explorer® Script Error Pops Up Whenever Any Project or Workspace is Opened – KBA83317

Version: **

 

Question: Whenever any project or workspace is opened, PSoC® Designer™ gives the Internet Explorer® script error "'g_SvgDoc.rootElement' is null or not an object.” How do you fix this problem?

 

Answer:

This error is generated when the Scalable Vector Graphics (SVG) viewer is not installed or the installation has been corrupted. Reinstalling the SVG viewer should fix this issue.

If reinstalling the SVG viewer does not fix the issue, there may be a problem with the IT policies on your machine. To fix this issue, edit the registry as follows:

  1.   Click Start > Run, type Regedit in the Open text box, and then click OK.
  2.   Locate the following registry key.  

       HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer \Main\FeatureControl \FEATURE_LOCALMACHINE_LOCKDOWN

  3.   Crete a backup of this registry entry:  
        
    1.     Click File > Export.
    2.   
    3.     Save the .reg file
    4.   
    5.     Later, if you need to restore the old settings, click File > Import and import the same .reg file.
    6.  
  4.   On the Edit menu, click New > DWORD Value.
  5.   In the DWORD Value box, type psocdesigner.exe, and then press ENTER.
  6.   Double-click the psocdesigner.exe registry entry that you created in step 5.
  7.   In the Value data box, type 0, and then click OK.
  8.   Repeat steps 4–7 to add CMX.exe.
  9.   Exit the Registry Editor.