Asp.net core 3.1 ajax response Forbidden 403

Aravind Kumar B 21 Reputation points
2021-02-06T05:53:49.26+00:00

My Asp.net core 3.1 Application working fine in Gen3 VPS Windows server 2012 r2 IIS V8.5. I have purchase Gen4 VPS Windows server 2016 IIS V10 and same application moved in this server. whenever I call ajax, response are always "forbidden 403".

1.SSL Certificate Working
2.Permission Done
3.Directory Browsing Enable Etc.. Etc..

But still not working. Please kind suggest any other way or anything Missing

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,246 questions
Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,406 questions
0 comments No comments
{count} votes

Accepted answer
  1. MotoX80 32,326 Reputation points
    2021-02-06T14:11:45.277+00:00

    whenever I call ajax,

    Are you trying to read a .xml, or .txt file? Or calling a .asmx web service? Check the handler mappings and see if it's enabled and if there are any request restrictions.

    Check the IIS logs to see if there is any additional info about the request.

    Enable failed requested tracing to get detailed error info.

    https://www.bing.com/search?q=iis+failed+request+tracing

    64814-capture.jpg


0 additional answers

Sort by: Most helpful