Problem:

Macromedia Dreamweaver file_save.js error on line 45 when changing and saving a template.

When It occurs:

Sometimes when changing a template Dreamweaver MX will issue an error on file_save.js on line 45. This error will not change any pages in your site with the new template and will also freeze Dreamweaver MX. You have to close and then restart Dreamweaver to continue working. Once you get this file saving error on line 45 once Dreamweaver will issue this error every time you attempt to change the template.

Resolution:

1) Close Dreamweaver MX
2) Rename your site directory to [Old Site DirectoryName]_somethingNew
3) Open Dreamweaver MX
3a) You will get an error because the site no longer exists. Ignore this.
4) Delete Old Site from Dreamweaver’s site manager
5) Close Dreamweaver
6) Create a new directory named [Old Site DirectoryName]
7) Using Windows Explorer Copy and Paste all the files from [Old Site DirectoryName]_somethingNew into [Old Site DirectoryName]
8) Start Dreamweaver MX
9) Using the site manager create a new site to replace the one you deleted in step 4
10) Dreamweaver will now rebuild the cache and your problem should be fixed

Why:

It seems to be a bug that occurs in the cache file. I have had problems when adding large values to tag fields so this could cause a buffer overrun or similar problem perhaps. I have found this solution combining a couple I have found on-line into one procedure which has worked now three times when I have had this file_save.js on line 45 error while using Macromedia Dreamweaver MX.

del.icio.us:Macromedia Dreamweaver file_save.js error on line 45 digg:Macromedia Dreamweaver file_save.js error on line 45 spurl:Macromedia Dreamweaver file_save.js error on line 45 wists:Macromedia Dreamweaver file_save.js error on line 45 simpy:Macromedia Dreamweaver file_save.js error on line 45 newsvine:Macromedia Dreamweaver file_save.js error on line 45 blinklist:Macromedia Dreamweaver file_save.js error on line 45 furl:Macromedia Dreamweaver file_save.js error on line 45 reddit:Macromedia Dreamweaver file_save.js error on line 45 fark:Macromedia Dreamweaver file_save.js error on line 45 blogmarks:Macromedia Dreamweaver file_save.js error on line 45 Y!:Macromedia Dreamweaver file_save.js error on line 45 smarking:Macromedia Dreamweaver file_save.js error on line 45 magnolia:Macromedia Dreamweaver file_save.js error on line 45 segnalo:Macromedia Dreamweaver file_save.js error on line 45