Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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

Was this useful?

100% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us