Solved

Could not load file or assembly itextsharp

Posted on 2015-02-04
3
320 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

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.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

743 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

17 Experts available now in Live!

Get 1:1 Help Now