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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.