Solved

Could not load file or assembly itextsharp

Posted on 2015-02-04
3
468 Views
Last Modified: 2015-02-10
Hi Experts, need your urgent help..
In my C# solution I am using a project named ConcatenateDocuments, It uses the PDFsharp.PDF.IO.PdfReader in order to read PDF files and merge them into one PDF file. Now Im having compatabilty problems with pdf files that wont open so Im trying to use the itextsharp.
I have trouble invoking the assembly,keep getting this error:
Could not load file or assembly 'itextsharp, Version=5.1.1.0, Culture=neutral,
PublicKeyToken=8354ae6d2174ddca' or one of its dependencies.
The located assembly's manifest definition does not match the assembly reference.
(Exception from HRESULT: 0x80131040)
0
Comment
Question by:Hagita
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 36

Accepted Solution

by:
Kimputer earned 500 total points
ID: 40590887
Please scan you whole PC for those itextsharp dll files and report back (files, locations, file version)
0
 

Assisted Solution

by:Hagita
Hagita earned 0 total points
ID: 40591195
It turned out that the config file had provided an assembly binding that needed to be deleted. so that plus deletion of all dll files had finally solved the problem
0
 

Author Closing Comment

by:Hagita
ID: 40600340
It turned out that the config file had provided an assembly binding that needed to be deleted. so that plus deletion of all dll files had finally solved the problem
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question