Posted: 24 Jul 2020 4:28 EDT Last activity: 22 Oct 2020 11:49 EDT
Configuring the Pega Package Server to run within IIS
I have installed Pega Package Server, Pega Server Status and Pega Sync Server in my machine. I am configuring the server to run in IIS. So I have added a website and after launching the site, getting below error message.
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Can you help me to sort out this issue. Attached screenshot for your reference.
First of all, make sure Microsoft .NET Core 2.2.3 Runtime and Hosting Bundle for Windows are installed and Application Pool for each Pega Server has .NET CLR version set to "No Managed Code".
If it doesn't help, here are few things you can do to find out more details about root cause of the issue:
1. Go to Windows Event Viewer and open Windows Logs - Application node. Restart website in IIS manager, then try to access it (Status Server, for example) in web browser. After that refresh Event Viewer window and see if there are any new error or warning messages. Often it provides enough details or at least give you understanding which module fails.
2. Each Pega Server has web.config file. You can set stdoutLogEnabled="true" there and create "logs" folder in the same folder where web.config is located. Save web.config, restart website in IIS manager and try to access endpoint. It will create new log file with details of an error. If new log files don't get created, try to add full permissions for "Everyone" to "logs" folder and try again.