Results 1 to 7 of 7

Thread: itextsharp help required!

Hybrid View

  1. #1
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: itextsharp help required!

    I'm guessing it's something to do with this

    filename As String

    If the filename consists of the path here, and the path is the windows documents and folders path, then look at the usernames involved. Any unusual characters that don't belong in a name such as an apostrophe? Or any other strange characters?

  2. #2

    Thread Starter
    Member
    Join Date
    Jun 2007
    Posts
    44

    Re: itextsharp help required!

    Static path, same for all users. Doesn't work on TWO computers.

    Plus, I changed the ctor used and compiled the blank PDF into my app instead of locating it on the file system. Still same error, slightly different stack trace:

    Code:
    Exception Source:      itextsharp
    
    Exception Type:        System.IO.IOException
    
    Exception Message:     Rebuild failed: Input string was not in a correct format.; Original message: Input string was not in a correct format.
    
    Exception Target Site: ReadPdf
    
     
    
    ---- Stack Trace ----
    
       iTextSharp.text.pdf.PdfReader.ReadPdf()
    
           xClaim.exe: N 00190
    
       iTextSharp.text.pdf.PdfReader..ctor(pdfIn As Byte[], ownerPassword As Byte[])
    
           xClaim.exe: N 00253
    
       iTextSharp.text.pdf.PdfReader..ctor(pdfIn As Byte[])
    
           xClaim.exe: N 00007

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width