DNN Forums

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

404 error woff2

Sort:
You are not authorized to post a reply.





New Around Here





    Only in DNN websites on my server I receive 404 errors on woff2 files. In a non-DNN site I can just download the file, no problem. This happens in DNN 9.1.1 (no 3rd party rewrite modules) and in DNN 9.9.0 (both with and without 3rd party rewrites). Its a Windows 2019 server with the newest mimetypes, including woff2 (application/font-woff2) that gets inherited to all my sites.  I tried overruling in the web.config... didn't help.

    What can be the cause of this?

    Kind regards, Keston Pollard





    Veteran Member





      You don't have woff2 registered so it is not supported. You can either register in IIS or in the web.config of DNN.
      You need to search for the staticContent part in the web.config and add the woff2. Below an example











      Tjep's digital agencyRegards,
      Tycho de Waard

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





      New Around Here





        Thanks Tycho,

        I already mentioned that the mimetype is included in my Windows 2019 server and gets inherited down al my sites.

        MIME-types of the localhost:

        MIME-types that get inherited down to every site:

        This should do the trick, right?

        Kind regards, Keston Pollard





        Veteran Member





          Sorry, didn't read carefully enough.
          But yeah, that should do it. I found an old post from Joseph on https://www.dnnsoftware.c...e/posts/threadpage/3 suggesting to remove runAllManagedModulesForAllRequests="true" from the web.config.

          Maybe that works for you too.

          Tjep's digital agencyRegards,
          Tycho de Waard

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





          New Around Here





            YEAH! Great, thanks a lot, that worked. I will check all my older upgraded sites.

            Thanks again!

            Kind regards, Keston Pollard





            Veteran Member





              Great to hear! Have a great day :-)
              Tjep's digital agencyRegards,
              Tycho de Waard

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





              Veteran Member





                Wow!
                Joe Craig
                DNN MVP
                Patapsco Research Group
                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