Author: tobleronne | Posted on: 9/29/2009 6:51:37 AM | Views : 667

 Hi all,
i wrote an ashx file and it work on cassini (VS web server), and when i deploy it on IIS 6.0, nothing work.
web.config :
<add verb="*" path="GoHandler" type="WebSite.CommonClass.XmlHttpRequest, WebSite, Version=1.0.0.0" />
Js file :
 
function DeleteChildExchangeById(rowToDelete,parentExchangeId, childExchangeId, typeOption) { var xhr = getXhr(); if (xhr) { xhr.onreadystatechange = function() { if (xhr.readyState == 4 && xhr.status == 200) { .... } } xhr.open("POST", "GoHandler", true); xhr.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); var data = "Id=" + Id; xhr.send(data); } } ...

Go to the complete details ...