question

AravindKumarB-9368 avatar image
0 Votes"
AravindKumarB-9368 asked ·

Asp.net core 3.1 ajax response Forbidden 403

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

windows-server-2016dotnet-aspnet-core-mvcdotnet-aspnet-core-webapi
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

MotoX80 avatar image
0 Votes"
MotoX80 answered ·

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



capture.jpg (97.4 KiB)
· 1 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thankyou So Much Its Working

0 Votes 0 ·