Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 8 of 8 total
Thread C/S Database Directory/name
Tue, Sep 13 2011 4:47 PMPermanent Link

Thomas

Hi,

how can at with a installer a C/S Database directory? I don't found a registry entry or a ini file in the folder where is the dbsrvr.exe.
Where save the dbsrvr.exe the database directory?

Greetings

Thomas
Tue, Sep 13 2011 5:03 PMPermanent Link

Jan Ferguson

Data Software Solutions, Inc.

Team Elevate Team Elevate

If I understand you correctly, you can install (or copy) the dbsrvr.exe
file to any folder/directory you want to. You can then place your
database directories anywhere you want to as well. It is HIGHLY
recommended that you place your data files on the same server, not the
same directory, as the dbsrvr.exe application.

--
Jan Ferguson [Team Elevate]


Thomas wrote:

> Hi,
>
> how can at with a installer a C/S Database directory? I don't found a
> registry entry or a ini file in the folder where is the dbsrvr.exe.
> Where save the dbsrvr.exe the database directory?
>
> Greetings
>
> Thomas
Tue, Sep 13 2011 5:08 PMPermanent Link

Rita Tipton

If you have Rad Studio 2007 then it is installed as below.

C:\Program Files (x86)\DBISAM VCL Client-Server with Source\Version 4\RAD
Studio (Delphi) 2007\servers\dbsrvr


Rita
Tue, Sep 13 2011 5:15 PMPermanent Link

Thomas

"J. B. Ferguson" wrote:

If I understand you correctly, you can install (or copy) the dbsrvr.exe
file to any folder/directory you want to. You can then place your
database directories anywhere you want to as well. It is HIGHLY
recommended that you place your data files on the same server, not the
same directory, as the dbsrvr.exe application.

--
Jan Ferguson [Team Elevate]


Jan, sorry I mean not, how can at manually a Directory String with the Server Administrator Utility. How can this Directory with a third party installer to the C/S(e.g. Ini or a registry entry with the installer).
Tue, Sep 13 2011 9:02 PMPermanent Link

Raul

Team Elevate Team Elevate

I assume you wish to set the database directory automatically with the installer?

The info is stored in the dbsrvr config binary file i think and is not externally editable as far as i know - you mustuse the serevr admin API functions.

I can suggest 2 options:

- database directory can be set as relative path. So for example you can pre-create a database named "MyDB" and then set the directory to ".\MyDB". Now if you deploy the dbsrvr config file it will alsways be relative to the dbsrvr.exe and under the \MyDB folder

- either in your app or thru installer (or helper app_ you can remotely manager the dbsrvr - see "Serevr Administration" section in the manual (http://www.elevatesoft.com/manual?action=viewtopic&id=dbisam4&product=r&version=XE&topic=Server_Administration).
See "AddServerDatabase", "ModifyServerDatabase", etc

Raul



<<Thomas wrote:

Hi,

how can at with a installer a C/S Database directory? I don't found a registry entry or a ini file in the folder where is the dbsrvr.exe.
Where save the dbsrvr.exe the database directory?

Greetings

Thomas
<<
Wed, Sep 14 2011 1:24 AMPermanent Link

Thomas

Raul wrote:

I assume you wish to set the database directory automatically with the installer?

The info is stored in the dbsrvr config binary file i think and is not externally editable as far as i know - you mustuse the serevr admin API functions.

I can suggest 2 options:

- database directory can be set as relative path. So for example you can pre-create a database named "MyDB" and then set the directory to ".\MyDB". Now if you deploy the dbsrvr config file it will alsways be relative to the dbsrvr.exe and under the \MyDB folder

- either in your app or thru installer (or helper app_ you can remotely manager the dbsrvr - see "Serevr Administration" section in the manual (http://www.elevatesoft.com/manual?action=viewtopic&id=dbisam4&product=r&version=XE&topic=Server_Administration).
See "AddServerDatabase", "ModifyServerDatabase", etc

Raul


Raul,

thank you that is exactly was I mean.
But where is the dbsrvr binary config file? What is the filename?

Regards

Thomas
Wed, Sep 14 2011 8:15 AMPermanent Link

Raul

Team Elevate Team Elevate

Thomas,

Sorry i should have been clearer - there is a binary file in the same folder as dbsrvr.exe called "dbsrvr" (no extension) - this is where the database info is stored and you just need to copy it with your installer if you pre-configured a database name and directory.

Raul

<<
thank you that is exactly was I mean.
But where is the dbsrvr binary config file? What is the filename?

Regards

Thomas
>>
Mon, Sep 19 2011 12:21 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Raul,

<< Sorry i should have been clearer - there is a binary file in the same
folder as dbsrvr.exe called "dbsrvr" (no extension) - this is where the
database info is stored and you just need to copy it with your installer if
you pre-configured a database name and directory. >>

One clarification - the dbsrvr configuration file is called dbsrvr.scf, by
default.

--
Tim Young
Elevate Software
www.elevatesoft.com
Image