Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

TagName is null while attaching and unable to download in IE 8



While attaching (selecting the PDF) the file developer is getting the below JavaScript Error:

tagName is null or not an object

This JavaScript error is observed only in Internet Explorer 8. It works in Internet Explorer 11 and Chrome browsers.

While proceeding with the JavaScript error, developer is able to attach the document. However, downloading it showing 'loading...'.

Error Messages

JavaScript error: tagName is null or not an object
unable to download the attached file to the work object displaying 'loading...'

Steps to Reproduce

Attach a file to a case. 

Root Cause

The download problem is purely due to an issue in Internet Explorer 8.

This is not an issue due to a JavaScript error (tagName is null or not an object) that is observed. Issue is reproducible without the JavaScript error also.

To download files, Internet Explorer must create a cache or temporary file.

In Internet Explorer 8, if the file is delivered over HTTPS, and any response headers are set to prevent caching, and if Do not save encrypted pages to disk option is set, a cache file is not created. Therefore, the download fails. 

The Cache-Control: no-cache header for secure requests prevents the caching of the secure resources on HTTPS. Proxy caching is disabled by default. 


To resolve this issue in Internet Explorer 8, follow these steps: 
  1. Start Registry Editor. 
  2. For a per-user setting, locate the following registry key: HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings 
  3. For a per-computer setting, locate the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings 
  4. On the Edit menu, click Add Values. 
  5. To override the directive for HTTPS connections, add the following registry value: "BypassSSLNoCacheCheck"=Dword:00000001 
  6. To override the directive for HTTP connections, add the following registry value: "BypassHTTPNoCacheCheck"=Dword:00000001 
  7. Quit Registry Editor. 

Also make sure that "Do Not Save Encrypted Files" check box is not checked in Internet Options Advanced Tab. 

Published September 21, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us