Until this week, I was doing the following without problems in Powershell:

[System.Reflection.Assembly]::LoadFrom("full-path-to-itextsharp.dll")

Now when I do it, I get:

Exception calling "LoadFrom" with "1" argument(s): "Could not load file or 
assembly
'file:///C:\itextsharp_5_3_5\itextsharp-dll-core\itextsharp.dll' or one of its 
dependencies. Operation is not
supported. (Exception from HRESULT: 0x80131515)"
At line:1 char:1
+ 
[System.Reflection.Assembly]::LoadFrom("C:\itextsharp_5_3_5\itextsharp-dll-core\
 ...
+ 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : FileLoadException

I have not changed anything (though perhaps some Windows update has changed 
something in .net??).  Windows 7 64-bit.

Very frustrating!!  Tried downloading the latest version of itextsharp.dll, 
same error.

jj

John Thayer Jensen,
System Administrator, Digital Services,
The University of Auckland Business School

Room 260-4136, 12 Grafton Road

DDI: +64 9 923-7543
Mobile (work): +64 21 83-3586
quickdial: 60001 
FAX: +64 9 373-7696



------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to