handle Http404 error when generating saved reports

http://manage.dimagi.com/default.asp?143618