G
Guest
hi,
i'm trying to use iTextDotNet library to generate files .pdf on the fly from
my webform;
for example i got the following code in my page_load :
Dim ms As New MemoryStream
Dim document As New document
Dim writer As PdfWriter = PdfWriter.getInstance(document, ms)
document.open()
document.add(New Paragraph("Hello World"))
document.close()
Response.ClearContent()
Response.ContentType = "application/pdf" Response.BinaryWrite(ms.GetBuffer)
Response.End()
that code work fine on localhost and on the hostbasket server, but don't
work at all on another hosting server;
the code require references at
itextdotnet.dll
Gnu.Classpath.Core.dll
Gnu.Classpath.JAXP.dll
vjslib.dll
vjscor.dll
vjsnativ.dll
(because itextdotnet is made in j#);
i xcopy these dlls in the bin folder of my webapp.
but i got a java.lang.UnsatisfiedLinkError in the PdfWriter GetInstance
is there someone who want give me an hint?
thanks in advance
nico
i'm trying to use iTextDotNet library to generate files .pdf on the fly from
my webform;
for example i got the following code in my page_load :
Dim ms As New MemoryStream
Dim document As New document
Dim writer As PdfWriter = PdfWriter.getInstance(document, ms)
document.open()
document.add(New Paragraph("Hello World"))
document.close()
Response.ClearContent()
Response.ContentType = "application/pdf" Response.BinaryWrite(ms.GetBuffer)
Response.End()
that code work fine on localhost and on the hostbasket server, but don't
work at all on another hosting server;
the code require references at
itextdotnet.dll
Gnu.Classpath.Core.dll
Gnu.Classpath.JAXP.dll
vjslib.dll
vjscor.dll
vjsnativ.dll
(because itextdotnet is made in j#);
i xcopy these dlls in the bin folder of my webapp.
but i got a java.lang.UnsatisfiedLinkError in the PdfWriter GetInstance
is there someone who want give me an hint?
thanks in advance
nico