this error occurs if the URL Prefix set in the Testing Server tab of the Dreamweaver Site definition is not correct.
see the "Defining a Dynamic Site in Dreamweaver" tutorial on the learning resources page:
resources.php?utm_campaign=Forum_header&utm_medium=Forums&utm_source=WebAssistForums