T.R | Title | User | Personal Name | Date | Lines |
---|
17.1 | | EMNTAL::STADELMANN | Sepp @ZUO 760-2609 | Thu Feb 06 1997 12:51 | 5 |
| 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.2 | | SEND::PEREZ | The InFAMous Eight | Fri Feb 07 1997 14:22 | 15 |
| 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.3 | still no lucke | EMNTAL::STADELMANN | Sepp @ZUO 760-2609 | Wed Feb 12 1997 08:52 | 51 |
| 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.4 | status = 80030021 | EMNTAL::STADELMANN | Sepp @ZUO 760-2609 | Wed Feb 12 1997 09:48 | 30 |
| 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.5 | what else is m issing ? | EMNTAL::STADELMANN | Sepp @ZUO 760-2609 | Wed Feb 12 1997 10:11 | 57 |
| 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.6 | can demo.bat be used more then once ? | EMNTAL::STADELMANN | Sepp @ZUO 760-2609 | Wed Feb 12 1997 10:23 | 4 |
| also the demo.bat cant run more then one time. I run into the same
sequence of errors as given in .-1
Sepp,
|
17.7 | Error creating type lib | EMNTAL::STADELMANN | Sepp @ZUO 760-2609 | Wed Feb 12 1997 10:29 | 17 |
| 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.8 | lock violation | PAMSRC::PROCTOR | say it with objects | Fri Feb 14 1997 09:46 | 22 |
| 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
|