I am working for a client, who has recently purchased a "Site Small Business" license.
We have developed a SOAP based web service, that converts pretty much any document into a PDF.
This web service, is developed using .NET 3.5 framework and used the following Aspose components.
Original with was compiled with the Aspose.Total for .NET API built release on the 11 February 2013.
The license for each API, was set to load by passing in the location to the Aspose.Total.lic for example:
cellsLicense = new Aspose.Cells.License();
However during a heave usage UAT cycle, we noticed that some times the SetLicense call will file for the following API's using the location to the lic file
By raising the runtime error
"Object reference not set to an instance of an object"
After reading a KB article, this was listed as an issue with a work around as loading the license using a resource file.
I therefore upgraded the project to the Aspose.Total API build dated 28th March 2013 and altered all API's to load using a resource file.
This solved the PDF license issue, but the "Object reference not set to an instance of an object", error now occurs for the two API's
I had to swap the load method to path to the license for these two APIs to fix the error message
I now have add to load the licenses in different ways depending on the API, which is NOT ideal
Can you please provide a unified fix in order for me to be able to load the license using one single consistent method