Reputation: 910
I am trying to test using OData with SharePoint and simply trying to query the calendar list. however whenever I try to query the following URL:
http://MyDomain/MySite/_vti_bin/listdata.svc/Calendar
I get redirected to:
http://MyDomain/MySite/_layouts/error.aspx?ErrorText=virtualPath
This kindly tells me "An error has occurred on the server." Which gives me no indication of what the problem might be or how to fix it. Does anyone with more experience with OData and/or SharePoint know what could be going on and how to fix it?
I am relatively new to OData and SharePoint so it may just be my ignorance that is getting in my way. My first inclination was to check to see if the OData services are enabled, but I see no way to enable or disable the OData services and my Google searches on the topic have come up empty thus far.
Any help would be greatly appreciated.
Upvotes: 1
Views: 670
Reputation: 6001
Make sure you have installed:
ADO.NET Data Services Update for .NET 3.5 SP1.
Check here:
Upvotes: 0