We’re experiencing intermittent problems while trying to start a VB.NET application on a Windows 2012R2 server. Most of the time it works correctly, loading the license file without exception, but occasionally it’s blowing up with the following error:
Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly ‘Aspose.Cells, Version=22.214.171.124, Culture=neutral, PublicKeyToken=716fcc553a201e56’ or one of its dependencies. Provider DLL failed to initialize correctly. (Exception from HRESULT: 0x8009001D)
There is nothing variable on the server at the time of the error, it just happened to fall on its face some small portion of the time. Is this a known issue? Is there an update we should look to apply?
Let me know if there is some way for me to gather diagnostic data to assist. Our project is too large and proprietary to share, but we’re simply just loading the license file at startup using what I suspect is sample code from your documentation:
Dim lic As Aspose.Cells.License = New Aspose.Cells.License() lic.SetLicense("Aspose.Cells.Product.Family.lic")