Free Support Forum - aspose.com

Deployment Error - assembly ref does not match

Can you help me with this error I get when I try to put our website on the server:

The located assembly’s manifest definition with name ‘Aspose.Pdf.Kit’ 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.Kit’ 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.Kit’ could not be loaded.

=== Pre-bind state information === LOG: DisplayName = Aspose.Pdf.Kit, Version=1.0.3.0, Culture=neutral, PublicKeyToken=993f0c4bb08ba75e (Fully-specified) LOG: Appbase = file:///c:/inetpub/wwwroot/clinicaltest LOG: Initial PrivatePath = bin Calling assembly : eClinical, Version=4.0.7.4, 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.Pdf.Kit, Version=1.0.3.0, Culture=neutral, PublicKeyToken=993f0c4bb08ba75e LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/clinicaltest/a9f46e1b/da797e07/Aspose.Pdf.Kit.DLL. LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/clinicaltest/a9f46e1b/da797e07/Aspose.Pdf.Kit/Aspose.Pdf.Kit.DLL. LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/clinicaltest/bin/Aspose.Pdf.Kit.DLL. WRN: Comparing the assembly name resulted in the mismatch: Build Number

Dear AngelaC,

Thank you for considering Aspose.

I guess you have updated to the new hotfix. You need to rebuild your application to avoid this error.