the repository goes from 4.1.6 -> 4.1.2 , did you mean 4.1.2? Jason
Paulo Soares-3 wrote: > > There are no other known problems in that area and even that particular > problem would freeze the app, not missing values. Can you try version > 4.1.5? > > Paulo > > ----- Original Message ----- > From: "Jty" <jason_ty...@hotmail.com> > To: <itext-questions@lists.sourceforge.net> > Sent: Tuesday, November 17, 2009 5:38 PM > Subject: Re: [iText-questions] Could not find XObject named '%s'. Browser > locks up. > > > > i compiled the new OrderedTree.cs in my solution. i'm sorry to say this > did > not resolve my issue. > > Paulo, do you plan any mulit-threading augmentations/fixes in very near > future? > > thanks, > Jason > > > Jty wrote: >> >> Paulo, >> >> that would be fine. i'll provide you with feedback on your changes too. >> >> you can send me the file(s) with the changes to ja...@seasweb.net >> >> thanks, >> Jason >> >> >> Paulo Soares-3 wrote: >>> >>> You'll have to try the fix yourself in your environment, you can get the >>> code and compile it yourself from the SVN. Release dates is with Bruno. >>> >>> Paulo >>> >>> ----- Original Message ----- >>> From: "Jty" <jason_ty...@hotmail.com> >>> To: <itext-questions@lists.sourceforge.net> >>> Sent: Sunday, November 15, 2009 2:18 AM >>> Subject: Re: [iText-questions] Could not find XObject named '%s'. >>> Browser >>> locks up. >>> >>> >>> >>> one more thing i want to add - the same outputted PDFs for printing that >>> are >>> problematic when served up to the browser open just fine when opened >>> directly by Reader or Acrobat. >>> >>> Paulo, >>> >>> what is the likelihood my problem is the issue you just fixed, and if so >>> when do you expect it's release to be available? >>> >>> thanks, >>> >>> Jason >>> >>> >>> Paulo Soares-3 wrote: >>>> >>>> It's funny that I've just commited a change in the SVN to fix a >>>> multi-threading issue. >>>> >>>> Paulo >>>> >>>> ----- Original Message ----- >>>> From: "Jty" <jason_ty...@hotmail.com> >>>> To: <itext-questions@lists.sourceforge.net> >>>> Sent: Friday, November 13, 2009 10:53 PM >>>> Subject: [iText-questions] Could not find XObject named '%s'. Browser >>>> locks >>>> up. >>>> >>>> >>>> >>>> i have a webapp that teachers use to fill out forms for special >>>> education. >>>> >>>> i just started using iTextSharp (latest v.) to take a data entry PDF >>>> and >>>> it's data via FDF, and render it into a completely new PDF containing >>>> just >>>> the original PDFs image. i do this to ensure i get the smallest file >>>> size >>>> possible when printing. >>>> >>>> i have an intermittent error that appears when the new printed PDF is >>>> served >>>> up to the browser. i get: >>>> "There was an error processing a page. Could not find XObject named >>>> '%s'." >>>> this ultimately locks up my browser. >>>> >>>> strangely enough, all signs point to this being a usage/load issue as >>>> it >>>> only happens to the PDFs that alot of users are interfacing with >>>> simultaneously. >>>> >>>> i'm not sure if its my code (see below) or the forms themselves (see >>>> attached). i find it interesting that i can not produce the error late >>>> at >>>> night when the server usage is down. also on a separate test server, >>>> using >>>> the same code, same PDFs, and zero usage everything works great! >>>> >>>> i appreciate any advice/insight anyone can provide. >>>> >>>> Jason >>>> >>>> Code: >>>> >>>> Private Sub OutputForm() >>>> Dim iTextReader As PdfReader >>>> Dim iTextStamper As PdfStamper >>>> Dim iTextWriter As PdfWriter >>>> Dim iTextDoc As Document >>>> Dim iTextImage As Image >>>> Dim iTextPage As PdfImportedPage >>>> Dim iTextFDF As FdfReader >>>> Dim memStm As New MemoryStream >>>> Dim iPage As Integer >>>> Dim sValue As String >>>> Dim htFields As New Hashtable >>>> Dim enField As IDictionaryEnumerator >>>> >>>> Try >>>> Dim sPDF As String = "C:\Form1.pdf" >>>> >>>> 'Read PDF & FDF into memory >>>> iTextReader = New PdfReader(sPDF) >>>> iTextFDF = New FdfReader(sPDF.Replace(".pdf", ".fdf")) >>>> iTextStamper = New PdfStamper(iTextReader, memStm) >>>> iTextReader.Close() >>>> >>>> 'Field Code >>>> htFields = iTextFDF.Fields >>>> enField = htFields.GetEnumerator >>>> While enField.MoveNext >>>> sValue = iTextFDF.GetFieldValue(enField.Key.ToString) >>>> If sValue.Length > 0 Then >>>> >>>> iTextStamper.AcroFields.SetField(enField.Key.ToString, >>>> sValue) >>>> End If >>>> End While >>>> iTextStamper.FormFlattening = True >>>> iTextStamper.Close() >>>> >>>> 'Create/Open Writer >>>> http://old.nabble.com/file/p26344825/Form1.pdf Form1.pdf >>>> http://old.nabble.com/file/p26344825/Form1.fdf Form1.fdf >>>> iTextReader = New PdfReader(memStm.ToArray) >>>> iTextDoc = New >>>> Document(IIf(iTextReader.GetPageSize(1).Height >>>> < >>>> iTextReader.GetPageSize(1).Width, iTextReader.GetPageSize(1).Rotate, >>>> iTextReader.GetPageSize(1)), 0, 0, 0, 0) >>>> iTextWriter = PdfWriter.GetInstance(iTextDoc, New >>>> FileStream("c:\Output.pdf", FileMode.Create)) >>>> iTextWriter.SetFullCompression() >>>> iTextDoc.Open() >>>> >>>> 'Copy each page from Reader to Writer as image >>>> For iPage = 1 To iTextReader.NumberOfPages >>>> iTextPage = iTextWriter.GetImportedPage(iTextReader, >>>> iPage) >>>> iTextImage = Image.GetInstance(iTextPage) >>>> If iTextReader.GetPageSize(iPage).Height < >>>> iTextReader.GetPageSize(iPage).Width Then >>>> iTextImage.RotationDegrees = 90 >>>> End If >>>> iTextDoc.Add(iTextImage) >>>> Next >>>> iTextDoc.Close() >>>> >>>> Catch ex As Exception >>>> System.Diagnostics.EventLog.WriteEntry("iText", ex.Source & >>>> " >>>> " >>>> & ex.Message & " " & ex.StackTrace) >>>> Finally >>>> iTextReader = Nothing >>>> iTextStamper = Nothing >>>> iTextWriter = Nothing >>>> iTextDoc = Nothing >>>> iTextImage = Nothing >>>> iTextPage = Nothing >>>> iTextFDF = Nothing >>>> memStm.Flush() >>>> memStm = Nothing >>>> htFields = Nothing >>>> End Try >>>> End Sub > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions > > Buy the iText book: http://www.1t3xt.com/docs/book.php > Check the site with examples before you ask questions: > http://www.1t3xt.info/examples/ > You can also search the keywords list: > http://1t3xt.info/tutorials/keywords/ > > -- View this message in context: http://old.nabble.com/Could-not-find-XObject-named-%27-s%27.-Browser-locks-up.-tp26344825p26395639.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/