We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.Words for NET - saving to pdf

Received : 2007/10/23 20:34:22
Message : I have downloaded Aspose.Words for .NET and tried under Visual Studio 2005. The only problem found during my evaluation is that saving to AsposePDF seems not working. The saved result regardless of OpenInBrowser or OpenInWord is always an XML. Do I have to download and install your Aspose.Pdf to make it work?

To test, I downloaded your Aspose.pdf and Aspose.pdfkit, and both failed when trying to install on my Vista Enterprise notebook. The message is: “The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2869.”

Please advise how I should proceed continuing my evaluation to your product.


Wei Han

This message was posted using Aspose.Live 2 Forum

Thank you for your interest in Aspose products.
To perform conversion from DOC to PDF you need to use both Aspose.Words and Aspose.Pdf. It is done in the following steps. First you are saving the document using Aspose.Words in the intermediate XML format, so named Aspose.Pdf XML. Then you are opening it with Aspose.Pdf and it is building the real PDF. At last you are saving it to a file.
Please refer to our documentation containing a conversion sample:
You can also slightly optimize this procedure using a MemoryStream object instead of a disk file to keep intermediate XML. Anyway image files will be created temporarily if you have some in the source. Converting many documents in one program run/session it’s also better to enable font caching in Aspose.Pdf. See sample applications bundled with Aspose.Words.
Since you are experiencing issues with installing Aspose.Pdf family products in you environment I’ll ask Aspose.Pdf team to help you. I cannot remember briefly any problems installing them on Vista.
As a fast workaround you can try the libraries from the attached archive. Also Aspose.Pdf.dll is contained in Aspose.Words distribution.


Please download the latest versions to resolve your problem.

Aspose.Pdf :

Best regards.