Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 5 of 5 total
Thread ConfigPath running on Mono
Tue, Sep 11 2018 1:36 PMPermanent Link

ChrisH

I'm trying to run a test application under Mono/Linux. I get the following error:

Elevate.ElevateDB.Data.Engine.EEDBException: ElevateDB Error #600 File manager error (Cannot create file /path/to/config/folder\EDBConfig.EDBCfg (OS Error: CreateFileW))

In this example I used ConfigPath=/path/to/config/folder; in the connection string.

I believe the problem is that the driver is always adding a backslash before the config filename.  I have tried using both forward slashes and backslashes in the ConfigPath= part of the connection string.

I have also tried . ./ and .\ to use a relative path, but no luck.

So, should I be using forward or back slashes? Also, can relative paths be used?

Thanks
Wed, Sep 12 2018 4:55 AMPermanent Link

Matthew Jones

Chris Housley wrote:

> Linux

I didn't think EDB supported Linux yet?
Wed, Sep 12 2018 12:43 PMPermanent Link

Adam Brett

Orixa Systems

>>Chris Housley wrote:

>>> Linux

>>I didn't think EDB supported Linux yet?

There is a build of EDB Server which can run on a Linux box, I haven't used it.

EDB Components in Delphi cannot build Linux applications (yet).

Sorry I can't help answer the question!

I seem to remember it is best to use an INI-type file for SRVR settings in Linux ...
Wed, Sep 12 2018 2:31 PMPermanent Link

ChrisH

Thanks guys. I think I was confusing the fact that there is a Linux ElevateDB server available, with the ability to use an embedded ElevateDB in .Net and then run it under Mono. If the .Net driver was all managed code, theoretically that might work, but I think there is unmanaged code in there.

I think I will just have to run Linux versions of my application as Client/Server instead of embedded.

Thu, Sep 13 2018 3:22 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Adam,

<< There is a build of EDB Server which can run on a Linux box, I haven't used it.  >>

Just a quick caveat: the current Linux EDB Server is 32-bit only, so it may or may not run on a current Linux, depending upon whether 32-bit support (libraries, etc.) is available.

Tim Young
Elevate Software
www.elevatesoft.com
Image