License problems with using version 13.12.0

Hello,


I downloaded Aspose.Words version 13.12.0 to see if it would resolve a PDF conversion problem we are having with version 11.7.0, our current Aspose version that we deploy.

We just received the updated license file from Aspose sales today, but it is failing.

Here is our code, which has been unchanged for a number of years (we use C++ interface, not .NET):

The .h include file defines this variable, used in the code below:

_License m_License;

Here is the code that fails with version 13.12.0:

if (!m_License.CreateDispatch(“Aspose.Words.License”)) <---- this call fails
{
WinLog(LOG_FORCE, LOG_ERR, LOG_INSTR, 0, “_License::CreateDispatch() failed”);
throw pExc;
}

Has something in your API changed, or did we just get the wrong license file?

Thanks!
Tom Edwards
DR Systems, Inc.


Hi Tom,


Thanks for your inquiry. Please
check the expiration date of your license file. To check an expiration
date of your license open the license file using notepad. You will see
the following tags:

20140818

It means that you can free upgrade to version of Aspose.Words published before 08/18/2014.

Moreover, I would like to mention a few points here:

  • Make sure your call to setLicense gets executed. Step through in the debugger.
  • Make sure your code does not catch an exception thrown by Aspose.Words licensing code. For example, Aspose.Words will throw if it cannot find the license.
  • Make sure the input documents do not already have the evaluation message. Aspose.Words does not delete existing evaluation messages.
  • Make sure setLicense is executed before you instantiate any Document object.

In case the problem still remains, please
post your license file via mail to us. I will
investigate the issue on my side and provide you more information. In
order to post your license file to us, please follow the instructions
provided in the following link:
http://www.aspose.com/corporate/purchase/faqs/send-license-to-aspose-staff.aspx