I am making a webpage with c# code running in the back. I am using the itextsharp library to search through PDF files. I am able to compile and deploy the code because I did add the .dll reference and added the required using statements to import the .dll. But in run-time i get this error message:
Error Message: Could not load file or assembly 'itextsharp, Version=5.3.2.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca' or one of its dependencies. The system cannot find the file specified. Stacktrace: at PDF_Document_Gallery.VisualWebPart1.PDF_Document_Gallery.ReadPdfFile(String fileName) at PDF_Document_Gallery.VisualWebPart1.PDF_Document_Gallery.keyword_and_content_search(String result)
Does anyone know whats wrong here? Thanks