Symptoms
UAT - RunTime - 500 Server Error
Diagnoses
After deploying working application to UAT Runtime, on page load getting 500 server error. Might be possible malformed web.config file in K2 RunTime for this environment.
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Error Code: 0x8007005
Config Error: Cannot read configuration file due to insufficient permissions
Config File: ?D:Program Files (x86)K2 blackpearlK2 smartforms Runtimeweb.config
Resolution
The Designer site was loading successfully as such, we compared the file permission between the Designer site and Runtime site and noticed that the Runtime site directory did not have the "DOMAINUsers" group added. Adding this group with default permission level (Read and execute, List folder contents, Read) resolved the issue.