I\'m getting the following error when running our ASP.NET Web API project on our production server.
403 - Forbidden: Access is denied. You do not hav
I recently faced same issue while configuring my site on iis (https). In my case, tried several solutions like:
and several hit and try and at last I found!!!!
It was very tiny problem I choose "Precompile during publishing" while publishing my website/APIs and when i unchecked this option everything become normal and start working fine, not sure actual reason why this happen but to resolve you may try as showing in picture (visual studio 2019) below: