Unexpected 404's on some of the static recourses PDF and Zip

41 Views Asked by At

I have an MVC website developed in dotnet 4.5 and is hosted on Windows Server 2012 R2 IIS Server 8.5.

We are experiencing a weird behavior on our website while trying to hit a page with static resources mainly when accessing a PDF and Zip file. There is a link on the website that redirects user to see the PDF file and user sees 404 not found, please keep in mind that file is there and path is also correct, but once you hit the URL from the browser directly you can download the file with no issue.

enter image description here

enter image description here

FYI, the permission are there and also MEME Types are Enabled.

I have tried again, having an eye inspect the element's network tab and I find out 200 Status response but the content was also 404 Not found.

enter image description here

enter image description here

Note: As per our IT team there is no NGINX installed on the server.

0

There are 0 best solutions below