I don't know exactly what the issue could be but I have seen similar exceptions thrown the there is a mismatch between the runtime assembly and the EF related settings in the application's config file, e.g. the EF configuration section is for EF5 but the runtime is EF6, it there is an element such as providers in the configuration that is not supported in the currently loaded runtime.
↧