We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

SetLicense throws an exception in .NET v6

Hi Support Team

I just want to let you know that Aspose.Note 21.9.0 has the same error when moving to .Net 6 that Aspose.PDF had in v21.10 which was fixed in v21.11 today - see: Aspose PDF SetLicense throws under net6.0

Can you please also fix Aspose,Note?

Obligatory stack trace:

Exception of type ‘System.Exception’ was thrown.
at \x0e .\x02(Byte[] \x02)
at \x0e .a.\x02(\x02 \x02)
at \x0e .\x03(String \x02)
at \x06 .\x02.\x02(String \x02)
at \x06 .\x02.\x02()
at \x06 .\x02(Object \x02, ResolveEventArgs \x03)
at System.Runtime.Loader.AssemblyLoadContext.InvokeResolveEvent(ResolveEventHandler eventHandler, RuntimeAssembly assembly, String name)
at System.Runtime.Loader.AssemblyLoadContext.OnResourceResolve(RuntimeAssembly assembly, String resourceName)
at System.Reflection.RuntimeAssembly.GetResource(QCallAssembly assembly, String resourceName, UInt32& length)
at System.Reflection.RuntimeAssembly.GetManifestResourceStream(String name)
at \x02 .\x03(Object \x02)
at \x02 .\x02(MethodBase \x02, Boolean \x03)
at \x02 .\x03 (\x02 \x02, \x02 \x03)
at \x02 .\x02()
at \x02 .\x06(Boolean \x02)
at \x02 .\x03(Object \x02)
at \x02 .\x02 ()
at \x02 .\x08 (\x02 \x02, \x02 \x03)
at \x02 .\x02()
at \x02 .\x06(Boolean \x02)
at \x02 .\x03(Object \x02)
at \x02 .\x02 ()
at \x02 .\x02(Object \x02, UInt32 \x03)
at \x02 .\x06(Boolean \x02)
at \x02 .\x06(Boolean \x02)
at \x02 .\x02(Object[] \x02, Type[] \x03, Type[] \x05, Object[] \x08)
at \x02 .\x02(Int32 \x02, Type[] \x03, Type[] \x05, Boolean \x08)
at \x02 .\x06 (\x02 \x02, \x02 \x03)
at \x02 .\x02()
at \x02 .\x06(Boolean \x02)
at \x02 .\x03(Object \x02)
at \x02 .\x02 ()
at \x02 .\x02(Object \x02, UInt32 \x03)
at \x02 .\x06(Boolean \x02)
at \x02 .\x02(Object[] \x02, Type[] \x03, Type[] \x05, Object[] \x08)
at \x02 .\x02(Stream \x02, String \x03, Object[] \x05)
at \x02 .\x02(Stream \x02, String \x03, Object[] \x05)
at Aspose.Note.License.SetLicense(Stream stream)

@Greg_Bielleman,

Please notice, we have logged an investigation ticket with an id “NOTENET-5514” We will look into it soon.

Once we have an update on it, we will let you know here.

The issues you have found earlier (filed as NOTENET-5514) have been fixed in this update. This message was posted using Bugs notification tool by alexei.s