Answered by:
ASP.NET WebAPI Response 404

Question
-
Hi all,
I created an Azure WebSite and uploaded an ASP.NET WebAPI application. Then I developed a WP8 app that calls one of the API of that web application and sometimes (not always) I receive this error "Response status code does not indicate success: 404"
How can I investigate the reason of the status 404 inside Windows Azure? I'm using the free version of Azure WebSite.
Thanks,
eo
Emanuele
- Edited by Emanuele Origgi Wednesday, August 27, 2014 2:36 PM
Wednesday, August 27, 2014 2:35 PM
Answers
-
IIS logs will have every request processed by the server. How are you reviewing these logs?
Jim Cheshire | Microsoft
- Proposed as answer by Azam Khan - MSFT Wednesday, October 29, 2014 3:22 AM
- Marked as answer by Azam Khan - MSFT Thursday, October 30, 2014 3:08 AM
Tuesday, September 2, 2014 12:26 PM
All replies
-
Hi,
Please refer this link and check if it helps:
http://code.msdn.microsoft.com/WCF-WebApi-REST-Entity-4cd7f7bdAlso refer this link for more information:
http://azure.microsoft.com/en-us/documentation/articles/web-sites-publish-source-control/Regards,
Azam Khan- Proposed as answer by Azam Khan - MSFT Wednesday, October 29, 2014 3:22 AM
Wednesday, August 27, 2014 4:27 PM -
Check your IIS logs to see what the sub-status code is. That will help you to determine what the cause is.
Jim Cheshire | Microsoft
Wednesday, August 27, 2014 4:39 PM -
Hi Jim,
I checked the IIS logs but I found only the data regarding the requests with status code 200.
Is it possible to register also the requests with status code 404 and 403?
Thanks
Emanuele
Sunday, August 31, 2014 1:50 PM -
IIS logs will have every request processed by the server. How are you reviewing these logs?
Jim Cheshire | Microsoft
- Proposed as answer by Azam Khan - MSFT Wednesday, October 29, 2014 3:22 AM
- Marked as answer by Azam Khan - MSFT Thursday, October 30, 2014 3:08 AM
Tuesday, September 2, 2014 12:26 PM