Sometimes Dreamweaver's FTP messes up and the error message you receive on the connections file (esepcially in DW CS6) comes up all the time for me. To get around that simply upload the file again on it's own (that always works for me).
The 500 internal server error may be releated to this if your page/form requires the connection file but it's not being uploaded to the server.