• Login
  • Register

DNN Forums

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

Updated DNN 921 to 932: Error 404

You are not authorized to post a reply.

New Member

New Member

    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.

    Veteran Member

    Veteran Member

      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)?

      Veteran Member

      Veteran Member

        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.
        Will Strohl

        Upendo Ventures DNN experts since 2003
        Official provider of the DNN-based E-Commerce w/ Hotcakes Commerce Cloud and SLA support

        New Member

        New Member

          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.

          <customErrors defaultRedirect="/helaas" mode="RemoteOnly">
          <error statusCode="503" redirect="/error-page?503"/>
          <error statusCode="404" redirect="/error-page?404"/>
          <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" />

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

          Veteran Member

          Veteran Member

            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.

            You are not authorized to post a reply.

            These Forums are dedicated to discussion of DNN Platform.

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

            1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
            2. 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.
            3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
            4. No Flaming or Trolling.
            5. No Profanity, Racism, or Prejudice.
            6. Site Moderators have the final word on approving / removing a thread or post or comment.
            7. 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