Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • mmaty 109 posts 281 karma points
    1 week ago

    Umbraco .js files fail with 404 on IIS

    Hello everyone,

    it seems as if files in the wwwroot\umbraco\js folder can't be delivered. IIS reports a 404 for each of the files there, like utilities.min.js, umbraco.controllers.js etc.

    So I created a file test.html. I can get the file in the browser from wwwroot (as /test.html), from wwwroot/umbraco (as /umbraco/test.html). But as soon as it resides in the /wwwroot/umbraco/js folder, there is a 404 for /umbraco/js/test.html.

    Why is this folder treated in another way than other folders under wwwroot?

    I get the 404 page from IIS, which shows the wrong physical folder:


    instead of


    Does anybody have an idea what's going on there?

    I use Umbraco 10.8.3. IIS 10 on Windows Server 2016 and Windows 11.

    My Web.config file:

    <?xml version="1.0" encoding="utf-8"?>
      <location path="." inheritInChildApplications="false">
            <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
          <aspNetCore processPath=".\Rintra.exe" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" />
    <!--ProjectGuid: d448d858-e160-4760-a122-02f68b29aca2-->

    My AppPool was created with the setting "No Managed Code".

Please Sign in or register to post replies

Write your reply to: