Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread EDB Manager - Error #100, Error in Metadata of configuration EDBConfig
Sun, May 31 2009 10:30 PMPermanent Link

JayM
D5 with SP 1, Windows XP SP 3, ElevateDB v2.02, EDB Mgr v2.03 build 13
Note: I have Elevate DB working on RAD Studio 2007 on Vista and DO NOT have the problem described below.

With above setup (D5 and latest Elevate DB on XP), I am just trying to get Elevate DB to work. I have followed "Tutorial" for D5 step by step. Creating Database
works fine and database/tables look fine inside EDB Manager app.

I dropped EDBEngine and EDBSession components on a form and set properties per tutorial. Good so far - EDBEngine can be made "active" without error (no
properties changed except those specified in Tutorial).

Problem comes with EDBSession - Setting "Connected" to true causes "Error #100...Error in Metadata..." So, I can not set EDBSession.Connected to true.

Though EDBSession is NOT connected, EDBDatabase can be set to true which does NOT do me much good. If EDBEngine.SessionName is set to "Tutorial" then
EDBDatabase.Database property dropdown does not show any DB to pick; if SessionName is set to "Default" then ONLY "Configuration" database is available in the
dropdown.


I have completely deleted EDBMgr.Ini and test folder (e.g. C:\Tutorial) and retried numerous times assuming I am doing something wrong.
Also, tried the same with EDBMgr version 1.09.

I have now spent TWO days trying to work this out - no luck. I can't even get the well written tutorial done <shame on me>. I will take anything except "I can't
reproduce it."

Thanks

Jay
Tue, Jun 2 2009 3:34 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Jay,

<< Problem comes with EDBSession - Setting "Connected" to true causes "Error
#100...Error in Metadata..." So, I can not set EDBSession.Connected to true.
>>

What is the exact #100 error message that you're seeing ?  It matters
because it will tell me what the problem is.

<< Though EDBSession is NOT connected, EDBDatabase can be set to true which
does NOT do me much good. If EDBEngine.SessionName is set to "Tutorial" then
EDBDatabase.Database property dropdown does not show any DB to pick; if
SessionName is set to "Default" then ONLY "Configuration" database is
available in the dropdown. >>

The SessionName property for all EDB components except the TEDBEngine
component *must* be set to the same value - the value of the SessionName
property for the TEDBSession component being used.  You cannot leave them
with the value of "Default".  If they aren't set the same, then they are
using different sessions, thus possibly not seeing the same configuration
file, thus not seeing the same databases, etc.

--
Tim Young
Elevate Software
www.elevatesoft.com

Wed, Jun 3 2009 9:45 PMPermanent Link

JayM
<< What is the exact #100 error message that you're seeing ?  It matters
because it will tell me what the problem is.''>>

As I noted earlier, none of the properties have been changed (password, signature, etc have been changed. This being D5 - using ANSI). There are NO EDBTable or
EDBQuery components on the Data Module yet (only Engine, Session and Database component). Session Name is set to "Tutorial" since this is following your tutorial.


Exact working of Error Message: ElevateDB Error #100 There is an error in the metadata for the configuration EDBConfig (Signature, password, character set
(ANSI/Unicode). or version number mismatch).

Exception details (Eurekalog Log) : Eureka Log info formats much better with proportional font (Courier New).
==========================

EurekaLog 6.0.3

Application:
--------------------------------------------------------------------------
 1.1 Start Date      : Wed, 3 Jun 2009 21:28:50 -0400
 1.2 Name/Description: delphi32.exe - (Delphi-32 Development Environment)
 1.3 Version Number  : 5.0.6.18
 1.4 Parameters      :
 1.5 Compilation Date:
 1.6 Up Time         : 2 minutes, 45 seconds

Exception:
--------------------------------------------------------------------------
 2.1 Date          : Wed, 3 Jun 2009 21:31:35 -0400
 2.2 Address       : 00408C55
 2.3 Module Name   : delphi32.exe - (Delphi-32 Development Environment)
 2.4 Module Version: 5.0.6.18
 2.5 Type          : Exception
 2.6 Message       : ElevateDB Error #100 There is an error in the metadata for the configuration EDBConfig (Signature, password, character set (ANSI/Unicode), or
