Solved

Could not load file or assembly itextsharp

Posted on 2015-02-04
3
333 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
  • 2
3 Comments
 
LVL 35

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now