Unable to convert .DOC to .PDF

We are using Aspose.Word for converting MS Office documents to PDF
We have a document which we are able to convert at our end, but the client is not able to convert at his end.
Here is the exception details for the same.

An exception of type 'System.IO.FileNotFoundException' occurred and was caught.
2009-08-18 11:47:49Z
System.IO.FileNotFoundException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Could not find file 'C:\WINDOWS\Fonts\ANDALE_J.ttf'.
mscorlib
C:\WINDOWS\Fonts\ANDALE_J.ttf
<undefined value>
System.Collections.ListDictionaryInternal
Void WinIOError(Int32, System.String)
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at 㾧.䁘.䁱(String ӷ)
at 㾧.䁘.䂊(String 䂋)
at 㾧.䁘.get_䁚()
at 㾧.䁘.䁴(String Ⱍ)
at 㾧.䁘.㿝(String Ⱍ, FontStyle ग, Boolean 䁰)
at 㾧.䁘.৏(String Ⱍ, FontStyle ग, Boolean 䁰)
at 㻱.㾕..ctor(㽁 context, String familyName, FontStyle requestedStyle)
at 㻱.㿨..ctor(㽁 context, String familyName, FontStyle requestedStyle)
at 㻱.㾕.㾢(㽁 ౝ, String Ⱍ, FontStyle 㾣, Boolean 㾤)
at 㻱.㿖.৏(String Ⱍ, FontStyle ग, Boolean 㾤)
at 㻱.䇫.䇳(㞵 䇕)
at 㻱.䇎.㲞(㞵 䇕)
at 㻱.㼈.VisitGlyphs(㞵 glyphs)
at 㞮.㞵.Accept(㞱 visitor)
at 㞮.㞯.Accept(㞱 visitor)
at 㞮.㠵.Accept(㞱 visitor)
at 㞮.㞯.Accept(㞱 visitor)
at 㞮.㠵.Accept(㞱 visitor)
at 㞮.㞯.Accept(㞱 visitor)
at 㞮.㠵.Accept(㞱 visitor)
at 㞮.㞯.Accept(㞱 visitor)
at 㞮.㠵.Accept(㞱 visitor)
at 㞮.㞯.Accept(㞱 visitor)
at 㞮.㞲.Accept(㞱 visitor)
at Aspose.Words.Document.SaveToPdf(Int32 pageIndex, Int32 pageCount, Stream stream, PdfOptions options)
at Aspose.Words.Document.SaveToPdf(Int32 pageIndex, Int32 pageCount, String fileName, PdfOptions options)
at Aspose.Words.Document.SaveToPdf(String fileName)
at Intralinks.Common.Utilities.CommonUtilities.ConvertOfficeDocsToPDF(String sourceFile, String destinationFolder)

Can you please help us know what does this exception mean and what is the remedy for the same?
Thanks!

Hi

Thanks for your inquiry. The problem might occur because some font on your PC (in your case ANDALE_J.ttf’) was removed improperly. When you installed new fonts on your PC, the file of the font is copied into C\Windows\Fonts folder and new registry entry is added. Upon converting to PDF or XPS Aspose.Words needs to read fonts, so Aspose.Words reads registry entries and then read appropriate font file.
In your case, file of the font does not exist, but registry entry for this font is still there. You should make sure that the font was deleted properly and there is not registry key associated with this font. If the registry key still exists, you can just delete corresponding key from registry manually. You can find these registry entries here:

HKEY_LOCAL_MACHINE * SOFTWARE * Microsoft * Windows NT * CurrentVersion * Fonts

Best regards,

The issues you have found earlier (filed as 9222) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(7)