This project is read-only.

Trying to set up WCF OData Service I get this error.

Topics: Customizing Orchard, Writing modules
Dec 8, 2011 at 5:48 PM

When trying to view the service in the browser I get this error.


XML Parsing Error: no element foundLocation:   Line Number 1, Column 1:


Why does it assume the service is located at and Where do I change this?




Dec 8, 2011 at 5:48 PM

It should be using my localhost.

Dec 8, 2011 at 8:42 PM

Perhaps you copied some example code but forgot to change an example location?

Dec 8, 2011 at 8:56 PM

No I created the module using codegen. Then followed a tutorial on adding Odata service. Some where it's telling my module  the service is located on codeplex?? It's not in the xml/webconfig file. i checked there.

Dec 8, 2011 at 9:24 PM

Ok so that tutorial you followed contained an example url which you forgot to change?

Dec 8, 2011 at 9:26 PM

I don't know. I just added a service. Right clicked "view in browser" and got the error. Where is the the default url for a service located usually? When you add it in Visual Studio?