Fix issue: SQL Server problem with CLR objects

An error occurred in the Microsoft .NET Framework while trying to load assembly id 65586. The server may be running out of resources, or the assembly may not be trusted with PERMISSION_SET = EXTERNAL_ACCESS or UNSAFE. Run the query again, or check documentation to see how to solve the assembly trust issues

An error occurred in the Microsoft .NET Framework while trying to load assembly id 65538. The server may be running out of resources, or the assembly may not be trusted with PERMISSION_SET = EXTERNAL_ACCESS or UNSAFE. Run the query again, or check documentation to see how to solve the assembly trust issues

The quickfix would be to set the database to trustworthy:

ALTER DATABASE YourDatabase SET TRUSTWORTHY ON

Comments