title: HRESULT 80040154 When Using QBFC
body: <p>I have a very simple application that connects to QuickBooks, runs a customer query, then disconnects. In my dev environment (Windows 7, x64) everything works as expected. When spinning up a fresh VM (again with Windows 7, x64), I get a COM exception with HRESULT 80040154. This error has been reproduced on various other machines, but I've also had success on various other machines. I can't seem to find the common denominator here. I've ensured QBFC is installed and my assemblies are all compiled targeting the x86 platform.</p>
  
  <p>Here is my connection code. The COM exception throws when I try to create an instance of <code>QBSessionManager</code>.</p>
  
  <pre><code>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);
  </code></pre>
  
  <p>Any ideas? This is my first QB SDK application, so please let me know if I've perhaps missed an obvious step.</p>