version number mismatch).
 2.7 ID            : F7C6
 2.8 Count         : 1
 2.9 Status        : New
 2.10 Note         :

User:
-------------------------------------------------------
 3.1 ID        : Owner
 3.2 Name      :  
 3.3 Email     :
 3.4 Company   :
 3.5 Privileges: SeShutdownPrivilege             - OFF
                 SeChangeNotifyPrivilege         - ON
                 SeSecurityPrivilege             - OFF
                 SeBackupPrivilege               - OFF
                 SeRestorePrivilege              - OFF
                 SeSystemtimePrivilege           - OFF
                 SeRemoteShutdownPrivilege       - OFF
                 SeTakeOwnershipPrivilege        - OFF
                 SeDebugPrivilege                - OFF
                 SeSystemEnvironmentPrivilege    - OFF
                 SeSystemProfilePrivilege        - OFF
                 SeProfileSingleProcessPrivilege - OFF
                 SeIncreaseBasePriorityPrivilege - OFF
                 SeLoadDriverPrivilege           - ON
                 SeCreatePagefilePrivilege       - OFF
                 SeIncreaseQuotaPrivilege        - OFF
                 SeUndockPrivilege               - ON
                 SeManageVolumePrivilege         - OFF
                 SeImpersonatePrivilege          - ON
                 SeCreateGlobalPrivilege         - ON

Active Controls:
---------------------------------------
 4.1 Form Class   : TPropertyInspector
 4.2 Form Text    : Object Inspector
 4.3 Control Class: TPropInspEdit
 4.4 Control Text : False

Computer:
----------------------------------------------------------------------------
 5.1 Name          : MAVI_GATEWAY
 5.2 Total Memory  : 2048 Mb
 5.3 Free Memory   : 1530 Mb
 5.4 Total Disk    : 54.19 Gb
 5.5 Free Disk     : 35.54 Gb
 5.6 System Up Time: 53 minutes, 49 seconds
 5.7 Processor     : Intel(R) Pentium(R) 4 CPU 3.20GHz
 5.8 Display Mode  : 1600 x 1200, 32 bit
 5.9 Display DPI   : 96
 5.10 Video Card   : NVIDIA GeForce 6200 (driver 6.14.11.7813 - RAM 256 MB)
 5.11 Printer      : Brother MFC-9840CDW Printer (driver 1.07)

Operating System:
------------------------------------
 6.1 Type    : Microsoft Windows XP
 6.2 Build # : 2600
 6.3 Update  : Service Pack 3
 6.4 Language: English
 6.5 Charset : 0

Network:
---------------------------------
 7.1 IP Address: 192.168.053.100
 7.2 Submask   : 255.255.255.000
 7.3 Gateway   : 192.168.053.001
 7.4 DNS 1     : 068.105.028.012
 7.5 DNS 2     : 068.105.029.012
 7.6 DHCP      : ON             

