Aspose.cad License problem

Hi sir

        I have purchase the license for new dll

My Subscription Expiry date is 20250125

My dll version is

image.png (18.0 KB)

after i convert i have msg evaluation copy show in image 2

image2.png (55.0 KB)

@psd.senthilnathan

Cause

The issue you’re experiencing with the evaluation message appearing even after purchasing a license is likely due to the license not being properly set in your application. This can occur if the license file is not correctly referenced or if the licensing code is not executed before any Aspose.CAD operations.

Solution

To resolve this, ensure that you have correctly implemented the licensing code in your application. Here’s how you can do it:

  1. Add the License File: Make sure that the license file you received is included in your project.

  2. Set the License in Code: You need to set the license in your code before you perform any operations with Aspose.CAD. Here’s a sample code snippet to do this:

using Aspose.CAD;

// Create a new instance of the License class
License license = new License();
try
{
    // Load the license file
    license.SetLicense("path/to/your/license/file.lic");
}
catch (Exception ex)
{
    Console.WriteLine("License not set: " + ex.Message);
}

Make sure to replace "path/to/your/license/file.lic" with the actual path to your license file.

Next Steps

  1. Verify that the license file is accessible at the specified path.
  2. Ensure that the licensing code is executed before any Aspose.CAD API calls.
  3. If the problem persists, check for any exceptions being thrown during the license setting process.

Please follow these steps, and if you continue to experience issues, feel free to reach out for further assistance. I’m here to help!

Sources:
[1]: Evaluate Aspose.CAD - Aspose Documentation

Hi sir

i already set the path

image.png (23.6 KB)

Only i have this problem when view the cad file other than cad no "evaluation " problem

@psd.senthilnathan,
Hi,
could you please try if applying Aspose.CAD license resolves the issue. It follows from the last image, that you have applied Aspose.Imaging license, not Aspose.CAD.

Hi sir

    Thanks for reply problem solve
1 Like

@psd.senthilnathan,
we are happy to help :slight_smile: