Dears ,
I'm using Spire.Doc to generate word document from sharepoint list , the code working fine ,test it in console application , but when i deploy me code in the sharepoint farm , i'm getting the following error :
Could not load file or assembly 'Spire.Doc, Version=5.2.20.3040, Culture=neutral, PublicKeyToken=663f351905198cb3' or one of its dependencies. The system cannot find the file specified.
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.FileNotFoundException: Could not load file or assembly 'Spire.Doc, Version=5.2.20.3040, Culture=neutral, PublicKeyToken=663f351905198cb3' or one of its dependencies. The system cannot find the file specified.
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.
Stack Trace:
[FileNotFoundException: Could not load file or assembly 'Spire.Doc, Version=5.2.20.3040, Culture=neutral, PublicKeyToken=663f351905198cb3' or one of its dependencies. The system cannot find the file specified.]
GSEC.LegalMemo.Layouts.GSEC.LegalMemo.GenerateInternalMemo.Page_Load(Object sender, EventArgs e) +2720
System.EventHandler.Invoke(Object sender, EventArgs e) +0
Microsoft.SharePoint.WebControls.UnsecuredLayoutsPageBase.OnLoad(EventArgs e) +295
Microsoft.SharePoint.WebControls.LayoutsPageBase.OnLoad(EventArgs e) +49
System.Web.UI.Control.LoadRecursive() +71
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178
Could you please help .