← Back to Knowledge Base

KB #240116: Enabling CLR in a SQL instance for use with Encryptionizer SQL API’s

⏱️ 1 min read

Type:

Information

Summary:

CLR is a more efficient method of executing NetLib SQL API’s than Extended Procedures. Below provides instructions on how to Enable CLR

Additional Information:

For versions of Encryptionizer released after Jun 2014, if you use the Install API’s menu option, the utility will prompt to be able to enable CLR on the instance.

If you wish to do manually, use the following T-SQL script to enable CLR on the Server:

EXEC sp_configure 'show advanced options', 1;
RECONFIGURE;
GO

EXEC sp_configure 'clr enabled', 1;
RECONFIGURE;
GO

-- the next two lines are optional
EXEC sp_configure 'show advanced options', 0;
RECONFIGURE;

Important: You may need to restart SQL Server after enabling CLR, in particular SQL Express. If you continue to receive errors when adding the CLR APIs, restart SQL Server and try again.

Related Topics

240098: Col-E fails when selecting CLR User Defined Functions

Was this article helpful?

Related Articles

KB #240132: Test if your License/Activation is valid

Type: Info Summary: If you have a License and made some significant changes to your…

KB #240133: sp_n_codelvl shows Encrypted when database Offline and Plain when Online

Type: Known Issue. Minor. Summary: sp_n_codelvl is an optional Encryptionizer SQL Stored Procedure which can…

KB #240020: APIs returning empty or invalid values when encrypting or decrypting (SQL Server)

Type: Information Summary: This article discusses why you may see the APIs returning empty or…

Still need help?

Our support team is here to assist you.

NetLib Security
AI Assistant · Online
Hi! I'm the NetLib Security assistant. I can answer questions about our encryption solutions, HIPAA compliance, Encryptionizer, and more. How can I help you today?