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:
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:
C:\PathToProject\PublishFolder\umbraco\js\test.html
instead of
C:\PathToProject\PublishFolder\wwwroot\umbraco\js\test.html
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:
My AppPool was created with the setting "No Managed Code".
is working on a reply...