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

.NET configuration issue for Pega

SA-10098

Summary



An application developer has observed that intermittantly, the PRPC 7.1.7 environment slows down - poor performance is observed by both developers and testing users. 
The application developer has discovered that the performance issue is generally mitigated by performing a shutdown/restart of the PRPC environment.

Error Messages



No error messages are observed on screen.  However, the following error message is observed in the Pega logfile at the beginning of those periods of slowness:

2015-05-04 00:23:46,858 INFO  [STDOUT] (Dispatcher-Thread-24) 2015-05-04 00:23:46,840 [http-0.0.0.0-8080-17] [  STANDARD] [                    ] [        FSA:01.01.01] ( rd.queryexec.SqlQueryExecutor) ERROR hostname|0.0.0.0 name - 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 application developer has observed that when they execute a Report Definition from the Developers Portal, this issue reproduce; any report definition can be executed - not a specific one.

Root Cause



Closer examination of the provided logfile confirmed that the above reported error condition does appear sporadically through the logfile. 
Researching this error condition indicates that the issue is specific to Microsoft SQL Server databases, and is a configuration problem.

Resolution



To resolve this issue, connect to the Microsoft SQL Server using a SQL Client as the Database administrator, you must issue the following command:

sp_configure 'clr enabled', 1

This resolves the error condition, and the PRPC performance issue is mitigated.

Published June 22, 2015 - 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