Dreamweaver crashes when selecting code

Running Dreamweaver CS3 on Windows 7 64bit I ran into the following issue in Code View with a specific file: placing the cursor anywhere in the code would cause Dreamweaver to instantly crash. The issue originated after adding a PHP while loop to generate a series of option values in a form. Remove the loop and the page was fine, no crash while editing, add the loop back and instant crash as soon as I highlighted text. At wits end I did a literal Google query: “dreamweaver php form select crash” and what do you know the first link held the answer! Marius Andreiana from the Adobe Forums Support team posted the basic steps which I’ve modified a bit and updated the default user path for Windows 7.

Issue: Dreamweaver crashes when selecting code

Solution: Delete WinFileCache*.dat from user profile

  1. Close Dreamweaver
  2. Set your clock to the correct time if it isn’t already so (not necessary in my case)
  3. Navigate to: C:\users\[username]\AppData\Roaming\Adobe\Dreamweaver 9\Configuration
  4. Delete WinFileCache-xxxxxxx.dat
  5. Launch Dreamweaver

Note: WinFileCache*.dat can be the source of other Dreamweaver CS3, CS4 and CS5 issues:
Dreamweaver JavaScript crashes – Adobe kb405604
Dreamweaver crashes on start up – Adobe Forums post by David Powers

WinFileCach.dat location and file (Windows 7)
Dreamweaver WinFileCache.dat

Dreamweaver Crashing…
Dreamweaver Crash

print

4 thoughts on “Dreamweaver crashes when selecting code

  1. WOW! Thanks. Couldn’t figure out what the heck was going on. I was editing PHP in notepad! I can get some more life out of CS3 before I upgrade. Thanks for sharing.

  2. THIS DID NOT WORK FOR ME, AND I HAVE SAME PROBLEM.
    WHEN I TRY AND EDIT SOURCE CODE, DW CS5 CRASHES EVERY TIME…
    PULL YOUR FINGER OUT ADOBE..”continue creating cutting-edge, world-class software…”

  3. Hi Jitender – several ways to get there, your issue may be that it’s a hidden folder
    1) At Start or in Explorer type %appdata% then hit the enter key
    2) At Start or in Explorer type C:\users\[username]\AppData\ – where [username] is your windows username
    3) Click start and type “Show Hidden Files” launch the result and enable Show hidden files & folders”. You’ll then be able to see AppData in your user profile C:\users\[username]

Leave a Reply

Your email address will not be published. Required fields are marked *