Saving Docx File As PDF In Office 2007 Causing Error When Trying To Save To Database RRS feed

  • Question

  • I am working on a C# Windows Forms application that is using a WFC Data Service to handle the saving and retrieveing of data.  There is a Document table which has the Document ID and a Document Data column which is a varbinary(max).  I am trying to save a PDF into this table.  I can successfully get the byte array, but as soon as the save fires I get the following error: Data at the root level is invalid. Line 1, position 1.  I have been able to save other pdf and docx files successfully but ones I've actually published from Office 2007 seem to always be breaking.  Any help would be appreciated.  Thanks.
    Wednesday, August 18, 2010 5:22 PM

All replies