Coinitialize error on IntraWeb using ADO

Posted by Jamo on Stack Overflow See other posts from Stack Overflow or by Jamo
Published on 2009-07-16T00:29:31Z Indexed on 2010/04/11 14:43 UTC
Read the original article Hit count: 695

Filed under:
|
|

Already asked on the Evil Exchange, but as always that was no help. I'm having this problem today:

When creating a stand alone web application using IntraWeb, I get this exception in the IDE when I try to test out a session from my app in the browser:

First chance exception at $7C812A6B. Exception class EOleSysError with message 'CoInitialize has not been called'. Process WebContactManager.exe (1112)

If I click "continue" on the IDE exception dialog, the browser itself just shows:

200 OK

...rather than the controls on my main form.

This error does not seem to occur when I replace ADO with other database components such as dbExpress or BDE.

What is this error telling me, and how do I fix it?

(Note I'm using the stock "VCL for the Web" IntraWeb components which come built-in with D2007).

Thanks in advance for any and all help!

© Stack Overflow or respective owner

Related posts about delphi

Related posts about intraweb