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

Free Support Forum - aspose.com

ConvertHTMLToImage Failed

I can’t run aspose.com downloaded from GitHub correctly on unity HTML for . Net example Error message:NotSupportedException: No data is available for encoding 10007. For information on defining a custom encoding, see the documentation for the Encoding.RegisterProvider method.
System.Text.Encoding.GetEncoding (System.Int32 codepage) (at :0)
System.Text.Encoding.GetEncoding (System.String name) (at :0)
. (System.String ) (at <4892f22841b74d85f93c7e849765b363>:0)
. () (at <4892f22841b74d85f93c7e849765b363>:0)
. () (at <4892f22841b74d85f93c7e849765b363>:0)
. (System.String , System.Text.Encoding ) (at <4892f22841b74d85f93c7e849765b363>:0)
. (System.String ) (at <4892f22841b74d85f93c7e849765b363>:0)
. (System.String ) (at <4892f22841b74d85f93c7e849765b363>:0)
. (System.String ) (at <4892f22841b74d85f93c7e849765b363>:0)
…ctor ( ) (at <4892f22841b74d85f93c7e849765b363>:0)
Aspose.Html.Configuration.InitializeServices () (at <4892f22841b74d85f93c7e849765b363>:0)
Aspose.Html.Configuration…ctor () (at <4892f22841b74d85f93c7e849765b363>:0)
Aspose.Html.HTMLDocument…ctor (Aspose.Html.Url url) (at <4892f22841b74d85f93c7e849765b363>:0)
Aspose.Html.HTMLDocument…ctor (System.String address) (at <4892f22841b74d85f93c7e849765b363>:0)
Aspose.Html.Examples.CSharp.ConvertingBetweenFormats.ConvertHTMLToImage.ConvertHTMLToJPG () (at Assets/Aspose.HTML-for-.NET-master/Examples/CSharp/ConvertingBetweenFormats/ConvertHTMLToImage.cs:27)
Aspose.Html.Examples.CSharp.RunExamples.Start () (at Assets/Aspose.HTML-for-.NET-master/Examples/CSharp/RunExamples.cs:69)

How can i fixed it?

A post was split to a new topic: message:NotSupportedException


Could you please share some more detail about your query along with all steps that you are following to reproduce the same issue at our end?

Please also share your working environment e.g. operating system, .NET version etc.