Call Stack Information:
----------------------------------------------------------------------------------------
|Address |Module         |Unit         |Class                  |Procedure/Method  |Line|
----------------------------------------------------------------------------------------
|Running Thread: ID=5672; Priority=0; Class=; [Main]                                   |
|--------------------------------------------------------------------------------------|
|7C90D05E|ntdll.dll      |             |                       |NtContinue        |    |
|40004B38|Vcl50.bpl      |System.pas   |                       |_LStrAsg          |    |
|77F67881|SHLWAPI.dll    |             |                       |PathCanonicalizeW |    |
|40004350|Vcl50.bpl      |System.pas   |                       |_RaiseExcept      |    |
|40002C48|Vcl50.bpl      |System.pas   |                       |_FreeMem          |    |
|40003E90|Vcl50.bpl      |System.pas   |                       |_AfterConstruction|    |
|40004350|Vcl50.bpl      |System.pas   |                       |_RaiseExcept      |    |
|0460CACC|edb109d5run.bpl|Edbconfig.pas|TEDBConfigObject       |CheckEngineVersion|    |
|0465E418|edb109d5run.bpl|Edbobjmgr.pas|TEDBConfigObjectManager|LoadConfigObject  |    |
|0465E1E4|edb109d5run.bpl|Edbobjmgr.pas|TEDBConfigObjectManager|ReadConfigObject  |    |
|0465EBC4|edb109d5run.bpl|Edbobjmgr.pas|TEDBConfigObjectManager|BeginRead         |    |
|0465E6D8|edb109d5run.bpl|Edbobjmgr.pas|TEDBConfigObjectManager|Open              |    |
|046C1018|edb109d5run.bpl|Edbcomps.pas |TEDBSession            |InternalConnect   |    |
|40021738|Vcl50.bpl      |Typinfo.pas  |                       |SetOrdProp        |    |
|400DD31C|Vcl50.bpl      |Dsgnintf.pas |TPropertyEditor        |SetOrdValue       |    |
|40003CAC|Vcl50.bpl      |System.pas   |                       |_CallDynaInst     |    |
|4006B6B0|Vcl50.bpl      |Controls.pas |TControl               |WndProc           |    |
|4006E1A4|Vcl50.bpl      |Controls.pas |TWinControl            |WndProc           |    |
|7E4196B8|user32.dll     |             |                       |DispatchMessageA  |    |
|4005AA04|Vcl50.bpl      |Forms.pas    |TApplication           |ProcessMessage    |    |
|4005AAB4|Vcl50.bpl      |Forms.pas    |TApplication           |HandleMessage     |    |
|4005AC48|Vcl50.bpl      |Forms.pas    |TApplication           |Run               |    |
----------------------------------------------------------------------------------------


Assembler Information:
------------------------------------------------------------------------
00408C37  mov     eax, [eax+$0830]
00408C3D  call    Propinsp.TPropertyInspector.ModalEdit
00408C42  ret
00408C43  nop
00408C44  push    ebx
00408C45  mov     ebx, edx
00408C47  mov     ecx, ebx
00408C49  mov     dl, $01
00408C4B  mov     eax, dword ptr [Exception]
00408C50  call    Sysutils.Exception
00408C55  call    System._RaiseExcept                    ; <-- EXCEPTION
00408C5A  pop     ebx
00408C5B  ret



<<==================================>>

"Tim Young [Elevate Software]" wrote:

Jay,

<< Problem comes with EDBSession - Setting "Connected" to true causes "Error
#100...Error in Metadata..." So, I can not set EDBSession.Connected to true.
>>

What is the exact #100 error message that you're seeing ?  It matters
because it will tell me what the problem is.

<< Though EDBSession is NOT connected, EDBDatabase can be set to true which
does NOT do me much good. If EDBEngine.SessionName is set to "Tutorial" then
EDBDatabase.Database property dropdown does not show any DB to pick; if
SessionName is set to "Default" then ONLY "Configuration" database is
available in the dropdown. >>

The SessionName property for all EDB components except the TEDBEngine
component *must* be set to the same value - the value of the SessionName
property for the TEDBSession component being used.  You cannot leave them
with the value of "Default".  If they aren't set the same, then they are
using different sessions, thus possibly not seeing the same configuration
file, thus not seeing the same databases, etc.

--
Tim Young
Elevate Software
www.elevatesoft.com
Fri, Jun 5 2009 3:56 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Jay,

<< As I noted earlier, none of the properties have been changed (password,
signature, etc have been changed. This being D5 - using ANSI). There are NO
EDBTable or EDBQuery components on the Data Module yet (only Engine, Session
and Database component). Session Name is set to "Tutorial" since this is
following your tutorial.

Exact working of Error Message: ElevateDB Error #100 There is an error in
the metadata for the configuration EDBConfig (Signature, password, character
set (ANSI/Unicode). or version number mismatch). >>

This indicates that you're using EDB 1.x - the error message is more
specific in EDB 2.x.  Are you using the EDB Manager to work with the
configuration and database prior to working with this test application ?  If
so, then what is the version of the EDB Manager being used, as indicated by
the Help/About dialog in the manager ?

Somewhere you've got a mismatch in:

1) The ANSI/Unicode version of the engine vs. the version used to create the
configuration file
2) The major version of the engine vs. the version used to create the
configuration file

--
Tim Young
Elevate Software
www.elevatesoft.com

Image