Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
230
Export to Excel Exception
posted

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.

Parents Reply Children
No Data