The URL for project <Project> was not set properly

This error has the following cause and solution: