A: 

I had a similar problem, and it was caused by passing the wrong class to DataService. You need to pass the data entities class of the data model.

public class WebDataService : DataService< DataModel.DataEntities >
ggponti
+1  A: 

I recently ran into a similar issue, and the fix in my case was changinghe the name of the EntitySetAccessRule to "*", like this:

public static void InitializeService(DataServiceConfiguration config)
{
  config.SetEntitySetAccessRule("*", EntitySetRights.All);
  config.DataServiceBehavior.MaxProtocolVersion = DataServiceProtocolVersion.V2;
}
Jakob Gade