Reports > Report Console > Error message: Could not load file or assembly 'Interop.Excel, Version=1.4.0.0, Culture=neutral ...

Looking for something specific in the page and not quite sure where to find it? You can always press CTRL + F on your keyboard and type a keyword. Or you can do a search (in the top right corner).

« AgExpert Analyst Knowledge Base

Error message: Could not load file or assembly 'Interop.Excel, Version=1.4.0.0, Culture=neutral ...

The following error message may appear when you try to export a report to Excel in the grid mode:

Could not load file or assembly 'Interop.Excel, Version=1.4.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

Analyst

at AEF.agxFlexGridRpt.agxOpenInExcel(String ) 
at AEF.h7.X(Object , ClickEventArgs )
at C1.Win.C1Command.C1Command.OnClick(ClickEventArgs e)
at C1.Win.C1Command.C1Command.Invoke(ClickEventArgs e)
at C1.Win.C1Command.y.a(C1CommandLink A_0, a A_1)
at C1.Win.C1Command.ch.c(MouseEventArgs A_0)
at C1.Win.C1Command.C1ToolBar.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

This means the excel.dll files weren’t extracted to the appropriate directories when a previous version of the software was installed. 

Solution

Uninstall AgExpert Analyst from the latest version, and then reinstall it. 


Last updated on August 22, 2014 by FCC AgExpert