I am facing a strange issue while building a solution which has web projects. I get the error below. Any solution or thought on it.
Fixed by adding forwardWindowsAuthToken="false"
in the web.config file.
<aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" forwardWindowsAuthToken="false" stdoutLogEnabled="false" />
https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/aspnet-core-module
I faced the same issue here
How I fix
(1) Open Event Log. I noticed that there is a warning: 'Static compression is being disabled'.
(2) Follow the 2 links to fix this issue
https://forums.iis.net/t/1195656.aspx?The+directory+specified+for+caching+compressed+content+is+invalid+Static+compression+is+being+disabled+
https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc735199(v=ws.10)
(3) Open TOOLS -> Options -> Projects and Solutions
Enable 'Use the 64 bit version of IIS Express for web sites and projects' (My system is 64 bit)
I am not very sure what happen exactly. But this helps me to fix this issue. Hope it can help you as well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With