SharePoint Designer 2010 does not open site

Problem:

When attempting to open a site, SPD 2010 gives a plain error “Cannot open site” with details like

response code = “”, status = OK.

Solution:

Make sure the following tag is in the web.config of the relevant site:

<system.serviceModel>
<serviceHostingEnvironment aspNetCompatibilityEnabled=”true” />
</system.serviceModel>

I had accidentally removed it and spent an hour figuring out what went wrong.

Advertisements