简体   繁体   中英

Error starting program installed on a remote machine

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM