473,397 Members | 1,972 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

iTextSharp Problem

Has anyone else experienced this problem?

I am using iTextSharp to generate PDF documents from XML files. Here is
the problem.

When I run the app on my development machine, everything works as it should.
When I run the app on test machines, the PDF document does not get generated
correctly.

The actual file that is output shows a size of 0 bytes and if I try to open
it using Acrobat Reader, I get an error stating that the file is either
corrupt or not a valid format.

Any ideas?
Nov 16 '05 #1
1 2626
If the file contained data, i could help you debugging it.
However, if the file is empty, which can be verified by opening the file in
a text editor, the error is likely to be at code level.
--
Regards,
Dennis JD Myrén
Oslo Kodebureau
"Gerry" <gk******@hotmail.com> wrote in message
news:%2***************@TK2MSFTNGP09.phx.gbl...
Has anyone else experienced this problem?

I am using iTextSharp to generate PDF documents from XML files. Here is
the problem.

When I run the app on my development machine, everything works as it should. When I run the app on test machines, the PDF document does not get generated correctly.

The actual file that is output shows a size of 0 bytes and if I try to open it using Acrobat Reader, I get an error stating that the file is either
corrupt or not a valid format.

Any ideas?

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Josh | last post by:
When I add an image into the pdf it gets bigger. How can I stop this? All ideas welcome, thanks
1
by: narasimha.gm | last post by:
Hello All, We are developing an application in C# which has to generate a report in PDF format. ITextSharp meets our requirments and we are intending to use it in our project. Has any one...
1
by: Ravi | last post by:
Hi, i need to use iTextSharp to generate the PDF in c# web application. if any one know it will be of greate help. Thanks -- ravib
0
by: Nique | last post by:
Hey all I'm trying to create a PDF document using iTextSharp. Now creating the thing is all kewl, open in browser, save to disk, all that is fine, but I'd like to know if anybody has managed to...
1
by: Patrick Olurotimi Ige | last post by:
Has anybody used the itextsharp http://itextsharp.sourceforge.net to convert asp.net pages to PDF files? Any asp.net examples? *** Sent via Developersdex http://www.developersdex.com ***...
2
by: dgk | last post by:
I'm looking at iText to generate PDFs, and I'm not sure if iTextDotNet is the same as iTextSharp. I have the latest iTextDotNet, which is for framework 2. Are these the same product? Also, I can...
0
by: antonyliu2002 | last post by:
I have no problem writing PDF file to hard drive on the fly with iTextSharp, but have had no luck in sending PDF as a stream in my asp.net web application. I am simply copying the example at ...
0
by: romcab | last post by:
Hi guys, I try creating a simple application that creates/convert pdf file. I used iTextSharp.text.pdf but I got an error "namespace could not be found, missing directive or assembly". I try...
0
by: ankitnagpal1692 | last post by:
When password in Arabic language is set in pdf using itextsharp, it does not open in Adobe Acrobat Reader using the same password in Arabic. While it is working fine for English language. When I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.