Hi,
I am having the silverlight application which needs to get details from Sharepoint site. In order to consume the data from site, i need to create WCF services to get the data from site and needs to return to Silverlight application. So, i have decided to create a WCF service application , and referenced Microsoft.Sharepoint DLL. When i am trying to expose the SPSite object, it is throwing the error as "The Web application at http://XXX could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application."But if i am trying the same way in Console application, i am able to expose the objects. Please let me know why it is not working in WCF services. Please find my WCF project settings : Target Framework :3.5, Platform : Any CPU / X64.
Balaji