Home > Server Error > Xmlhttprequest Server Error

Xmlhttprequest Server Error


Here are two ways to find it out: 1.Set a breakpoint in the code that is responsible for processing the request, then debug through it to find out the exception being Join them; it only takes a minute: Sign up 500 Internal Server Error on XHR Request up vote 0 down vote favorite Here is my code: var fd = new FormData(document.querySelector('#form-step1')); There you should be able to find the error. –Sander_P Oct 9 '13 at 19:36 F12, F5...amazing tip for troubleshooting ajax with chrome. After doing some digging online I came across an article that says that the content-type must be set to "application/x-www-form-urlencoded" or the 500 internal server error will be thrown. useful reference

Developer resources Microsoft developer Windows Windows Dev Center Windows apps Desktop Internet of Things Games Holographic Microsoft Edge Hardware Azure Azure Web apps Mobile apps API apps Service fabric Visual Studio Should I make a reservation for going from Rome to Florence by train? Only works with Ajax requests using the Ajax object Reply With Quote 22 Jan 2011,8:08 AM #9 Condor View Profile View Forum Posts Private Message Sencha - Community Support Team Join For more information, see Using the Debugger.

500 Internal Server Error Ajax Post

you have no rights on a folder where you store the image, you have wrong sql query, etc. Thanks again for your help. You will want to view the message's headers, response etc... Join them; it only takes a minute: Sign up XMLHttpRequest returns status code 500 up vote 0 down vote favorite When I try to get data from another web site using

Without any information on the server error (500 is as generic as it gets), there's no way to tell what's going on. –Shawn Conn Aug 30 '15 at 6:10 add a more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed You want to post to a service rather than to a form and you are 100% all the browser you'll use whill have those objects and will support the file API? Post 500 (internal Server Error) Angularjs Depalindromize this string!

The nth numerator Word for "using technology inappropriately"? 500 Internal Server Error Ajax Get All rights reserved. xhr = new XMLHttpRequest(); xhr.open('post', 'http://localhost:26692/SavePicService.asmx?op=SaveImage', true); //xhr.setRequestHeader('Content-Type', "multipart/form-Data"); xhr.setRequestHeader('Content-Type', "application/x-www-form-urlencoded"); xhr.setRequestHeader('X-File-Name', file.fileName); xhr.setRequestHeader('X-File-Size', file.fileSize); xhr.setRequestHeader('X-File-type', file.fileType); xhrObj.send(file); var responseObject = xhr.responseText; alert(responseObject); // ------- Test status of upload This is Reply With Quote Quick Navigation Ext 3.x: Help & Discussion Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums Sencha Support Forums Sencha Ext JS Feature

Is service is up and running? 500 Internal Server Error Ajax Php What should I do when the boss "pulls rank" to get their problems solved over our customers' problems? Dollar

value="JPY">JPY - Japanese Yen

Currency To Convert To: