Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 15 total
Thread Error #409 The configuration path is impty
Sun, Aug 3 2008 10:42 AMPermanent Link

Jan-Christian Lupander
When I try to run either the Elevate Trial demos (e.g. createdbddldemo) or an own application I'm always met by error #409. I have set the
configuration path in the TEDBEngine component to a valid value, no change; I have copied in an EDBConfig.EDBCfg file into the folder pointed at,
no change. I have gone through properties on all the components in use, in order to find something wrong. I have read the manual. I have looked
through this newsgroup. No solution!  Now I'm running out of ides! Help!
Jan-Christian
Sun, Aug 3 2008 10:50 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Jan-Christian


First question - can you access your database via EDBManager?

Roy Lambert [Team Elevate]
Mon, Aug 4 2008 5:43 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Jan-Christian,

<< When I try to run either the Elevate Trial demos (e.g. createdbddldemo)
or an own application I'm always met by error #409. I have set the
configuration path in the TEDBEngine component to a valid value, no change;
>>

What version of Delphi are you using to run the demos ?

<< I have copied in an EDBConfig.EDBCfg file into the folder pointed at, no
change. I have gone through properties on all the components in use, in
order to find something wrong. I have read the manual. I have looked through
this newsgroup. No solution!  Now I'm running out of ides! Help! >>

You shouldn't need to do anything with the configuration file for the demos
if you run the CreateDBDDLDemo application first.

--
Tim Young
Elevate Software
www.elevatesoft.com

Mon, Aug 4 2008 11:57 AMPermanent Link

Jan-Christian Lupander
Roy Lambert <roy.lambert@skynet.co.uk> wrote:

Jan-Christian


First question - can you access your database via EDBManager?

Roy Lambert [Team Elevate]



No, for the simple reason that both my own application and the demo application are the ones that should create a database!

BUT, today I managed to create and run the tutorial application described in the ElevateDB manual. No problems whatsoever!
But CreateDBDDL and my own application still don't run. Frown

Jan-Christian
Mon, Aug 4 2008 12:02 PMPermanent Link

Jan-Christian Lupander
"Tim Young [Elevate Software]" <timyoung@elevatesoft.com> wrote:


What version of Delphi are you using to run the demos ?

Answer: Delphi 2007 SP3


<< I have copied in an EDBConfig.EDBCfg file into the folder pointed at, no
change. I have gone through properties on all the components in use, in
order to find something wrong. I have read the manual. I have looked through
this newsgroup. No solution!  Now I'm running out of ides! Help! >>

You shouldn't need to do anything with the configuration file for the demos
if you run the CreateDBDDLDemo application first.

--
Tim Young
Elevate Software
www.elevatesoft.com



Yes, that is what I have understood from the manual too, problem is that it is CreateDBDDL that gives the "config path empty" error and refuses
to run.

Jan-Christian
Mon, Aug 4 2008 2:29 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Jan-Christian,

<< Answer: Delphi 2007 SP3 >>

Okay, I'll give it a try and let you know what I find out.  Running them
with D7 works fine here, which is the baseline test that we do for the
demos.

--
Tim Young
Elevate Software
www.elevatesoft.com

Mon, Aug 4 2008 2:58 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Jan-Christian,

<< Answer: Delphi 2007 SP3 >>

No, I'm also not seeing any issues here running the demos with Delphi 2007.
Can you trace the CreateDBDDLDemo project and see what is happening in this
code in the DemoFormBase.pas unit ?

procedure TfrmDemoBase.FormCreate(Sender: TObject);
begin
 FConfigPath := GetSampleDataPath;

 Engine.ConfigPath := FConfigPath;  //   Right here is where the ConfigPath
is being assigned
 Engine.TempTablesPath := FConfigPath;
end;

--
Tim Young
Elevate Software
www.elevatesoft.com

Tue, Aug 5 2008 12:21 PMPermanent Link

Jan-Christian Lupander
"Tim Young [Elevate Software]" <timyoung@elevatesoft.com> wrote:

Jan-Christian,

<< Answer: Delphi 2007 SP3 >>

No, I'm also not seeing any issues here running the demos with Delphi 2007.
Can you trace the CreateDBDDLDemo project and see what is happening in this
code in the DemoFormBase.pas unit ?

procedure TfrmDemoBase.FormCreate(Sender: TObject);
begin
 FConfigPath := GetSampleDataPath;

 Engine.ConfigPath := FConfigPath;  //   Right here is where the ConfigPath
is being assigned
 Engine.TempTablesPath := FConfigPath;
end;

--
Tim Young
Elevate Software
www.elevatesoft.com



Tim, thanks for your efforts to help me!

Here is a trace of functions/procedures called when starting createdbddl:
(Note: The application folder is at P:\Elevate\Demos\createdbddl, the E: is the system drive)

Form                   Function/Procedure      Comment  
------------------    ----------------------      ---------------------------------------------------------------
DemoFormBase   GetSampleDataPath     result = P:\Elevate\Demos\Data
                                                          (AppPath = P:\Elevate\Demos\createdbddl

DemoFormBase   FormCreate                (FConfigPath = P:\Elevate\Demos\Data

Main form           FormShow

DemoFormBase   FormShow                  call to CreateDataFolder('P:\Elevate\Demos\createdbdll\')

DemoFormBase   CreateDataFolder

DemoFormBase   FormShow                  call Browser.Navigate.... (No result noted!)

Main form           SampleDataBaseExist  ----open

Main form           EngineBeforeStart

          Error #409
                     
The ../Data folder has been created but is empty.
No *.edbcfg files created anywhere

Note: This test was done on a fresh copy of "Demos". No properties on the forms were modified.

Jan-Christian
Wed, Aug 6 2008 8:46 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Jan-Christian,

<< Here is a trace of functions/procedures called when starting createdbddl:
(Note: The application folder is at P:\Elevate\Demos\createdbddl, the E: is
the system drive) >>

Thanks for the trace.  However, I'm still not seeing anything here - it
works fine.  I even cleared the ConfigPath before starting the
CreateDBDDLDemo application, and it works fine.

What is the Engine.ConfigPath set to in the EngineBeforeStart event handler
?

--
Tim Young
Elevate Software
www.elevatesoft.com

Wed, Aug 6 2008 1:06 PMPermanent Link

Jan-Christian Lupander
"Tim Young [Elevate Software]" <timyoung@elevatesoft.com> wrote:

Jan-Christian,

<< Here is a trace of functions/procedures called when starting createdbddl:
(Note: The application folder is at P:\Elevate\Demos\createdbddl, the E: is
the system drive) >>

Thanks for the trace.  However, I'm still not seeing anything here - it
works fine.  I even cleared the ConfigPath before starting the
CreateDBDDLDemo application, and it works fine.

What is the Engine.ConfigPath set to in the EngineBeforeStart event handler
?


Answer:
In EngineBeforeStart eventhandler Engine.ConfigPath = 'P:\Elevate\Demos\Data'

Jan-Christian

PS.
At an earlier stage I noted that I had a number of freshly created *.EDBcfg etc files in a Delphi7 folder. I have both -2007 and my old -7 installed
on the system but I have not touched -7 in any way since I installed ElevateDB on -2007. Quite a mystery how the *.EDBcfg files ended up under -
7. Could the simultaneous presense of these two Delphis have any bearing on the current problem with the empty path??
Anyway, no config files seem to be created anywhere now!
Page 1 of 2Next Page »
Jump to Page:  1 2
Image