REA_ANDREW
asked on
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.
DEPLOYMENT ERRORS:
Window Server 2003 32 bit machine:
Exception of type 'java.net.ConnectException ' 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 'java.net.ConnectException ' was thrown.]
com.ms.vjsharp.protocol.ht tp.VJSHttp URLConnect ion.__init WebRespons e(Boolean isConnecting) +428
com.ms.vjsharp.protocol.ht tp.VJSHttp URLConnect ion.getInp utStream() +45
java.net.URL.openStream() +28
com.lowagie.text.Image.get Instance(U RL url) +43
com.lowagie.text.Image.get Instance(S tring filename) +13
com.zaffooacutionware.pdf. PdfCreator .GetPdf(In t32 auctionHouseID, Int32 physicalAuctionId) +2565
ZaffoWebApplicationFinal.A uctionHous eSite.PdfB rochure.Pa ge_Load(Ob ject sender, EventArgs e) +93
System.Web.Util.CalliHelpe r.EventArg FunctionCa ller(IntPt r fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEvent HandlerDel egateProxy .Callback( Object sender, EventArgs e) +33
System.Web.UI.Control.OnLo ad(EventAr gs e) +99
System.Web.UI.Control.Load Recursive( ) +47
System.Web.UI.Page.Process RequestMai n(Boolean includeStagesBeforeAsyncPo int, Boolean includeStagesAfterAsyncPoi nt) +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: http://www.ujihara.jp/iTextdotNET/en/
Cheers
Andrew
DEPLOYMENT ERRORS:
Window Server 2003 32 bit machine:
Exception of type 'java.net.ConnectException
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 'java.net.ConnectException
com.ms.vjsharp.protocol.ht
com.ms.vjsharp.protocol.ht
java.net.URL.openStream() +28
com.lowagie.text.Image.get
com.lowagie.text.Image.get
com.zaffooacutionware.pdf.
ZaffoWebApplicationFinal.A
System.Web.Util.CalliHelpe
System.Web.Util.CalliEvent
System.Web.UI.Control.OnLo
System.Web.UI.Control.Load
System.Web.UI.Page.Process
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: http://www.ujihara.jp/iTextdotNET/en/
Cheers
Andrew
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER