DNN Forums

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

500 Internal Server Error after changes

Sort:
You are not authorized to post a reply.





New Around Here





    Hello.  I manage two sites in one DNN installation; the server is hosted.  We've been having a lot of issues where one of the sites goes down and shows a 500 Internal Server Error.  In all cases, when I recycle the application pool through my hosting control panel, the site comes back up.  

    So far, I've seen the 500 error happen in these scenarios:

    • If I "restart application" from the DNN Persona Bar>Server area (always)
    • When I make changes to server settings from the DNN Persona Bar >Server area (always)
    • At 12:00am (every few days)

    I've looked at the Admin site log and do not see any consistent error that happens before the site goes down.  Same with the resource logs under Portals/Default/Logs.  

    I'm looking for guidance on where else to look to identify the issue.  I suspect it has something to do with the connection to the database when it is rebooting, but not exactly sure where to start.  I am a novice -- I get by managing the content and settings of the site, but have very little experience or knowledge regarding the server/database side of things.  Any suggestions are appreciated!






    Veteran Member





      Have someone look at the IIS logs for your DNN instance. There should be some information there.
      Joe Craig
      DNN MVP
      Patapsco Research Group





      Veteran Member





        1. Some more info about the version would be welcome. I know some versions prior to DNN 9 could have issues that sound like this.
        2. As it happens around 12.00, I would lead me to check the scheduler. Every scheduled task can also be run on demand, so you can try to create the 500 error on the spot. And then check the Admig log to see if there is any pointer.
        Tjep's digital agencyRegards,
        Tycho de Waard

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





        New Around Here





          I am running v. 09.03.02 

          Thank you for the suggestion to look at the scheduler and IIS files.  I will do so.






          New Around Here





            Posted By Tycho de Waard (SU) on 16 Jul 2021 04:15 PM
            1. Some more info about the version would be welcome. I know some versions prior to DNN 9 could have issues that sound like this.
            2. As it happens around 12.00, I would lead me to check the scheduler. Every scheduled task can also be run on demand, so you can try to create the 500 error on the spot. And then check the Admig log to see if there is any pointer.

            Running through the scheduled tasks, it appears Purge Client Dependency Files scheduled task may be the culprit.  It created the 500 error when I ran it manually.  Thank you for helping me identify that.  Any suggestions on next steps?

             

             

             






            Veteran Member





              AFAIR the "purge client dependency files" job just tries deleting files from the cache folder in file system (\App_Data\ClientDependency\), which may fail, while a 3rd party software is accessing it - a backup, virus scan or Windows search indexing job. Scan the jobs being performed at the same time (windows event viewer might be helpful) and exclude the folder from these processes.
              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