We have valid subscription on purchase.aspose.com but coudn't find the license key

Hello, We still have valid subscription expiring on 31st Oct 2024 on purchase.aspose.com but coudn’t find the license key. Getting below error while using the product:

System.TypeInitializationException : The type initializer for ‘WNSA.Portal.Services.Documents.Merging.MergeService’ threw an exception.
---- System.ApplicationException : Error assigning Aspose Words license.
-------- System.InvalidOperationException : The subscription included in this license allows free upgrades until 19 Nov 2023, but this version of the product was released on 01 Oct 2024. Please renew the subscription or use a previous version of the product.

@iDOsms405

It seems you are experiencing issues with your Aspose.Words license, specifically regarding the expiration of your subscription and the error message indicating that your current license does not allow the use of the latest version of the product.

To resolve this issue, you can follow these steps:

  1. Locate Your License Key: If you have a valid subscription, your license key should be available in your account on the Aspose purchase portal. Log in to your account and check the “Licenses” section to find your license key.

  2. Check License Expiration: Open your license file in a text editor to verify the expiration date. Look for a tag that indicates the expiration date, which will help you confirm whether your license is still valid for the version you are trying to use.

  3. Apply the License: Ensure that you are applying the license correctly in your code. The license must be set before using any Aspose.Words classes. Here’s a sample code snippet to apply the license:

    Aspose.Words.License license = new Aspose.Words.License();
    try
    {
        license.SetLicense("path/to/your/Aspose.Words.lic");
        Console.WriteLine("License set successfully.");
    }
    catch (Exception ex)
    {
        Console.WriteLine("Error setting license: " + ex.Message);
    }
    
  4. Consider a Temporary License: If you cannot find your license key or if it has expired, you can request a 30-day temporary license from the Aspose website. This will allow you to continue using the product without limitations while you resolve the licensing issue.

  5. Contact Support: If you are still unable to locate your license key or if you encounter further issues, consider reaching out to Aspose’s support team for assistance. They can help you retrieve your license or provide guidance on renewing your subscription.

By following these steps, you should be able to resolve the licensing issue and continue using Aspose.Words without interruptions.

If you have any further questions or need additional assistance, feel free to ask!

Sources:
[1]: Applying Licensing to Aspose.Words for Java
[2]: Licensing and Subscription|Aspose.Words for Python via .NET

@iDOsms405 It looks like you are using an old license file. Please make sure the application uses the correct license file.