iText Pdf Behaviour

Itext is a free java pdf creation library, it has been ported to .NET.  I have been developing with it on my local machine which is running windows vista.


Window Server 2003 32 bit machine:
Exception of type '' was thrown.

Windows Server 2003 64 bit machine
Could not load file or assembly 'Apache.Crimson' or one of its dependencies. An attempt was made to load a program with an incorrect format.

Now  I believe that the second error is becuase this component was not designed to run in a 64 bit environment.

THE FIRST ISSUE I would like to resolve as I believe it to be a firewall or web service permissions issue.  Basically the stack trace is as so:

[ConnectException: Exception of type '' was thrown.] isConnecting) +428 +45 +28
   com.lowagie.text.Image.getInstance(URL url) +43
   com.lowagie.text.Image.getInstance(String filename) +13
   com.zaffooacutionware.pdf.PdfCreator.GetPdf(Int32 auctionHouseID, Int32 physicalAuctionId) +2565
   ZaffoWebApplicationFinal.AuctionHouseSite.PdfBrochure.Page_Load(Object sender, EventArgs e) +93
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436

The library gets a stream when importing images and i believe that to be the issue but again i could be wrong.  It works fine on my local machine.  

Source Website:


LVL 20
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

Éric MoreauConnect With a Mentor Senior .Net ConsultantCommented:
REA_ANDREWAuthor Commented:
All Courses

From novice to tech pro — start learning today.