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

Free Support Forum - aspose.com

Root Element is missing in C#

Hi Team,

I’m using Aspose cells Product - License File has been set in AWS S3 repository and im trying to fetch the file to asposeLicense.SetLicense(memory); - through stream object in c#.

Code snippet:

GetObjectResponse response = await client.GetObjectAsync(request);

            MemoryStream memory = new MemoryStream();

            await response.ResponseStream.CopyToAsync(memory);

            Console.WriteLine("Object Response Ends");
            Console.WriteLine("Memory:" + asposeLicense);

When i tried to do the above functionality, I’m getting “Root element is missing in this line - asposeLicense.SetLicense(memory);”

Please help me out asap.,

Thanks in advance.


Thanks for the details.

We need your license file to evaluate your issue. Please provide your license file by attaching it in a private message we will check it soon. In order to send a private message with attachments, please click on my name and find “Message” button, attach the license file (you may zip it prior attaching) and post. . By the way, if your license is valid then your issue might be due to the fact that you are not getting your license file contents into steams fine.