xkubr,
can I take a look at your App.config/Web.config file? The error leads me to believe that something might not be quite right in one of these files.
As for needing to implement a datasource key resolver, it's not really necessary if you have all connectionStrings or EdmKeys. (You might also take a look at our
DevForce Resource Center section which provides details on DataSourceKeys, DataSourceKeyResolvers, and DataSourceExtensions)
Edited by sbelini - 04-Oct-2010 at 4:15pm