I had this problem before.
I think, and others in the forum suggested it too, that it's related with 404 responses (file not found), that, for some reason, ajax throws when you click on and image to trigger the async postback.
To "fix" it, I just added some javascript to ignore the error, because, in my case, it was happening randomly and it didn't actually break the application, so the user just has to click again. Here is my code, which, btw, is an adaptation from the tutorials found on the ajax site:
<script type="text/javascript">
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
function EndRequestHandler(sender, args)
{
if (args.get_error() != undefined && args.get_error().httpStatusCode == '500')
{
var errorMessage = args.get_error().message;
args.set_errorHandled(true);
}
}
</script>
Cheers,
Juan