Consultor Eletrônico



Kbase P146629: Error "System.IO.FileNotFoundException: Could not load file or assembly 'Infragistics2.Excel.v8.1'"
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/22/2009
Status: Unverified

SYMPTOM(s):

Error "System.IO.FileNotFoundException: Could not load file or assembly 'Infragistics2.Excel.v8.1'" when running OpenEdge 10.2A code in a production environment

Error "Could not load file or assembly" occurs when running code in a production environment

System.IO.FileNotFoundException: Could not load file or assembly 'Infragistics2.Excel.v8.1, Version=8.1.20081.1000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' or one of its dependencies. The system cannot find the file specified.

FACT(s) (Environment):

Same code runs as expected in a development environment
Code references the control Infragistics2.Win.UltraWinGrid.ExcelExport.v8.1
Client-Networking 10.2A is the only license installed on client PCs in the production environment
Infragistics2.Excel.v8.1.dll is not present in <DLC>\bin\infragistics\winforms
Infragistics2.Excel.v8.1 was not explicitly added/referenced in the code
Infragistics2.Excel.v8.1 is referenced in assemblies.xml
OpenEdge 10.2A
Windows

CAUSE:

Bug# OE00184687

CAUSE:

The files Infragistics2.Documents.v8.1.dll and Infragistics2.Excel.v8.1.dll were omitted from <DLC>\bin\infragistics\winforms. In a development environment, this does not matter since an OE Ultra Controls .NET license is installed so all Infragistics controls are registered in the Global Assembly Cache (GAC).

FIX:

Manually copy the files:

Infragistics2.Documents.v8.1.dll
Infragistics2.Excel.v8.1.dll

From this folder in a development environment:

C:\Program Files\Infragistics\NetAdvantage for .NET 2008 Vol. 1 CLR 2.0\Common

Add these files to the following location in the production environment:

<DLC>\bin\infragistics\winforms