Error HTTP 500.19 (IIS)

Hello everyone.
I am trying to migrate to version 2021.
After installing the new version, I opened the project for version 2020 and saved it as project 2021 after the automatic conversion procedure of phpmaker 2021.
Publishing the application, on the same machine where the 2020 version is running, in a new folder with a new name, I get the error:

Erro HTTP 500.19 - Internal Server Error
The requested page cannot be accessed because the configuration data related to the page is invalid.

I noticed that all PHP pages in the root folder are now in the models folder. Right. But I don’t understand why the Index can’t call the pages of the application.
Can anyone help me with any tips of what to look for exactly ?

I’m using Windows 10 with IIS 10.0.17763

Please check the error in more detail from the *.log file inside the “log” sub-folder in your web application. Post the error message in here for more discussion.

To see errors, you may click Tools → Advanced Settings, enable Debug, generate config.php again.

Thanks a lot for your answer.

This app works in localhost:50000.
Without IIS work.

I try to solve problem in my IIS.

You may open your IIS Manager and if the URL Rewrite is correct. If you do not see URL Rewrite, you need to install the IIS extension, just google “IIS URL Rewrite”.

You are an MVP man.
Thank you very much.

I found this link below. I installed it. IIS restarted.

IT WORKS !!!

www iis net / downloads /microsoft / url-rewrite.