Azure Mobile Service Error (Unexpected Connection failure.)-Collection of common programming errors
Hi Randall,
Thanks for your Idea. You provided me some direction to think. Your Idea to isolate the issue was great thing to start with. I should have thought that way from beginning, but some how not able to.
I created a separate app for testing this and added the code to launch section of the app:
WinJS.xhr({ url: “https://diabetolyzer.azure-mobile.net/tables/food_items/”, type: “get”, headers: { “X-ZUMO-APPLICATION”: “MyKEY” } }).done(function (response) { var test = response; }, function (error) { var test = error; }, function (Progress) { var test = Progress; progress.innerText += ” .”;
});
Result of this code is again ending up in error block with empty response and status code as “0”.
I also tried a new machine with fresh Win8 and visual studio + azure mobile sdk. Nothing else is installed and no setting changes done. When I tried to run the same app on this machine I got
“Internal Server Error”. Not sure if this is the fault of azure mobile client or the code or something else. Now I am going to try to copy the functionality from sdk into my own mobile client using jQuery. I’ll come back later to check if some one is able to suggest some thing meaning full like you have.
Thanks.
Just for your notes – The link you provided in this reply is not working.