I couldn't say offhand without debugging. A 500 error can be anything. Can you give me FTP access and the url to the page you are working on? If I could investigate and reproduce the error I could find the solution.
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.