• Login
  • Register

DNN Forums

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

500 Internal Server Error after changes

You are not authorized to post a reply.
Sort:


New Member


Posts:4
New Member

    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


    Posts:1079
    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


      Posts:423
      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 Member


        Posts:4
        New Member

          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 Member


          Posts:4
          New Member

            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


            Posts:385
            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 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