Saving to UNC path fails

Hey,

when simply loading and saving a html document with Aspose.Html 21.8.0.0, the following exception is thrown:


HResult=0x80131500
Nachricht = Failed to parse URL: fs1/R/temp/msc/SimpleDocument.html
Quelle = Aspose.HTML
Stapelüberwachung:
bei  . [T](String , Object[] )
bei Aspose.Html.Url…ctor(String url, String baseUrl)
bei  .​ ( )
bei  .​ ( )
bei  .​ ( )
bei  .​ ( )
bei  .​ ( )
bei  .​ ( )
bei  .(String , Url , Func2 , List1 )
bei  .(String , Func2 , List1 )
bei  .(Node , String )
bei Aspose.Html.HTMLDocument.Save(Url url, HTMLSaveOptions saveOptions)
bei Aspose.Html.HTMLDocument.Save(String path)
bei BS.Documents.Atlanta.Client.ViewModels.TestViewModel.VB$StateMachine_1_ExecuteAsync.MoveNext()

This is the code I am using:

Dim path As String = “\\fs1\R\temp\msc\SimpleDocument.html”
Dim htmlDocument As New Aspose.Html.HTMLDocument(path)
htmlDocument.Save(path)

The sample file is attached.
SimpleDocument.zip (211 Bytes)

This might be similar to the following thread:

Regards

Mark

@msc.bs

Can you please try to use 22.8 version of the API and let us know in case issue still persists? Also, please make sure that your application or program has write access to the path where you are trying to save the file.

The issue remains with 22.08. I do have write access. A workaround with an IOutputStorage combined with a simple System.IO.FileStream works.

Regards

Mark

@msc.bs

Could you please share a bit about the environment details where you are using the API like OS Name, Application Type, Or any server information?

Loading and saving documents with Aspose.Words, Aspose.Pdf, etc. to the exact same file server works without any issues. Why do you need that information?

As far as I can tell Windows 10 was the Client OS.

@msc.bs

The information was needed to carry out the investigation in the same environment where this issue was occurring. Nevertheless, an investigation task as HTMLNET-4637 has been opened in our issue tracking system to further analyze this case. We will let you know as soon as it is resolved. Please spare us some time.

We are sorry for the inconvenience.