Blog

Dreamweaver crashes on site cache rebuild

I just wasted an hour of my life figuring this out so I thought I’d share in case anyone else has the same problem. This happened to me using Adobe Dreamweaver CS3 but may be relevant to previous versions as well.

I was working on some CSS for a multi-tier dropdown menu when all of a sudden Dreamweaver just shut itself down. No warning. No error message. Just Poof! Gone. When I restarted, the splash screen came up and the program would start to load, get to the part where it said something about “Initializing Site Cache” and then just vanish. It turns out that I’d corrupted my cache file which rendered Dreamweaver inoperable.

By re-naming the folder I was working in, I got Dreamweaver to start loading again.  Since it could no longer find my site it didn’t see the bad cache and the program would load.  When I tried to switch back to editing my site though, the problem would happen again, even after disabling and re-enabling the cache.  Something was causing my cache to go haywire.

I’d been debugging some IE6 issues (imagine that) and had been commenting and un-commenting various lines of my external stylesheet.  During one of these debug sessions I’d apparently left a rogue */ at the end of a CSS block.  Having the comment close marker but not the comment open marker was enough to send Dreamweaver into a frenzy.

So if you run into a similar issue with Dreamweaver crashing and burning, check the latest edits you made to your files.  If there’s invalid markup it can apparently cause Dreamweaver’s cache to explode and ruin your day.

6 Comments

Thank you very much to keep me from wasting time too. I just got the same problem, but this time by adding #id to a CSS file but without the following brackets.

as-Design - June 13, 2008 12:07 PM

hello out there!
thanks for the hint. i could fix it with your help!!!!
THANKS a LOT!

regina - June 27, 2008 1:06 PM

Thanks for posting! I think mine just did the same thing for leaving off a “}”
Kinda wacked!!

Chris - August 8, 2008 2:18 PM

Thank you so much, that was a life saver.

Nj - August 25, 2008 2:09 PM

There is a bug when saving a file that hits exactly 8,129 KB in Dreamweaver. Do a Google search for “Dreamweaver 8129″ and you will see what I mean. I just had DW crash (still crashed) and the last file I was working on was saved at exactly 8129 KB.

steve - August 26, 2008 3:32 PM

I believe the number is 8,192.
I found this to be helpful http://www.mikepadgett.com/technology/technical/dreamweaver-cs3-crashes-and-wont-start-up-again/
In my case the file size was a multiple of 8,192 minus 2 bytes. Adding some characters fixed the problem. To find the culprit I moved all directories to another location and moved them back one at time, restarting dreamweaver after each move.

Joey - February 11, 2009 3:03 PM

Leave a Comment