System.IO.FileLoadException:?

I’m trying to use ASPOSE.Excel (licensed version with license file in
same directory as dll) and am getting the following error. It’s
not very descriptive. Any ideas on what’s going on here?

?

Description:
An unhandled exception occurred during the execution of the current web
request. Please review the stack trace for more information about the error and
where it originated in the code.

Exception Details:
System.IO.FileLoadException: ?

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Aspose.Excel' could not be loaded.

=== Pre-bind state information ===
LOG: DisplayName = Aspose.Excel, Version=3.5.1.0, Culture=neutral, PublicKeyToken=716fcc553a201e56
(Fully-specified)
LOG: Appbase = file:///c:/websites/newchoicefundraising230/newchoicefundraising.com
LOG: Initial PrivatePath = bin
Calling assembly : newchoice, Version=1.0.2116.28736, Culture=neutral, PublicKeyToken=null.
===

LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file (C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
LOG: Using machine configuration file from C:\WINNT\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: Aspose.Excel, Version=3.5.1.0, Culture=neutral, PublicKeyToken=716fcc553a201e56
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/4faf6da1/5dc03bd3/Aspose.Excel.DLL.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/4faf6da1/5dc03bd3/Aspose.Excel/Aspose.Excel.DLL.
LOG: Attempting download of new URL file:///c:/websites/sitename230/sitename.com/bin/Aspose.Excel.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Minor Version

Stack Trace:

[FileLoadException: ?]
newchoice.excel.Page_Load(Object sender, EventArgs e) +0
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750

It seems that your program is built with old version of Aspose.Excel. Please re-build your program with v3.5.1 and re-deploy it again.

Thanks, that did the trick!