docs

Home Templates Classes Guides

Troubleshooting

This page has two parts. First, core practices that prevent most issues. Second, a list of common problems and how to resolve them.


Essential guidance

Use iterators when you expect more than 50 records

Add tags in the correct order

Case sensitivity

Demo mode limitations of the wrapper DLL

Viewing XML


Common problems and fixes

Nothing happens the first time the program runs

Symptom: The app appears to freeze on the first call to QuickBooks.
Cause: QuickBooks is waiting for the user to authorize access.
Fix:

Related: Application Authorization, App ID, and App Name


All requests return code -1002 or -1003

Cause: Demo mode.

Related: Licensing and Demo Mode


ValidateResponse returns FALSE even though the XML looks fine

Likely causes:

! Build
QBWriter.Init('CustomerQuery')

! Parse
QBParser.Init('CustomerQuery', QBSessionMgr)

IF QBParser.ValidateResponse()
  ! OK
ELSE
  ! Not found or not valid
END

Related: Using the XML Viewer


Nothing is returned from a query

Possible causes:

Related:


The app crashes or shows a .NET error when calling the DLL

Cause: The ProSeriesQBWrapperV2.dll is missing, not on the PATH, or does not match the LIB used at compile time.
Fix:


DebugView shows logs, but the app seems stuck

Likely cause: The app attempted a request that failed or is awaiting authorization.
Fix:

Related:


See also

Home Templates Classes Guides