Hello,
I’ve tried to use Aspose.PDF in C# (.NET). It is installed via NuGet and doesn’t seem to work correctly. The license is a “Developer OEM”-license, which is valid for Aspose.Total for .NET. The problem is, that I’m trying to integrate Aspose.PDF into a ClrLib for SQL.
Sadly, I am not able to license any of your Products using the .setLicense() method. I have tried to license Aspose.PDF, Aspose.Words and Aspose.Email, in case there is a problem with Aspose.PDF. But all of those kept throwing an exception.
The different methods to license it, such as using the path, a stream with the file content or embedding it via an embedded resource, are all not functional and causing exceptions.
One of the exceptions, which throws when I try to license it with a path to the license file, is the following:
System.IO.FileNotFoundException: Could not load file or assembly ‘zx_4cc31c45571f455c8c5e84b20a1f006f, PublicKeyToken=716fcc553a201e56’ or one of its dependencies. The system cannot find the file specified.
System.IO.FileNotFoundException:
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at #=qjJ7vXV0PACE5SGNwURrL8jFrEkVHK996y0nwcbO5BVs=.#=zL_J$AyA6Om08G0iyalt_HNPn8Q25.#=zU9cYMZTMBuqm87T9ZL_d60Gkkegj(String #=z5n9d5LsAQNDCfzC0cvlsy0IW3nxO)
at #=qjJ7vXV0PACE5SGNwURrL8jFrEkVHK996y0nwcbO5BVs=.#=zL_J$AyA6Om08G0iyalt_HNPn8Q25.#=zbyvOmo$Pxa6KY501ku4d$tUu_$Ir()
at #=qjJ7vXV0PACE5SGNwURrL8jFrEkVHK996y0nwcbO5BVs=.#=z6w6b8NYAZihFaHGLoKhx5HKpsMHN(Object #=zlaJoHs_zU0WSNwAaeHvApZPZd8d2, ResolveEventArgs #=zbx2j0dBaZ1vD1BbHhPd7NZM=)
at System.AppDomain.OnResourceResolveEvent(RuntimeAssembly assembly, String resourceName)
at System.Reflection.RuntimeAssembly.GetResource(RuntimeAssembly assembly, String resourceName, UInt64& length, StackCrawlMarkHandle stackMark, Boolean skipSecurityCheck)…
Is there anything I could check or change to make sure, that it runs successfully?
Best regards