This error can be encountered after a version update of QuickBooks Pro/Premier/Enterprise causing the application to close unexpectedly or if the application closes unexpectedly. In order to fix this error, the user must modify their QuickBooks Software Development Kit .ini file.
Here is how to fix this error:
Step 1: Go to C:\Documents and Settings\All Users\Application Data\Intuit\QuickBooks or c:\ProgramData\Intuit\
Step 4: Restart QuickBooks and run your program.
Step 5: When we're all done debugging, don't forget to restore the Level in qbsdk.ini to: