In some cases, errors related to the CLR (Common Language Runtime) or the SqlProceduresClr assembly may occur in FlexNet Manager Suite databases. These errors can prevent assemblies from loading and impact database functionality.
Common error messages include:
- An error occurred in the Microsoft .NET Framework while trying to load assembly id 65581. The server may be running out of resources, or the assembly may not be trusted.
- System.IO.FileLoadException: Could not load file or assembly 'sqlproceduresclr, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
- An error relating to security occurred. (Exception from HRESULT: 0x8013150A).
This article outlines the recommended steps to verify and resolve these issues.
Step 1: Confirm the database schema version
Execute the following query against the compliance database to confirm the database schema version:
select * from DatabaseConfiguration where Property = 'CMSchemaVersion'
Step 2: Verify the SqlProceduresClr assembly is configured in the database
Execute the following query against the compliance database:
select a.name, a.clr_name, a.permission_set_desc, a.create_date, content_len = LEN(af.content)
from sys.assemblies a
join sys.assembly_files af on af.assembly_id = a.assembly_id
where a.name = 'SqlProceduresClr'
Sample results look like:
| name | clr_name | permission_set_desc | create_date | content_len |
|---|---|---|---|---|
| SqlProceduresClr | sqlproceduresclr, version=0.0.0.0, culture=neutral, publickeytoken=null, processorarchitecture=msil | SAFE_ACCESS | 2024-12-15 23:48:32.627 | 466800 |
The content_len value should reflect the size of the SqlProceduresClr.dll file that comes with the FlexNet Manager Suite release in use.
Step 3: Check certificate, login and user configuration
Execute the following query to check an appropriate Flexera certificate is configured and mapped to a login and user:
select sp.name, sp.principal_id, dp.name, dp.principal_id, c.name, c.cert_serial_number, c.expiry_date
from master.sys.certificates c
left outer join master.sys.server_principals sp on sp.sid = c.sid
left outer join master.sys.database_principals dp on dp.sid = c.sid
where c.name like 'Flexera%'
Sample results look like:
|
name |
principal_id |
name |
principal_id |
name |
cert_serial_number |
expiry_date |
|---|---|---|---|---|---|---|
|
FlexeraLogin |
266 |
FlexeraUser |
7 |
Flexera |
06 89 75 81 52 b0 06 f4 3c a7 e6 8b 1a af 21 47 |
2027-06-30 23:59:59.000 |
Verify that the cert_serial_number value matches the serial number of the certificate from the version of FlexNet Manager Suite in use. You can find the serial number of the certificate by opening the original .cer certificate file from Windows Explorer and viewing the Details tab:
NOTE: The expiry_date value doesn't need to be in the future for the certificate to be usable.
Step 4: Check the Flexera login has 'UNSAFE ASSEMBLY' permission
Execute the following query to check that the UNSAFE ASSEMBLY permission has been granted to the Flexera login:
select sp.name, sperm.grantee_principal_id, sperm.permission_name, sperm.state_desc
from master.sys.server_principals sp
join master.sys.server_permissions sperm on sperm.grantee_principal_id = sp.principal_id
where sp.name like 'Flexera%'
Results should include a record like the following:
|
name |
grantee_principal_id |
permission_name |
state_desc |
|---|---|---|---|
|
FlexeraLogin |
266 |
UNSAFE ASSEMBLY |
GRANT |
Step 5: Check CLR is enabled
Execute the following query to check that CRL is enabled:
select name, value_in_use, description
from sys.configurations
where name = 'clr enabled'
Results should look like the following, with the value_in_use value of “1”:
|
name |
value_in_use |
description |
|---|---|---|
|
clr enabled |
1 |
CLR user code execution enabled in the server |
If the problem persists after making adjustments based on these steps, create a support case that includes your results and error messages you received.
Related Articles
FlexNet Manager Suite log files and locations 182Number of Views Adding Files to Components 5Number of Views [FNMS SAML Setup] WebUI configuration guide to enable SSO / SAML in FlexNet Manager Suite 23Number of Views How to enable FlexNet Manager Suite diagnostic tracing 270Number of Views FlexNet Publisher 2014 (11.13.0.2) SP2 Release Notes 6Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago