0 Replies Latest reply on Jul 11, 2005 12:42 PM by 447071

    Server with OO4O hangs

      I am writing a COM component that is used by a Server Side (IIS) application.

      In this component, I just create an ODatabase object in a method called by the server. As soon as the method returns, the server hangs. This problem occurs only on my machine.

      I dont have the code to the server so I dont know what the problem is. But have a few pointers:

      1) The server code also accesses the database. It uses the Oracle Provider for OLE DB.

      2) I am able to reproduce the hang by just using the following two statements:

      oboolean bval = OStartup();
      ODatabase odb(datasrc,usrid,passwd);

      3) This problem occurs only on my machine. I am not able to reproduce the problem on other machines.

      4) After the COM method returns I got the following exception in the server (While debugging the Assembly code of the server):

      First-chance exception at 0x0a90afd9 in OurServer.exe: 0xC0000005: Access violation reading location 0x0428001c.

      I know that the details are sketchy, but any help would be greatly appreciated!

      Thanks a lot in advance!