Apply Temporary Trial w Full Features Dynamics 365


#1

We are in the process of testing Aspose.Total for .NET in our Dynamics 365 implementation. I received the e-mail with the Full Feature approval, but am still receiving the following error: “At most 4 elements (for any collection) can be viewed in evaluation mode”

The Aspose Customer Service Chat asked me to make this post for instructions on how to apply the Full License features. Your help is appreciated.


#2

@RJEllisPorter,

I have observed your comments. Please note when using more than one Aspose APIs in code, you have to implement license for each API separately . So please double check whether you have initialized license for products you are using.

However if the issue still persist then please share your sample code and source documents along with license file via email as suggested here. So we will look into the issue and guide you accordingly.


#3

Hello Ahmad,

We recently purchased the Aspose.Total for .NET Developer Small Business full license. Can you provide instructions on how to do the upgrade for our Microsoft Dynamics / Azure environment?


#4

@RJEllisPorter

You can use Aspose APIs in their full capacity by calling SetLicense method for each API you are working with. For detailed information, Documentation section explains Licensing individually for each API.

In case you face any problem setting the license then please share a narrowed down sample application with us so that we may investigate further to help you out.


#5

Hello Farhan,

We are using our Aspose product in a Microsoft solution that includes uses compiled code, so we are not able to make any code edits. We have gone through the exercise of redeploying the apps with the new license and even tried removing the license file from the azure site altogether and restarting the service and we still have limited functionality.

Microsoft’s reply was: “Regarding Aspose, Could you check with the ASPOSE team to see if the license that you bought is perpetual. If it is perpetual then it should work without any issues after redeployment. Please let us know what you hear from ASPOSE Team, we will also investigate based on their response.”

I believe the license we purchased has the perpetual features. Correct? Can you please let us know your comments on the above?

Thank you for the support!


#6

@RJEllisPorter,

Yes, it is a perpetual license.

Are you seeing some exception messages? What are they? In case of Aspose.Words, you can verify if the license is properly set by using the following code:

Aspose.Words.License lic = new Aspose.Words.License();
lic.SetLicense(MyDir + @"Aspose.Total.lic");

if (lic.IsLicensed)
{
    // to do
}

There are different ways that you can use to apply License. For example, have you tried including the License file as an Embedded Resource? Please refer to the following article for more details:
https://docs.aspose.com/display/wordsnet/Licensing


#7

Thank you for the prompt support Awais. Please see below replies to your questions.

Are you seeing some exception messages? What are they? Yes, “At most 4 elements (for any collection) can be viewed in evaluation mode.”

In case of Aspose.Words, you can verify if the license is properly set by using the following code: No, we don’t have the ability to change the code in this use case. We are using our Aspose product in a Microsoft solution that includes uses compiled code, so we are not able to make any code edits. If setLicense cannot find a valid ‘paid’ license, does it throw an error or just apply the watermark and treat the failure as if it found a trial license?

For example, have you tried including the License file as an Embedded Resource? We don’t know if it’s set up in this way and do not have the ability to make this change. We have gone through the exercise of redeploying the apps with the new license and even tried removing the license file from the azure site altogether and restarting the service and we still have limited functionality.

We only have the ability to swap out the files in the solution—it is already compiled so we don’t have the ability to rework the solution or recompile the code to include the license as an embedded resource. We were instructed to add our own license to the solution. Initially we added a trial license, then we re-deployed with a full license. Even when we remove the license from the solution altogether, we still get the trial watermark.


#8

@RJEllisPorter,

Yes Aspose.Words’ SetLicense method for example will throw a System.IO.FileNotFoundException if it is unable to locate the file. If the file path is valid and there may be some problem with license itself, even then it will throw some meaningful exception. Please post your license file via private message for testing. In order to send a private message with attachments, please click on my name and find “Message” button. (see steps ). We will test your new license on our end and provide you more information. Please do not share your license file publicly in forum threads.

Previously, was your trial license working correctly?