Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Could not load file or assembly itextsharp

Posted on 2015-02-04
3
Medium Priority
?
588 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 37

Accepted Solution

by:
Kimputer earned 2000 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

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

Question has a verified solution.

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

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:…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

782 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