Free Support Forum - aspose.com

New DLL Error

I just installed the new DLL and overwrote the existing one. Any idea why I get this error:

The located assembly’s manifest definition with name ‘Aspose.Pdf’ does not match the assembly reference.

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: The located assembly’s manifest definition with name ‘Aspose.Pdf’ does not match the assembly reference.

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.Pdf’ could not be loaded.

=== Pre-bind state information ===
LOG: DisplayName = Aspose.Pdf, Version=2.4.1.0, Culture=neutral, PublicKeyToken=716fcc553a201e56
(Fully-specified)
LOG: Appbase = file:///C:/Roadfood
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file (c:\windows\microsoft.net\framework\v1.1.4322\aspnet.config).
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: Aspose.Pdf, Version=2.4.1.0, Culture=neutral, PublicKeyToken=716fcc553a201e56
LOG: Attempting download of new URL file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary ASP.NET Files/root/e46a7090/b7ebdd52/Aspose.Pdf.DLL.
LOG: Attempting download of new URL file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary ASP.NET Files/root/e46a7090/b7ebdd52/Aspose.Pdf/Aspose.Pdf.DLL.
LOG: Attempting download of new URL file:///C:/Roadfood/bin/Aspose.Pdf.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Minor Version

Hi,

Thank you for considering Aspose.

I think you just need to rebuild your solution.