Reputation: 60714
I have a program that is installed on the server, that all users are running directly from the server. This program has run for quite some time, but now it has suddenly started to fail on startup.
The program still starts as normal from the server, and if I copy the files directly to the users machine it also works fine.
The application uses EntityFramework to access a database that is residing on another server. All machines mentioned are located on the same network.
When starting the application on the client, I get the following error message:
It looks like some sort of permission problem, but I can't seem to figure out what. Hope someone can put on on the right path to understanding this problem.
EDIT
Since you can't zoom on image, here is the first part of the error message:
SystemTypeInitializationException: The type initializer for 'System.Data.Entity.Internal.AppConfig' threw an exception ---> System.Configuration.ConfigurationErrorsException> An error occred creating the configuration section handler for entityFramework> Attempt by method 'System.Configuration-TypeUtil.CreateInstanceRestricted(System.Type, System.Type)' to access method 'System.Data.Entity.Internal.ConfigFile.DefaultConnectionFactoryElement..ctor()' failed.
Upvotes: 1
Views: 216
Reputation: 5062
I don't think your problem is EF related. I had a similar problem as result of Microsoft's July Patch (KB2840628). A solution is the installation of KB2872041.
Another solution is the update to Framework 4.5.
Upvotes: 1