I have encountered an exception when I use Entity Framework 4.0 RC. My Entity Framework model is encapsulated in a private assembly who\'s name is Procurement.EFDataProvider
a noob mistake, But I had the error when my access to the DB was with a Read Only username and password. Hope that my mistakes help others.