Adobe Dreamweaver CS3 crashes when selecting text in code view

Another one of those funnies... Only recently Adobe dream weaver CS3 started crashing when I was selecting text in code view. For example, the code below, if I tried to select the whole CFIF block, then immediately a Vista error message appeared saying dreamweaver had crashed.

<cfif isdefined("attributes.endDate")>
 <cftry>
  <cfset attributes.startDate = dateformat(attributes.startDate, "dd mmm yy")>
  <cfcatch type="Any">
   <cfset tx = structDelete(attributes, "startDate")>
  </cfcatch>
 </cftry>
 <cftry>
  <cfset attributes.endDate = dateformat(attributes.endDate, "dd mmm yy")>
  <cfcatch type="Any">
   <cfset tx = structDelete(attributes, "endDate")>
  </cfcatch>
 </cftry>
</cfif>

 

Not ideal since the vast majority of developing code involves copying and pasting blocks of text.

After some investigation, I found the following thread which helped immensely:-

http://groups.google.com/group/macromedia.dreamweaver/browse_thread/thread/e493f48243a14b28/2fa3ea8a3c34ba5b

The crux of it was deleting the winfilecachexxxxx.dat file - Once doing this, it was plain sailing and hasn't crashed since.

On Windows Xp, the file is at:-

[drive]:\Documents and Settings\[username]\Application Data\Adobe\Dreamweaver
9\Configuration

On Windows Vista, you can find it in:-

[drive]:\Users\[username]\AppData\Roaming\Adobe\Dreamweaver 9\Configuration
or accessible via windows explorer in
Desktop\[username]\Roaming\Adobe\Dreamweaver 9\Configuration

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
THANKS ! ! !
# Posted By kaspelon | 05/11/07 18:18
Many thanks - this was vexing me for several weeks!
# Posted By geektime | 05/11/07 18:29
Thanks, this was a PITA!
# Posted By Mark Kecko | 05/11/07 19:16
It appears it was all because of the swith over from British Summertime back to Greenwich meantime. Sorry to appear uneducated but I'm not sure what times other countries go back to across the globe. Inshort terms, the clocks went back and dreamweaver broke.
# Posted By Martin Parry | 05/11/07 21:57
That worked like a charm!
# Posted By Petron | 06/11/07 15:16
Immediately fixed the problem - thanks! (symptoms solved: crash when selecting or putting cursor within certain text in a particular file, wouldn't necessarily crash when inserting it in identical text in other files)
# Posted By Keith | 06/11/07 18:33
Thanks very much... this was making me very g r u m p y
8-<
# Posted By Michael Evangelista | 09/11/07 03:35
Thank you so much for this! For some reason this issue has only affected one file (that I have noticed anyway), but it has been a nightmare working around it! All sorted now, you are a star.
# Posted By John Robinson | 23/12/07 12:50
Fantastic!!! Thanks so much for this trick.
# Posted By Giorgio Lardone | 12/03/08 22:48
That is perfect. Thanks a lot mate
# Posted By Shan | 06/04/08 14:17
Thanks a lot for that, saved me lots of hair pulling.
# Posted By Ben Garrett | 29/04/08 00:42
yea, freakin awesome dude!
# Posted By Yakkaus | 08/05/08 05:03
This was driving me insane. I can't thank you enough. I was about to call Adobe after not being able to find any tech articles about this problem. No patches to fix it either.
# Posted By Jason | 20/05/08 12:56
I tried to delete the .dat file, as well as hide the site registry key. Nothing worked for me until I deleted the ENTIRE Dreamweaver 9 folder. Then, it worked like a charm. The folder will be recreated, once you restart Dreamweaver.
# Posted By Julie | 19/08/08 20:39
Damn that was a git of a problem and i thank you for helping me sort it! was it some virus or summut?
# Posted By scotty | 28/10/08 12:59
Not a virus, just a bug in dreamweaver - It's twice I've had to fix this now as the clocks turned back in the UK when I first posted the article and again the other day.. Doesn't seem to do it when the clocks go forward though.
# Posted By Martin Parry | 28/10/08 13:31
Merci beaucoup, enfin une solution qui fonctionne !

Many thanks.
# Posted By Denys | 30/10/08 11:19
You are a complete star. Our site goes live tomorrow and I couldn't update the pages!! Thank you so much. Adam
# Posted By Adam Naisbitt | 02/11/08 16:39
it's a shame adobe hasn't released a fix yet.
thank you for solution and making us save time.
# Posted By Michele | 03/11/08 09:01
Thank you for posting this! I'm in a bind and DW was crashing every time I tried to select text or even type a simple { for a JavaScript function. Deleting the cache file as you suggested took care of it. Kudos for taking the time to post this solution you found.
# Posted By Kevin | 03/11/08 17:52
Thanks! I started running into the frustrating problem this morning, and was really happy to find a solution so easily.
# Posted By corwin | 05/11/08 14:46
Wow - thank you for finding this fix. This has been driving me nuts since Monday morning when I came into the office - and of course the clocks were set back in Sunday morning.

How adobe can STILL not have a fix for this is a borderline disgrace on their part. I wasted the better part of Monday troubleshooting this before I found your site today.
# Posted By Steve | 05/11/08 14:59
Thanks alot! Merci beaucoup!
# Posted By Wiggy | 05/11/08 18:27
Thanks a million - a quick search on Google found this thread and fixed the problem immediately.... prevented a big headache!
# Posted By dpch | 06/11/08 10:39
Thanks, saved me some time. I was pulling my hair out and cursing for about
an hour. I would love to know who is responsible for not fixing this so I could
put their balls in a vice and slowly shut it closed.... grrrr!
# Posted By Mark | 13/11/08 04:35
This has been an enormous headache for me.
Thanks a ton for your post.
# Posted By Mike | 19/11/08 20:45
Thank you VERY much! Maybe I can finish this app today... ;)
# Posted By Susan | 20/11/08 15:09
Thanks so much, great help here!
# Posted By DW | 26/11/08 16:32
Thank you much...can't say that enough, plagued me for weeks!
# Posted By Ron Howard | 01/12/08 04:01
thanks! can't be said enough :)
# Posted By michael | 16/12/08 20:08
I thought I was going nuts, with DW CS3 bombing randomly when I selected text in Code View on certain pages. Personally, I think it's Adobe's way of getting us all to upgrade to CS4. LOL. Anyway, thanks a million for this fix and, Dude, you RULE.
# Posted By Mike Markowski | 30/01/09 15:39
Thanks a bunch. :-)
# Posted By LKB | 01/02/09 05:23
Many thanks for sharing this, I was going nuts.
# Posted By Dotty | 09/02/09 16:24
You, sir, are a legend! Thanks.
# Posted By squibs | 20/02/09 08:15
Cheers!!! Can't believe this bug is still in CS4!
# Posted By Mike | 09/04/09 18:21
Thanks very much for this, saved me hours of grief!
# Posted By M9Media | 11/04/09 04:10
Many, many sincere thanks!!!
I was becoming increasing frustrated everytime I tried to edit a form containing php code - no warning + crash and no chance to save the files.
I had resorted to editing *problem* areas in external code editors and this simple 30sec fix has saved me hours of frustration.

THANK YOU!
# Posted By JGates | 21/04/09 14:34
Thanks a lot... you saved my day
# Posted By driss | 13/05/09 16:18
BlogCFC was created by Raymond Camden. This blog is running version 5.9.002. Contact Blog Owner