crash on vista due to MDAC and JET issues

  • Hi!


    When I try to start ConquestDICOMServer.exe I get:


    "Exception Exception in module ConquestDICOMServer.exe at 000DED0B.
    Error creating object. Please verify that the Microsoft Data Access Components 2.1 (or later) have been properly installed."


    I run Vista Ultimate x86 SP2, MDAC 2.8 should be installed with OS.


    Anyone got an idea?


    regards,
    Karsten

  • Hi Marcel,


    it is a new install (no dicom.ini) and there is one message box before (windows close/debug messagebox informing me that the "DICOM server user interface" is not working).
    Windows event viewer provides this information:


    Protokollname: Application
    Quelle: Application Error
    Datum: 10.07.2010 20:23:36
    Ereignis-ID: 1000
    Aufgabenkategorie:(100)
    Ebene: Fehler
    Schlüsselwörter:Klassisch
    Benutzer: Nicht zutreffend
    Computer: LCARS3
    Beschreibung:
    Fehlerhafte Anwendung ConquestDICOMServer.exe, Version 1.4.14.2, Zeitstempel 0x2a425e19, fehlerhaftes Modul kernel32.dll, Version 6.0.6002.18005, Zeitstempel 0x49e037dd, Ausnahmecode 0x0eedfade, Fehleroffset 0x0003fbae, Prozess-ID 0x1454, Anwendungsstartzeit 01cb205d02fed9ed.
    Ereignis-XML:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2010-07-10T18:23:36.000Z" />
    <EventRecordID>44744</EventRecordID>
    <Channel>Application</Channel>
    <Computer>LCARS3</Computer>
    <Security />
    </System>
    <EventData>
    <Data>ConquestDICOMServer.exe</Data>
    <Data>1.4.14.2</Data>
    <Data>2a425e19</Data>
    <Data>kernel32.dll</Data>
    <Data>6.0.6002.18005</Data>
    <Data>49e037dd</Data>
    <Data>0eedfade</Data>
    <Data>0003fbae</Data>
    <Data>1454</Data>
    <Data>01cb205d02fed9ed</Data>
    </EventData>
    </Event>




    Is there a problem with software that has to be installed in order to get Conquest working?
    Additionally I have another problem with K-PACS: http://forum.image-systems.biz/viewtopic.php?f=1&t=2317
    Could there be a correlation between these two problems?


    regards,
    Karsten

  • Hi!


    I installed BDE v5.2 for Vista (UAC was the first thing to disable after OS install ;) ) and got BDE working (permissions set as described at the link, path in BDE administrator set and BDE information utility says everything is OK).
    But still the same error message :(.


    Maybe it has something to do with the GUI? As I posted here (http://forum.image-systems.biz/viewtopic.php?f=1&t=2317) other programs run well, could there be a file or a dll missing?


    Another idea ;)?


    kind regards,
    Karsten

  • Hi Karsten,


    I would delete the directory where you installed Conquest. Unzip the files again. Right click Conquest and run as administrator. The part that makes me think it is Vista security is "Error creating object" message. You may have to turn off most of the security when you install it and turn it back on after it running. It has been a while since I install Conquest on a Vista machine and I remember having to lower the security. Now when I did do it, I had first installed MySql and used it as the database.


    Bruce

  • Hi Bruce,


    still the same problem. I freshly installed 1.4.16alpha as well as 1.4.15 and ran Conquest as administrator.
    How can I tell Conquest which database I'd like to use? Maybe there are some files missing on my computer?


    According to the included pdf manual there should be some kind of an installation window where one can chose the desired database type. This window doesn't show up.


    GUI problem? DLL problem?


    regards,
    Karsten

  • Hi,


    the crash occurs somewhere when the GUI is testing which database drivers are available. This code has not recently changed and is identical for 1.4.15 up. Can you check that as the error occurs the file "dgatesop.lst, acrnema.map, and dicom.sql" are yes or no created?


    Some things to try: does the command "conquestdicomserver /?" crash as well?


    delete dicom.ini; create empty file USESQLITE; try to start again.


    But I believe that the Delphi initialization crashes when creating a number of ADO tables. This is done even before my code starts. The exception occurs probably here, where it tries to set up an COM connection to ADO objects such as recordset, connection, dataspace, command:


    function CreateADOObject(const ClassID: TGUID): IUnknown;
    ...
    Status := CoCreateInstance(ClassID, nil, CLSCTX_INPROC_SERVER or
    CLSCTX_LOCAL_SERVER, IUnknown, Result);
    ...
    if (Status = REGDB_E_CLASSNOTREG) then
    ----> raise Exception.CreateRes(@SADOCreateError) else
    OleCheck(Status);
    end;


    I found a suggestion that the error is due to a missing JET engine. See here:


    http://support.microsoft.com/kb/278604.


    These are the COM GUIDs that are used and are probably missing:


    CLASS_Connection: TGUID = '{00000514-0000-0010-8000-00AA006D2EA4}';
    CLASS_Command: TGUID = '{00000507-0000-0010-8000-00AA006D2EA4}';
    CLASS_Recordset: TGUID = '{00000535-0000-0010-8000-00AA006D2EA4}';
    CLASS_Parameter: TGUID = '{0000050B-0000-0010-8000-00AA006D2EA4}';
    CLASS_DataSpace: TGUID = '{BD96C556-65A3-11D0-983A-00C04FC29E36}';
    CLASS_DataFactory: TGUID = '{9381D8F5-0288-11D0-9501-00AA00B911A5}';


    edit: these point to msado15.dll, msadco.dll, and msadcf.dll (you can find them in the registry). On my vista 64bits ultimate sp1 system these entries and files exist.


    Marcel

  • Hi Marcel,


    the files "dgatesop.lst, acrnema.map, and dicom.sql" are not created.
    The command "conquestdicomserver /?" crashes as well.
    When I create the empty file "USESQLITE" (in directory webserver and/or where ConquestDICOMServer.exe resides) and delete dicom.ini the ConquestDICOMServer.exe still crashes.


    You were right about the missing JET engine! I did not have the dll's and the COM GUIDs were also missing. I did a quick search on the web and found:
    1. "Repair a corrupted MDAC installation" at http://www.arcomit.co.uk/support/kb.aspx?kbid=000027 and
    2. "Error in ConnectDB: Status = 5" at http://www.kaiwu.de/cgi-bin/sb…?&a=show&forum=14&show=42


    As mentioned under 1. I installed all necessary dll's and registered them as shown under 2.


    Now everything works fine - even my K-PACS problem is solved :D!


    thanks a lot :),
    Karsten

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!