Adobe Dreamweaver Problem while saving file

In Adobe Dreamweaver CS3 and CS5 you might encounter following problem

While executing onLoad in _afterSave.htm, the following JavaScript error(s)occured:

In file “_afterSave.htm”:
afterSaveis not defined.

Solution:
Close Dreamweaver.
In Microsoft Windows 7 goto
C:Usersuser_nameAppDataRoamingAdobeDreamweaver CS5en_US

In In Microsoft Windows XP goto
C:Documents and Settingsuser_nameApplication DataAdobeDreamweaver CS4en_US
Rename or delete “Configuration” folder.
Start Dreamweaver again. It will generate the new Configuration folder.
errors Problems Tips and Tricks