Hi,
My error message is not really helping.
System.NullReferenceException: Object reference not set to an instance of an object.
at
<span style="font-size:11.0pt;mso-bidi-font-size:10.5pt;font-family:"Calibri",sans-serif;
mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-bidi-font-family:
Consolas;mso-ansi-language:FR-CA;mso-fareast-language:EN-US;mso-bidi-language:
AR-SA">[1]..<span style=“font-size:11.0pt;mso-bidi-font-size:
10.5pt;font-family:“Calibri”,sans-serif;mso-fareast-font-family:Calibri;
mso-fareast-theme-font:minor-latin;mso-bidi-font-family:Consolas;mso-ansi-language:
FR-CA;mso-fareast-language:EN-US;mso-bidi-language:AR-SA”>[1](Stream
)<o:p></o:p>
at Aspose.Pdf.License.SetLicense(Stream stream)
It used to be only when I was resetting IIS, and the solution was to reset IIS again.
So sometime, I needed to reset IIS two times in row...
But now, the problem is happening randomly , one or two times a month.
I can reset IIS to fix it.
I cannot share a piece a code, the system is quite complex.
Except:
FileStream fsPdf = new FileStream(pathLicenseAsposePdf, FileMode.Open, FileAccess.Read, FileShare.Read);
Aspose.Pdf.License licPdf = new Aspose.Pdf.License();
licPdf.SetLicense(fsPdf);
This is a really really annoying ... you should find a solution ... really....
I found post on this dating from 2012....
You cannot let your license system bugs ... own your library.
Thank you very much!