[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference pamsrc::objectbroker_dtc

Title:ObjectBroker Desktop Connection
Moderator:RECV::STORM
Created:Mon Jan 06 1997
Last Modified:Thu Jun 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:40
Total number of notes:125

17.0. "error during demo.bat" by EMNTAL::STADELMANN (Sepp @ZUO 760-2609) Thu Feb 06 1997 15:27

    Running the DTC DEMO on my Windows 95 system (ServicePack 1) system,
    all run's fine untill the Object Explorer is started. The next cklick
    to the Demo message box brings up the error message box from Microsoft
    Visual Test which says.
    
    
    Listview item "ObjectBroker" not found.
    
    F:\Sandbox\Src\Source\Demo\Desktop\BankDemo\Bank11.mst(289)
    Error code:144
    
    				<OK>
    
    Note: I do have a drive F: but my Drive F does not know the path given
    at all. So what ?
    
    Also this Error Message is from Microsoft Visual Test which is not
    installaled on my current Windows 95 System
    
    Sepp,
T.RTitleUserPersonal
Name
DateLines
17.1EMNTAL::STADELMANNSepp @ZUO 760-2609Thu Feb 06 1997 15:515
    OK. one bug I've found: I did not adjust the DEMO.BAT and SETUP.BAT to
    have them point to the propper OBB_ROOT. No it does but gives the same
    error.
    
    Sepp
17.2SEND::PEREZThe InFAMous EightFri Feb 07 1997 17:2215
  Make sure that your AUTOEXEC.BAT file sets the PATH to inculde the
ObjectBroker Bin directory and reboot. Go to the Start Menu Programs
for ObjectBroker and start up Digital Object Explorer. Can you then
follow the path \ObjectBroker\Advertisements? If you get there can
you open the CheckAccount object?

  That is essentially what the demo is trying to do at the stage you
get the error described...
					Craig

PS The demo is written using Visual Test and the appropriate run time bits
   are placed into the Example11 directory, this is why you see Visual Test
   errors. The file path is the source of the script which is gets encoded
   into the binary image that goes onto the kit.

17.3still no luckeEMNTAL::STADELMANNSepp @ZUO 760-2609Wed Feb 12 1997 11:5251
    I can start the Object Explorer and I can go down to
    \ObjectBroker\Advertisements
    
    Under .\Advertisements I can see
    
    BankAcct
    BankAcctFactory
    CheckAccount
    SaveAccount
    
    When I try to open CheckAccount,it takes some 20 seconds and
    then the following error message box pop's up
    
    ObjectBroker OLE Agent Server
    Cannot obtainTypeInfo for the COM object
    Lack of Type Information will prohibit the Agent
    from synthesizing a presentation for this object
    			<OK>
    
    After <OK> the window
    
    ObjectBroker OLE Agent Server - CheckAccount pops up. It sowhs a
    synthesized window named CheckAccount. The Class Name is set to
    (Unregistered Class) the class id is 6FC6F613-A680-02C7-7D48-6D000000
    
    So, what is wrong so far is this error message box and the fact that
    the class Name seams not to be registered.
    
    When I then do a OPEN in this I get a Window 'OPEN? asking
    
    Type in the path of the object you want to open
    
    Open: ......
    
    <OK> <CANCEL> <BROWSE>
    
    <BROWSE> brings me to another OPEN WIndow showing ObjectBroker as a
    Folder, I can go down this folder and I end up again at CheckAccount
    Object. I select this and can se a path
    
    \ObjectBroker\Advertisements\CheckAccount
    
    <OK> does not show any action taking place; remember my class seams to
    be unregistered.
    
    Sepp,
    
    Is it helpfule to add the path to the demo application (BANK11) to the
    PATH in Autoexec.Bat ?
    
    
17.4status = 80030021EMNTAL::STADELMANNSepp @ZUO 760-2609Wed Feb 12 1997 12:4830
    Well I can synthesize now; I just copied all from Bank11 examples into
    F:\ORBDEMO\OO15 and included this path into my PATH environment
    variable. Then I deleted my bank11s.exe and run setup. I unregistered
    and registered all objects using the generated  .obr file, then I
    reapplied obbgencom -T E:\ORB\BIN bank.idl
    
    after that I tried to work using bank11c, all fine, then I did rerun
    the demo, now I can synthesize. Also the synthesized window looks OK
    for me. It shows a DEPOSIT and a WITHDRAW Button. 
    
    The demo runs to it end.
    
    I stored the synthesized CheckAccount Object as a shortcut.
    CheckAccount.xo No action
    
    When I try to reopen CheckAccount in the Objectexplorer the following
    error message box pop's up
    
    ObjectBroker OLE Agent Server
    ! Unable to open the metadata library e:\orb\data\Transformation
    AGent\xole.mlb
    
    status = 80030021
    
    In fact the file xole.mlb is there, acompanied by xole.lib and
    XoleQuickKey.dat
    
    What is the status above telling us ?
    
    sepp,
17.5what else is m issing ?EMNTAL::STADELMANNSepp @ZUO 760-2609Wed Feb 12 1997 13:1157
    Also one more.
    
    ObjectBroker OLE Agent Server
    Unable to open the metadata library e:\orb\data\Transformation
    Agent\xole.mlb
    status = 80030021
    <OK>
    
    ObjectBroker OLE Agent Server
    Unable to open the metadata library e:\orb\data\Transformation
    Agent\xole.ilb
    status = 80030021
    <OK>
    
    ObjectBroker OLE Agent Server
    ! XoleQuickKey file cannot be opened
    Error code: b
    <OK>
    
    .... but a XoleQuickKey.dat file is there as well
    leads to
    
    ObjectBroker OLE Agent Server
    ! Unable to hash a unique key for this instance
    The Oref for this instance appears to be the same as another
    <OK>
    
    leads to
    
    ObjectBroker OLE Agent Server
    ! Faild to get instance UUId for this object
    <OK>
    
    leads to 
    ObjectBroker OLE Agent Server - CheckAccount showing
    CheckAccount
    Class Name (Unregistered Class)
    Class ID	a UUId
    acctType	Checking
    
    
    Attempting to open SaveAccount Object under Advertisements starts over
    with the same sequence of errors except that a window showing acctType
    has Savings no and the UUID is of different value.
    
    Can I realy use ObjectExplorer outside the context created by DEMO.BAT
    because thats the only time I could see ObjectExplorer
    opening/synthesizing an object and then displaying the result, a nice
    window to the Object CheckAccount.
    
    All other more direct attempts to open/synthesizing an object failed so
    far with the error sequence as show above.
    
    
    Sepp,
    
    
17.6can demo.bat be used more then once ?EMNTAL::STADELMANNSepp @ZUO 760-2609Wed Feb 12 1997 13:234
    also the demo.bat cant run more then one time. I run into the same
    sequence of errors as given in .-1
    
    Sepp,
17.7Error creating type libEMNTAL::STADELMANNSepp @ZUO 760-2609Wed Feb 12 1997 13:2917
    I found the following two log files
    
    DIBANK_CheckAccount.log
    
    Microsoft (R) Type Library Generator  Version 2.03.3027
    Copyright (c) Microsoft Corp. 1993-1995.  All rights reserved.

    F:\ORBDEMO\OO15\DIBANK_CheckAcct.odl : fatal error M0003: 
    Error creating type library while processing 
    item 'DIBANK_CheckAcctLibrary': Access denied.
    
    And similare info is stored in DIBANK_Account.log
    
    COuld this mean that some kind of sharing violation problem is the 
    cause for all this error in sequence seen ?
    
    Sepp,
17.8lock violationPAMSRC::PROCTORsay it with objectsFri Feb 14 1997 12:4622
    You're getting a storage lock violation.
    
    You may have another xole.exe process running as a result of an
    embedded activation.  Check the task manager.  With the kit you
    have, there is a known problem where only one agent server or
    control can be running at a time.  Sorry for the trouble..
    
    
    bob
    ----
    
    Winerror.h
    
    // MessageId: STG_E_LOCKVIOLATION
    //
    // MessageText:
    //
    //  A lock violation has occurred.
    //
    #define STG_E_LOCKVIOLATION              0x80030021L