Please try deleting the filecache.dat file while Dreamweaver is closed. This seems to be a common problem in CS4 if a script file is updated and not the associated html file it starts throwing wild errors that don't really exist. Deleting this file will usually clear the problem. 
Ray,
Can you illuminate more on where we can find this filecache.dat, please? I'm having the same problem with CS4 and Menu Writer 2.
Thanks.


