PdfReaderException(PSSR.CannotHandleXRefStreams)

Nov 8, 2012 at 5:51 PM

I am getting a CannotHandleXRefStreams exception when opening a pdf file.  The PDF file is one that I created using acrobat and has text fields which I want to programatically fill in.

 

Stream str = App.GetResourceStream(new Uri("WM-UCR.Silverlight;component/Templates/VendorRequest.pdf"UriKind.Relative)).Stream;
 
            PdfDocument myDoc = PdfReader.Open(str);