Support Article
Execution of user code in .NET framework is disabled error
SA-19321
Summary
The following error message repeats frequently in the PegaRULES logfile:
"An error occured on executing the query for the report definition - There was a problem getting a list: code: 6263 SQLState: S0001 Message: Execution of user code in the .NET Framework is disabled. Enable "clr enabled" configuration option."
Error Messages
"An error occured on executing the query for the report definition - There was a problem getting a list: code: 6263 SQLState: S0001 Message: Execution of user code in the .NET Framework is disabled. Enable "clr enabled" configuration option."
Steps to Reproduce
The method to reproduce this issue is not known.
Root Cause
The error results from an MS SQL Server database is configured improperly.
Resolution
Refer to the following PDN article:
https://pdn.pega.com/support-articles/net-configuration-issue-pega
To resolve this issue, connect to the Microsoft SQL Server using a SQL Client as the database administrator and issue the following command:
sp_configure 'clr enabled', 1
Published February 9, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.