Hi
I am not able to install Aspose.Word into SQLServer 2016
I’m trying with the latest version 20.10 and it doesn’t work.
The last working version is 20.3
Before installing the assembly I need to install two dependencies
System.Drawing.dll and system.drawing
Then I install Aspose.Words.dll with the net4.0 directory
With version 20.3 it works, but with version 20.10
Here is my script :
ALTER DATABASE [My_Database] SET TRUSTWORTHY ON
exec sp_configure ‘clr enabled’, 1;
GO
RECONFIGURE;
create assembly [system.drawing] from ‘C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Drawing.dll’ with permision_set = unSAFE
create assembly [system.web] from ‘C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.web.dll’ with permission_set = UNSAFE
create assembly [Aspose.Words] from ‘C:******\Aspose.Words_20.10\net4.0\Aspose.Words.dll’ with permission_set = UNSAFE
I have the following message:
CREATE ASSEMBLY for assembly ‘Aspose.Words’ failed because assembly ‘Aspose.Words’ failed verification. Check if the referenced assemblies are up-to-date and trusted (for external_access or unsafe) to execute in the database. CLR Verifier error messages if any will follow this message
I dont’. understand, my SQLServer run with same framework and all version after 20.3 doesn’t work
The result of “select * from sys.dm_clr_properties” is :
directory C:\Windows\Microsoft.NET\Framework64\v4.0.30319|
version v4.0.30319|
state CLR is initialized|