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

Free Support Forum - aspose.com

Missing Images from Word Document

I am using builder.InsertHtml() to write html to a word doc.

The html has some image link to an intranet server.

The image wills show up in html page, but when write html to word document, the images are missing from word document.

The image link from WWW is working, I have set everyone Read and Execute permission on image directory in Local IIS.

Attach is html and word document.

Thank You

Hi Keith,


Thanks for your inquiry. I think, by using the following configuration settings in your application will solve your problem. Hope this helps you. Please let us know if you have any more queries.

<configuration>

<system.net>

<settings>

<httpWebRequest useUnsafeHeaderParsing=“true” />

</settings>

</system.net>

</configuration>


<span style=“font-size: 10pt; font-family: “Courier New”;”> HttpWebRequestElement webRequestSettings = new HttpWebRequestElement();
webRequestSettings.UseUnsafeHeaderParsing =
true;