Invalid XRef Stream Filter

Invalid XRef Stream Filter

Forum member · Apr 17, 2007
Hello, I get the following exception everytime I try to instantiate a PdfDocument object. Exception Details: ceTe.DynamicPDF.Merger.MergerException: Invalid XRef Stream Filter Specified. The line of code is as follows where 'contents.Content' is the path to the PDF. PdfDocument pdfDocument = new PdfDocument( HttpContext.Current.Server.MapPath(contents.Content)); Thanks! -Trevor

Re: Invalid XRef Stream Filter

Support · Apr 17, 2007
Hello Trevor, The likely reason you are getting the error is because the PDF document that you are using may be corrupt. Can you please send over the PDF document to our [^a|mailto:support@cete.com|Support Team^] and they can take a look at what is causing this error to be raised? Thanks, ceTe Software Support Team

Re: Invalid XRef Stream Filter

Forum member · Apr 17, 2007
Thank you for the help. It was a corrupt PDF file. The file must have been corrupted by Visual Source Safe. Thanks, -Trevor