The code was all "written " by DataAssist from the menus. I've re-installed it several times, but I'll leave the connection, and start over from nothing and see what happens. Here is the new file, which throws the same errors as the old one.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.