Usually this is a problem with the testing server settings in dreamweaver. Maybe the website url is wrong or the root folder. Make sure your TESTING server is correctly configured in your Dreamweaver site and that should fix this problem. Your testing server should use the same settings as your remote server if you are using your live database for testing in dreamweaver.