Set License method ithrows exception

Hi we are facing issue with ASPOSE.CELLS, frequently.

The following is the exception which are seeing from our application log file, this is frequently happening in one of the machine.

Could you please suggest what could be the issue?....and how to resolve this.

We do have a Licensed version of ASPOSE.Cells, we do not know why this issue is happening...

----------------------------------------------
EXCEPTION : System.NullReferenceException: Object reference not set to an instance of an object.
at Aspose.Cells.ፒ.።(Stream ী)
at Aspose.Cells.ፒ.።(String ፣, Assembly ፤)
at Aspose.Cells.License.SetLicense(String licenseName)

This application is critical for us, could ypu please resolve this issue ASAP.

Thanks

Hi,

Which version of Aspose.Cells for .NET you are using. The error occurs in desktop application or web (asp.net) application. Could you create a sample console Application using your license file to reproduce the issue, zip the project and post us via email. To send us the project, please follow the steps given at: https://forum.aspose.com/t/how-to-send-license-file-to-support-team/225542

We will check your issue soon.

By the way, please check how to set license file for the component: http://www.aspose.com/documentation/file-format-components/aspose.cells-for-.net-and-java/licensing.html

Thank you.

we are using .net 1.1 version and it is used in the web application.

This issue is happening in one of our webserver frequently.

The same set of deployment is working fine in another machine and we did not see this error on that machine.

Can you please sugget what needs to be done.

Hi,

Well, we are still not sure about your issue as we expect to get the sample project to reproduce the issue from your side. If one server is working fine regarding SetLicense() method then the other should equally work fine too, that is a simple logic you know. But, I think you have to make sue that the license file is included to your project and you are setting the license file path fine in the SetLicense() method. Also, you may try to restart the IIS and re build the project with the Aspose.Cells component to check if it makes a difference.

BTW, which Aspose.Cells for .NET version you are using? We suggest you may give a try our latest version (v4.7.0) if you can.

Thank you.

Hello

We are facing the same issue with our product (about 100 IIS deployed). We are getting the null reference exception on 3 of our servers (same stack trace as above). The issue is resolved after recycling the application pool.

It occurs with Aspose.Cells for .NET 5.3.3.0 and 7.0.1.0 on production servers. I can’t upgrade Aspose.Cells on these servers now.

I tried to reproduce the issue with a sample application without success.

Did you find something concerning this issue ?

Thanks




Hi,


I am afraid the issue is difficult to trace as we could not find the issue on our end. Could you give us exception details, error message you got with your v7.x.x. We will further look into it.

Thank you.