title: Failed to retrieve data from the database, Database Vendor Code 9421
body: <p>I have a report made in Crystal Reports XI. The report is generated and exported to PDF in visual basic script using COM interface. Generally everything is running smoothly, but in one case generation breaks with error:</p>
  
  <p><strong>Failed to retrieve data from the database. Details: [Database Vendor Code 9421]</strong></p>
  
  <p>Database used is <strong>MSSQL 2005</strong> connected over <strong>ODBC</strong> to CR XI. When I am opening report with exactly the same parameters in Designer, everything works fine.</p>
  
  <p>It looks like it is data related, but it is hard to trace since the whole report is pretty sophisticated. Anyway I spent half a day on crawling over Dr. Google and it seems that he has no clue what might be an issue.</p>