Getting error messages in IE 8