A few days ago the customer said that the OA system could not preview a document in a doc format, and that the log was in Word converted to the PDF times "due to an unexpected error, export failed" error. I had this problem before, because word itself could not be saved as a PDF, and there would be an error "export failed due to an unexpected error," which later called the client to create a pdf/xps document with the "Export" method
When you save a Word document as a PDF document, you can preview it by uploading it.
650) this.width=650; "Src=" http://fud.community.services.support.microsoft.com/Fud/FileDownloadHandler.ashx?fid= 21f7b528-5a4d-4da9-a48d-96c593d4272b "alt=" Picture "/>
But this document can be saved as a PDF document, which is another cause of the error. Baidu has a pass, some people say because "Word has chosen the system default font, and this font in the process of conversion into PDF can not be recognized." , so I tried to convert all the fonts into Arial and preview them. It can be concluded that the client did not install the corresponding font, which caused the server-side conversion is unsuccessful, and then downloaded from the Internet corresponding fonts, you can preview the.
Use C # to convert Word to PDF error "Export failed due to unexpected error" solution