I am using the following code
Workbook Auditwkbk = new Workbook();
And It's throwing me the following exception.
e.InnerException {System.IO.FileNotFoundException: Could not load file or assembly 'InfragisticsSL4.Compression.v10.2, Version=10.2.20102.1029, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' or one of its dependencies. The system cannot find the file specified.\r\nFile name: 'InfragisticsSL4.Compression.v10.2, Version=10.2.20102.1029, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb'\r\n at Infragistics.Documents.Excel.SilverlightFixes.GetEncoding(Int32 codePage)\r\n at Infragistics.Documents.Excel.Utilities.EncodingGetEncoding(Int32 codePage)\r\n at Infragistics.Documents.Excel.Workbook..cctor()}
I have the following references added to the project
InfragisticsSL4.Controls.Editors.XamComboEditor.v10.2
InfragisticsSL4.Controls.Grids.XamGrid.v10.2
InfragisticsSL4.Controls.Menus.XamTagCloud.v10.2
InfragisticsSL4.Excel.v10.2
InfragisticsSL4.v10.2
And in the code I have the following using commands
using Infragistics.Documents.Excel;
using Infragistics.Controls.Grids;
using Infragistics.Controls.Editors;
Nothing has changed in the app. The functionality was working and suddenly I started getting the above mentioned exception.
Hello,
Thank you for your post. I have been looking into it and based on the exception you have I believe that you should add reference to the InfragisticsSL4.Compression.v10.2
Hope this helps you.
I am trying to locate the assembly in question. Do you know where can I find it?
Fi you have the NetAdvatage pack installed on your machine, the assemblies should be located here:
C:\Windows\Microsoft.NET\assembly\GAC_MSIL