JavaScript Errors in Dreamweaver

Issue: JavaScript Errors at Startup or Shutdown in Dreamweaver

While using Dreamweaver you may encounter JavaScript (JS) errors. This might happen when you are working on a page or even when you launch or shut down Dreamweaver. Most of the time users experience these errors while accessing codes on a PHP page, recordset, server behaviors or just opening and closing Dreamweaver.

The errors could look like any of the screenshots as shown below

JavaScript Errors

JavaScript Errors

Many of these errors are caused by the fact Dreamweaver’s cache index file gets corrupted or by using some extensions. Adobe technical document below explains troubleshooting with JS errors and many reasons why we get JS errors.

But what if get these JS errors keep popping up after deleting the WinFileCache*.dat file, recreating the preferences, removing extensions and even uninstalling and re-installing.

Cause: It might be possible that there could be one or more unknown JS or HTML files stored in any of the folders present inside your Dreamweaver’s configuration folder installed on the default location. Check the location below based on your OS.

  • Windows (64 bit): C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS5.5\configuration
  • Windows (32 bit): C:\Program Files\Adobe\Adobe Dreamweaver CS5.5\configuration
  • MAC OS: [StratupDisk]\Applications\Adobe Dreamweaver CS5.5\configuration

Solution: When you get errors at startup and shutdown or while accessing any page, look for unknown JS or HTML files. I got this issue few days back and found that these unknown JS and HTML files lying in the startup and shutdown folders were causing the problem. After deleting these files I was able to launch and close Dreamweaver without any JS error message windows.

The startup folder should have only 6 HTML pages and 2 JS files with a freshly installed Dreamweaver.

HTML files:

  • AdvRs.htm
  • BridgeTalkInit.htm
  • ICEInit.htm
  • MMinit.htm
  • RecordsetFind.htm
  • SpryInit.htm

JS Files:

  • helpDocs.js
  • helpDocs.js

The shutdown folder has only 2 HTML pages

  • BridgeTalkexit.html
  • TeamAdminTempDelete.html

Note : There might be a file which could be useful if you are running scripts at startup or shutdown, so I would suggest keeping them as backup before deleting from the above locations.