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

Free Support Forum - aspose.com

Evaluation Only. Created with Aspose.Cells for Java. Copyright 2003 - 2018 Aspose Pty Ltd

Hi,

I’m getting - Evaluation Only. Created with Aspose.Cells for Java. Copyright 2003 - 2018 Aspose Pty Ltd while converting from Excel to PDF.

Also In Excel - I’m getting as Evaluation Only. Created with Aspose.Cells for .NET.Copyright 2003 - 2020 Aspose Pty Ltd.

Code Snippet:

private Workbook CreateNewSpreadSheet()
{
var weeklyFlashReport = new Workbook();
var asposeLicense = new License();
ReadObjectDataAsync().GetAwaiter();
return weeklyFlashReport;
}

static async Task ReadObjectDataAsync()
{
Stream responseStream = null;
client = new AmazonS3Client(bucketRegion);
try
{
var asposeLicense = new License();
var request = new Amazon.S3.Model.GetObjectRequest
{
BucketName = bucketName,
Key = keyName
};
Console.WriteLine(“Object Response Starts”);
GetObjectResponse response = await client.GetObjectAsync(request);
Console.WriteLine(“Object Response Ends”);
MemoryStream memory = new MemoryStream();

            using (responseStream = response.ResponseStream)
            {
                responseStream.CopyTo(memory);
            }

            StreamReader reader = new StreamReader(responseStream);

            string content = reader.ReadToEnd();

            Console.WriteLine("Stream Response Starts");               
            Console.WriteLine("Stream Response Ends");
            asposeLicense.SetLicense(content);
            Console.WriteLine("Response Ends");
        }
        catch (AmazonS3Exception e)
        {
            Console.WriteLine("Error encountered ***. Message:'{0}' when writing an object", e.Message);
        }
        catch (Exception e)
        {
            Console.WriteLine("Unknown encountered on server. Message:'{0}' when writing an object", e.Message);
        }
    }

This Topic is created by Amjad_Sahi using Email to Topic tool.

@aravin,

Thanks for the code segment and details.

It looks like an issue in your code. Please make sure that the line “asposeLicense.SetLicense(content);” should be processed well before workbook’s init process ("var weeklyFlashReport = new Workbook();"). So, you need to modify your code accordingly a bit. Please note, the licensing code (initialize License object and then setting license via SetLicense() method should be processed before using any other APIs of Aspose.Cells.

Also as you said:

"Evaluation Only. Created with Aspose.Cells for Java. Copyright 2003 - 2018 Aspose Pty Ltd while converting from Excel to PDF.

Also In Excel - I’m getting as Evaluation Only. Created with Aspose.Cells for .NET.Copyright 2003 - 2020 Aspose Pty Ltd."

it seems that you both Aspose.Cells for Java and Aspose.Cells for .NET with different versions.

In case, you still find the issue after following above instructions, please create a runnable project to reproduce the issue. Please do not include your license in the project.