double check your site definition.
this error happens if the site definition is not configured properly. specifically the testing server.
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