Question : IText "Could not load file..." error Question

Here is the exact error - i use iText wonderfull when it is Debugging on my own PC - but when i "Publish" and try to use on my PC or others' in the office it gives me the following error.  The process is creating a PDF file via iText and emailing out - seems to get stuck on the PDF creation portion.

"System.IO.FileNotFoundException: Could not load file or assembly 'iText, Version=1.4.6.2, Culture=neutral, PublicKeyToken=bd3736a929f259c3' or one of its dependencies. The system cannot find the file specified.
File name: 'iText, Version=1.4.6.2, Culture=neutral, PublicKeyToken=bd3736a929f259c3'"

Any help is much appreciate!

Answer : IText "Could not load file..." error Question

The iText assembly must be installed on every PC you use.  If you are using it successfully in the debugger but not elsewhere, I would suggest installing it to the Global Assembly Cache.  Failing that, the assembly would need to be in the same directory as your application binaries on each machine.
Random Solutions  
 
programming4us programming4us