I am trying to move a DNN site to a Windows 2022 server, copied all files, set up an AppPool, set up a web site... like many times before. Note: Only the web server changes, the database stays on another server (like before) and the firewall rules allow to connect to the SQL Server.
The site does not have any special modules on it, just the old DNN.Documents.
When starting the web site, it throws an HTTP 500.19 error, "The requested page cannot be accessed because the related configuration data for the page is invalid.".
The problem is that in the Config Source section, nothing relevant is displayed:
-1:
0:
I double checked the file permissions, but they are OK.
I moved some other (non-DNN) web sites and ran into the problem that the lines
<system.webserver>
<security>
<authentication>
<windowsauthentication enabled="true" />
<anonymousauthentication enabled="false" username="" />
</authentication>
</security>
threw an error (500.19) that they are not allowed in the config file. Inspecting the applicationHost.confg file I found out that overriding these settings is denied. That allowed me to fix this error very quickly, but here I have no idea where to start searching.
Any ideas?
Happy DNNing!
Michael