DNN Forums

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

Help! Dot Net Nuke Error

Sort:
You are not authorized to post a reply.





New Around Here





    Our library is getting a new website in several months, but our current Dot Net Nuke site (which is old and self-hosted) has gone down. Our techs can't figure out how to fix it and we'd just like it back up until the new site launches. Currently, all it displays is our logo from the top of the page and a Dot Net Nuke error under it. If anyone has any ideas of what we can do to get it back up and running, I'd really appreciate it! Website is: http://crawfordco.lib.mi.us/






    Veteran Member





      This is very little to go on. Is there a url that we can see?
      Tjep's digital agencyRegards,
      Tycho de Waard

      Tjep's digital agency
      We just love DNN
      https://www.tjeps.com





      New Around Here





        Our website is http://crawfordco.lib.mi.us/ and I apologize....I submitted just as I realized I hadn't included it. It made me wait before I could edit and add it. Thanks in advance for any help.






        Veteran Member





          No worries, Karyn,
          First thing: http://crawfordco.lib.mi.us/ is not really pointing to the website, so it seems. Because the website resides at http://crawfordco.lib.mi.us/DNN. It has the site in a frame (?)

          Having said that; it just says an error occurred, so not very helpful. If you can turn the errors on (web.config) there might be some more information.


          Tjep's digital agencyRegards,
          Tycho de Waard

          Tjep's digital agency
          We just love DNN
          https://www.tjeps.com





          Veteran Member





            In your web.config file, set CustomErrors to Off. That should display more detailed error messages to EVERYONE visiting the site.

            See: https://stackify.com/web-...ustomerrors-asp-net/
            Joe Craig
            DNN MVP
            Patapsco Research Group





            Veteran Member





              Better way (that not everyone sees the error, which could be an attacking vector if it's there for longer): set customErrors mode to "RemoteOnly" and start a browser with the web site on the server. This will give end users the custom error message and local users (on the server) the standard ASP.Net error page (aka yellow screen of death). Of course you can only do this if you have access to the server, at least with a Remote Desktop, KVM-Switch etc...

              And please add a certificate to your site and enable HSTS. Read Why EVERY site should be secured by HTTPS. For more information download the presentation I did at DNN-Connect in 2019: DNN Connect Association DNN Platform Events > Events > 2019 > Sessions.

              Happy DNNing!
              Michael

              Michael Tobisch
              DNN★MVP

              dnnWerk Austria
              DNN Connect





              New Around Here





                Hello All,

                First off thanks for helping with this issue: my name is Josh and I'm a tech working with Karyn to try and get this fixed. Looking at the web.config file it seems the customErrors mode was set to RemoteOnly, but when I started a local browser session I was seeing the same screen as before with no additional information. Here are a couple other things I've looked into so far, maybe you all can let me know if I'm on the right path or not:

                I found this forum: DotNetNuke Error "An error has occurred" "An error has occurred" after moving site from Localhost to Production site - DNN Creative Magazine for DotNetNuke - DotNetNuke Forum, DNN Creative Magazine, Video Tutorials, Skins, Module Reviews - DotNetNuke® - DotNetNuke® Questions and the gentleman helping seemed to recommend 1. checking the connection strings and 2. checking skin files. I can copy the connection strings here to make sure everything is correct, and I'm not really sure how to check on the skin files.

                I tried viewing the dbo.EventLog table, but for some reason it seems that it stopped logging some point in the past and I have no recent relevant information from there. I do have the IIS logs but I'm not sure how helpful they'd be.

                This page: DNN showing ‘An error has occurred’ - Let’s fix it (bobcares.com) recommends looking at the dbo.PortalAlias table and removing null values if they're there: I can see a whole row of null values but I can't seem to delete them, and I'm not sure if they're there by design.

                I know this is a lot, and I'm trying to go in several different directions since I don't have much to go off of so far, so thank you for your understanding and all of your help.

                 






                Veteran Member





                   

                  No, your table should look something like this.

                  Tjep's digital agencyRegards,
                  Tycho de Waard

                  Tjep's digital agency
                  We just love DNN
                  https://www.tjeps.com





                  Veteran Member





                    Btw, DNNSummit just started so, most of us currently live in/on Slack. The community channel (formerly known as open help) is on
                    https://join.slack.com/t/...IAChDA3BxIVRsRs3fCDA
                    Tjep's digital agencyRegards,
                    Tycho de Waard

                    Tjep's digital agency
                    We just love DNN
                    https://www.tjeps.com
                    You are not authorized to post a reply.

                    These Forums are dedicated to the 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. 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