title: What is causing my OLEDbException, IErrorInfo.GetDescription failed with E_FAIL(0x80004005)
body: <p>I am using an OleDbConnection, OldDbCommand, and OleDbReader against an Access database.</p>
  
  <p>I have a named query in the database which I am calling from the code.</p>
  
  <p>The query works correctly when it is ran from access.</p>
  
  <p>Several resources indicate the error could be caused by using reserved words in the query and to wrap them with brackets.  I am not using any reserved words and have wrapped all column names in brackets anyway to rule it out.</p>
  
  <p>Trying to determine where the problem is, I have simplified the query to a simple </p>
  
  <pre><code>SELECT id FROM table1 WHERE id = 5 
  </code></pre>
  
  <p>which the Ole connection does not throw an exception.</p>
  
  <p>When I introduce the next portion of the query:</p>
  
  <pre><code>SELECT table1.id FROM table1 INNER JOIN storedQuery ON table1.id = storedQuery.id WHERE table1.id = 5" 
  </code></pre>
  
  <p>then I get the exception.</p>
  
  <p>The exception details are as follows:</p>
  
  <blockquote>
    <ul>
    <li>Message: IErrorInfo.GetDescription failed with E_FAIL(0x80004005).</li>
    <li>ErrorCode: -2147467259</li>
    <li>NativeError: -533136361</li>
    <li>SQLState: 3000</li>
    </ul>
  </blockquote>