This error happens if a testing server is not defined in your Dreamweaver Site definition.
In the Site definition, go to the servers section and make sure a testing server is selected, if you only use one remote server, set the remote server to be both remote and testing server.