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]
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.
10 Responses to “Macromedia Dreamweaver file_save.js error on line 45”
September 20th, 2006 at 5:22 am
Thanks very much for this, you were more helpfully than Marcomedia were.
September 25th, 2006 at 1:00 pm
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&
December 15th, 2006 at 1:12 pm
Thank you very very much, it’s good and easy way to result this problem.
Nice people will live long time.
March 4th, 2008 at 4:42 am
thank you ver much, I was a 2 seconds to uninstall my dreamweber.
May 12th, 2006 at 3:48 pm
My eternal gratitude for this workaround.