Saving to UNC path fails


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

Nachricht = Failed to parse URL: fs1/R/temp/msc/SimpleDocument.html
Quelle = Aspose.HTML
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)

The sample file is attached. (211 Bytes)

This might be similar to the following thread:



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.



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.

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.