Last post Jul 31, 2009 02:31 AM by Mikesdotnetting
Jul 30, 2009 09:06 AM|KulerMaster|LINK
The target server is writen in Cold Fusion and i have no access to there.
In addition i get only this error msg which is not very helpful:
The remote Server returned an error: (500) Internal Server Error
What can i do in order to come with a more friendly exception message?
Am i overlooking something obvious in my code?
Jul 31, 2009 02:31 AM|Mikesdotnetting|LINK
Before writing resultData to the page, check to see if the content includes the string "The remote Server returned an error: (500) Internal Server Error". If it does, change resultData to a more friendly message.
You might just want to look at the html of the response that the ColdFusion server is returning. That's ideally what you need to check for
in your test.