Last post Jun 14, 2017 02:33 AM by Cathy Zou
Jun 07, 2017 06:10 PM|Composer Sols|LINK
I've Visual Studio 2015 on Windows 10. I'm working on a MVC web application which calls Web API 2.
I always used IE as my defaultbrowser for debugging. Recently I received windows updates. The update history shows "Feature update to Windows 10, version 1703".
After the updates I'm no longer able to debug my AJAX calls to the API.
Here is what the console shows for edge and Chrome -
"HTTP405: BAD METHOD - The HTTP verb used isnot supported".
For IE 11 the console error is
"SCRIPT7002: XMLHttpRequest: Network Error 0x80700013, Could not complete the operation due to error 80700013."
This used to work before the windows update.
Jun 08, 2017 01:54 AM|JBetancourt|LINK
i use fiddler by telerik to inspect web traffic:
It looks like you have a CORS issue in your application
Jun 08, 2017 11:41 PM|Composer Sols|LINK
Thank you JBetancourt.
Jun 14, 2017 02:33 AM|Cathy Zou|LINK
Hi Composer Sols,
This looks like a session timeout in ASP.Net, not around jQuery / js. I got the same behaviour in a project a few months ago.
You can even change the timeout value, or handle these problems when you met them, for example by this way: Handling session timeout in ajax calls
(here they alert when the error happened) or even this
ASP.NET MVC Session Expiration (here they alert when the timeout will happened).