Enable SQL Server CLR
Important: Failure to move the database to the new SQL Server instance
prior to running the database upgrade scripts, can lead to Common Language
Runtime (CLR)/Flexera certificate issues.
When upgrading the compliance database, particularly during schema transitions (for example, from version 21.x to 22.x), you may encounter the error:
"The server may be running out of resources, or the assembly may not be trusted."
This issue is typically related to SQL Server certificate trust settings and can be resolved using one of the following approaches:
If upgrading from
FlexNet Manager Suite 20xxR1 or later, you may replace the SQL Server
certificate before attempting the database upgrade.
To avoid trust-related errors:
- Temporarily set the database's
Trustworthy
property to OFF. - Run the database upgrade.
- Set
Trustworthy
back to ON after the upgrade completes.
If upgrading from FlexNet Manager Suite 20xxR1 or earlier,
delay replacing the SQL Server certificate until
after the upgrade attempt. If the error
occurs:
- Revert to the previous certificate.
- Rerun the upgrade until the error is triggered.
- Remove the old certificate and reapply the new one.
- Rerun the upgrade.
Flexera recommends proactively addressing this scenario in your upgrade planning.
To enable SQL Server CLR:
- In SQL Server Management Studio, locate the SQL Server instance to be used by FlexNet Manager Suite.
-
Enable Microsoft SQL Server Common Language Runtime (CLR) Integration.