Wednesday, December 15, 2010

Error in SharePoint Designer 2010 with WCF -The server could not complete your request

I have tried to open my web application in SharePoint Designer 2010 but unfortunately i got the following error :

The server could not complete your request.

For more specific information , click the Details button (there are nothing :)) so i have solved this error by open the web.config then go to

<system.serviceModel>
which related to WCF and then remove the below tags .

<behavior>
          <!-- To avoid disclosing metadata information, 
          set the value below to false and remove the metadata endpoint above before deployment -->
          <serviceMetadata httpGetEnabled="True" />
          <!-- To receive exception details in faults for debugging purposes, 
          set the value below to true.  Set to false before deployment 
          to avoid disclosing exception information -->
          <serviceDebug includeExceptionDetailInFaults="True" />
        </behavior>

Done.

3 comments:

Anonymous said...

I am really Glad i ran across this blog.Added sqlgoogler.blogspot.com to my bookmark!

Unknown said...

I'm getting this error for all the site i try to open using SPD.(even central admin). So tell me exactly which web.config file are you talking here.

Fadi Ahmad Abdulwahab said...

Hi brother ,
I meant the web.config of site itself for example if you have a site with this URL http://site:80 so go wwwroot/wss - 80 folder of this site and check the web.config and so on.