I\'m using WCF Dataservices CTP2 with Entity Framework 4.1. Now then I\'m trying to get any data through my datacontext I get this exception:
System.R
I've had a similar problem, dont know whether or not it will fix yours.
What I had to do was to override the "CreateDataSource" method and turn off proxy creation in the svc.cs file.
Here's the code:
protected override DataServiceContext CreateDataSource()
{
var db = base.CreateDataSource();
db.Configuration.ProxyCreationEnabled = false;
return db;
}