The error in the first screen shot is because you have your connection name set to: conn1_i.php
The connection name should not include the ".php" at the end.
I'm not sure about the preview. I never use that feature, but I imagine it has something to do with bad Server Settings in Dreamweaver. I can see the message in live view warning that there might be an issue.