c# - HRESULT 80040154 When Using QBFC -


i have simple application connects quickbooks, runs customer query, disconnects. in dev environment (windows 7, x64) works expected. when spinning fresh vm (again windows 7, x64), com exception hresult 80040154. error has been reproduced on various other machines, i've had success on various other machines. can't seem find common denominator here. i've ensured qbfc installed , assemblies compiled targeting x86 platform.

here connection code. com exception throws when try create instance of qbsessionmanager.

qbsessionmanager qbs = new qbsessionmanager(); imsgsetrequest requests = qbs.createmsgsetrequest("us", 8, 0); requests.attributes.onerror = enrqonerror.roecontinue;  qbs.openconnection2("application name", "application name", enconnectiontype.ctlocalqbd); qbs.beginsession(string.empty, enopenmode.omdontcare); 

any ideas? first qb sdk application, please let me know if i've perhaps missed obvious step.

this resolved installing qbfc11. though project references qbfc12, apparent qbfc11 must installed connection succeed. chalk inexperience quickbooks sdk on end.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -

debian - 500 Error upon login into Plesk Admin - auth.php3? -