Exception: URI formats are not supported - Converting HTML to RTF

Using latest v10.6, was working in v9.x (January 2011) - just upgraded.
Converting HTML to RTF and getting an exception on the line in red:

DocumentBuilder builder = new DocumentBuilder();
builder.InsertHtml(html);
string sTempFilename = AdeptUtilities.FileUtil.GetTempFilename("rtf", AO.Image_Folder_ThisUser, "rtf");
RtfSaveOptions oRTFSaveOptions = new RtfSaveOptions();
oRTFSaveOptions.ExportImagesForOldReaders = true;
builder.Document.Save(sTempFilename, oRTFSaveOptions);

HTML:

<div><p style="margin: 0pt;"><span style="font-family: &quot;Times New Roman&quot;; font-size: 12pt;">asdjfkjsldkjfklsjdlkfjlaksjdflkjoiwreuioruiower </span><img alt="" src="http://localhost/AdeptExplorer8.4.2/tmp/23be9c4a-840e-4d67-bae1-a1f006a208a5/Aspose.Words.b9f8c915-e5ff-4256-ab87-37ca349dc033.001.jpeg" width="16" height="16"></p><p style="margin: 0pt;"><br style="clear: both; page-break-before: always;"></p><p style="margin: 0pt 0pt 14pt;"><span style="font-family: &quot;Times New Roman&quot;; font-size: 12pt;">&nbsp;</span><img alt="" src="http://localhost/AdeptExplorer8.4.2/tmp/23be9c4a-840e-4d67-bae1-a1f006a208a5/Aspose.Words.b9f8c915-e5ff-4256-ab87-37ca349dc033.002.png" width="225" height="72"></p><p style="margin: 0pt 0pt 14pt;"><span style="font-family: &quot;Times New Roman&quot;; font-size: 12pt;">&nbsp;</span></p><p style="margin: 0pt 0pt 14pt;"><span style="font-family: &quot;Times New Roman&quot;; font-size: 12pt;">&nbsp;</span></p><p style="margin: 0pt 0pt 14pt;"><span style="font-family: &quot;Times New Roman&quot;; font-size: 12pt;">&nbsp;</span></p></div></div>

Hi
Thanks for your request. But I cannot reproduce the problem on my side. I used the latest version of Aspose.Words for testing. You can download the latest version from here:
https://releases.aspose.com/words/net
I used the following code for testing:

string html = File.ReadAllText(@"Test001\test.html");
DocumentBuilder builder = new DocumentBuilder();
builder.InsertHtml(html);
RtfSaveOptions opt = new RtfSaveOptions();
opt.ExportImagesForOldReaders = true;
builder.Document.Save(@"Test001\out.rtf", opt);

Best regards,

Hi,
What does the error mean? How and why does it happen?
Thank you,
Tim

Hi Tim,
Thanks for your request. Have you checked the path where the document should be saved. Maybe the problem occurs on your side because path is in incorrect format.
Also it would be great if you attach a simple application that will allow us to replicate the issue on our side.
Best regards,