Thursday, January 05, 2006

Macromedia Dreamweaver file_save.js error on line 45

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.

6 Comments:

Anonymous said...

My eternal gratitude for this workaround.

3:48 PM  
Chris West said...

INDEED! Thank you very very much... :)

1:19 AM  
Wattie187 said...

Thanks very much for this, you were more helpfully than Marcomedia were.

5:22 AM  
Sean said...

Try this link. I tried all these tricks with no success, even reinstalled DW 6.0 -- if you have 6.0, this update fixes it (did for me). http://www.adobe.com/cfusion/resourcecenter/resourcecenter.cfm?pagename=dwmx%5Fupdater&loc=en%5Fus&

1:00 PM  
Anonymous said...

Thanks, Great help. Very much appreciated

1:30 PM  
^BOOMBOOM said...

thank you very much, you saved me!

8:12 AM  

Post a Comment

<< Home