SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I created a WCF Service in Visual Studio and wanted to create an external content type based on it but I get an error message while creating the content type:

"Error loading URL ... this normally happens when URL does not point to a valid discovery document, service description, or XSD schema"

The service I created is generated by VS and I didn't add any custom code yet. just to test BDC.

share|improve this question
What metadata URL are you point it at when creating the content type? – Sam Yates Jul 26 '11 at 22:27

Make sure that the paths are valid and accessible. In my case the hostname could not be able to resolved, even I have written the address without hostname.

Since I was using a WCF service and deployed in some other server, the metadata link was created with hostname. Even you write the metadata and endpoint addresses with ip, the service might access the metadata through hostname.

Adding the hostname into hosts file, solved my problem.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.