$ 0 0 You can use GETLASTERRORTEXT to get the last error message that was generated. To know more check msdn.microsoft.com/.../dd355270(v=nav.90).aspx