Consultor Eletrônico



Kbase P184873: System.IO.FileLoadException error when trying to run an OO4GL application after deployment.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   4/1/2011
Status: Unverified

SYMPTOM(s):

System.IO.FileLoadException error when trying to run an OO4GL application after deployment.

System.IO.FileLoadException: Could not load file or assembly 'Progress.Messages, Version 10.2.2.1413, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

OpenEdge Graphical client has encountered a problem and needs to close.
We are sorry for the inconvenience.

FACT(s) (Environment):

The application has been developed using OpenEdge 10.2A and is being deployed to an OpenEdge 10.2B installation.
Windows
OpenEdge 10.2x

CAUSE:

The version of the Progress.Messages.dll is not the same as that used to develop and compile the application.

FIX:

To determine the correct version to use do the following:

1. Search for all the Progress.Messages.dll files in the installation. There should be several.
2. Check each files properties and check the version number. There should be one with the same version as the message states. If there isn't look for one in the development installation.
3. To find which file is being used and triggering the error, look at the last accessed date on the file, and verify it's version number is not the same as that in the error message.
4. Backup and replace the file identified in step 3 above with the one identified in step 2.

The application should now work without error.