DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

DNN 9.11.0 on Windows 2022 Server

 4 Replies
 3 Subscribed to this topic
 28 Subscribed to this forum
Sort:
Author
Messages
Veteran Member
Posts: 1182
Veteran Member
MVP
MVP
You're an MVP!

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:

<code>-1:<br /> <span style="color:#cc0000;"><em>0:</em></span></code>

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

<code><system.webserver><br />    <security><br />       <authentication><br />          <windowsauthentication enabled="true" /><br />          <anonymousauthentication enabled="false" username="" /><br />       </authentication><br />    </security></code>

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

 

Michael Tobisch
DNN★MVP

DNN Connect
Veteran Member
Posts: 1182
Veteran Member
MVP
MVP
You're an MVP!
Stupid me! I forgot to install the Url Rewrte module in IIS...

Happy DNNing!
Michael

Michael Tobisch
DNN★MVP

DNN Connect
Veteran Member
Posts: 838
Veteran Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!

:-) 

Senior Member
Posts: 1322
Senior Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
Lifesaver
Lifesaver
You're Life Saver!
New Poster
New Poster
Congrats on posting!
3 Engaged Reader
Engaged Reader
You are an engaged reader!

haha happened to me a few times too :-)

Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!

Ditto!  😂🫣 

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved