HTTP 403 Forbidden: Access is denied ASP.NET Web API

前端 未结 6 500
野趣味
野趣味 2021-01-12 01:54

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

6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-12 02:51

    In case it helps anyone my issue was my publish options set to "Allow precompiled site to be updatable" and I was missing the file "PrecompiledApp.config" in my deployed API.

提交回复
热议问题