DNN Forums

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

Updated DNN 921 to 932: Error 404

 4 Replies
 1 Subscribed to this topic
 40 Subscribed to this forum
Sort:
Author
Messages
New Around Here
Posts: 6
New Around Here

In my situation we have a website which was DNN version 9.2.1 and because of the 404 page bug we updated to DNN version 9.3.2.
This should have resolved the issue but still it gives us the same error. A 503 site not found error as seen below:

Does someone know this issue and how to resolve it?

We have tried the following:

  1. Run this SQL to fix which was in one of the other forums:
    Update HostSettings SET HostSettings.ControlPanel = ‘DesktopModules/Admin/Dnn.PersonaBar/UserControls/PersonaBarContainer.ascx’ WHERE HostSettings.SettingName = ‘ControlPanel’; 
  2. Reset the setting and define the pages once more.
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!

On what DNN version was the site created, on 9.2.1 or an earlier version?
To me this sounds like a redirect loop, did you check the TabUrls table for duplicate names (of the 404 page)
Did you try naming the 404 page differently?
I guess not, but no Ifinity URL master installed, right (check the web.config)?
 

Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!
In addition to what Timo suggested, I'd also suggest checking the web.config and SiteUrls.config for any other URL/rewrite rules that may be getting into the way. Finally, the built-in regular expressions used may have been changed at some point. You may want to compare those to a clean installation to see what may have been changed.
New Around Here
Posts: 1
New Around Here

We did not find the cause of the issue, however we did find a solution. We added the following to the web.config file to properly redirect to the error page.

<system.web>
<customErrors defaultRedirect="/helaas" mode="RemoteOnly">
<error statusCode="503" redirect="/error-page?503"/>
<error statusCode="404" redirect="/error-page?404"/>
<!--/customErrors>
<!--</system.web>
<system.webServer>
<httpErrors errorMode="Custom" existingResponse="Replace" >
<remove statusCode="404" subStatusCode="-1" />
<error statusCode="404" responseMode="ExecuteURL" path="/error-page?404" />
<remove statusCode="500" subStatusCode="-1" />
<error statusCode="500" responseMode="ExecuteURL" path="/error-page?500" />
<remove statusCode="503" subStatusCode="-1" />
<error statusCode="503" responseMode="ExecuteURL" path="/error-page?503" />
<!--/httpErrors>
<!--/system.webServer>

Edit: It's not allowing me to properly paste the closing tags, but I think you get the idea

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!

Did you try any of the posted suggestion? And if you did what was the result?
I think it's weird that editing the web.config fixes this TBH.

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