Fix: Unhandled Exception (HRESULT: 0x8002000B DISP_E_DABINDEX)

Fix: Unhandled Exception (HRESULT: 0x8002000B DISP_E_DABINDEX)

If you attempt to generate a Crystal Report, you may receive an unhandled exception error per below that prevents your reports from generating.

 

Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.

Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_DABINDEX))

 

  1. Check your stored procedure in SQL Server and Visual Studio and parameters names are correct.
 
  1. Do not use a parameter name for SetParameterValue and instead use the index which will start from 0.
 
  1. Verify linked sheets actually exist (such as sheets in an Excel workbook).
 
  1. Finally, remember that field names in Crystal Reports are case sensitive. Ensure spelling and case is exactly the same when you pass them in parameters.
 






* Please use the comment form below. Comments are moderated.*



Related Posts

 

Comments

No comments made yet. Be the first to submit a comment
Saturday, 23 November 2024