in your Dreamweaver site settings, how is the connection to the testing server defined?
the most common cause of this error is the testing server settings.
In the testing server settings, are you connecting to a local testing server or a remote server through FTP?
make sure that the Web URL and Root Directory settings are set properly.
The web URL should be a full URL to the site on your testing server.
the Root Directory needs to be the path to the directory on the server that matches the Web URL. This settings is especially important if you are connecting to a remote server using FTP. When you log into some FTP Servers, you may be outside of the web root, if this is the case on your server, you need to specify the web root directory.