I used to have the driver running in Delphi XE2 without problems (install file dbxsda65.exe).
Now I also have XE8 installed and want to use DevArt SQL Server driver.
Whatever I do, I can not get it to work. Error:
'Could not resolve unit name 'DBXDevartSQLServer' at line..'
and in the Messages box the other message:
'[dcc32 Fatal Error] MyOwnConnection.pas(34): F2063 Could not compile used unit 'DBXDevartSQLServer.pas'
I tried everything: Install a new driver (install dbxsda70.exe), failed. Uninstall, install dbxsda65 again, failed. Uninstall, install new dbxsda70, failed
The package named [Devart SQL Server DBX Driver] seems to get install correctly, all the times (no installed components).
What could be wrong? How can I fix this?
Problem installing SQL Server driver in Delphi XE8
Re: Problem installing SQL Server driver in Delphi XE8
SOLVED.
Library path manipulation was needed!
The path for the _old_ driver interfeers with the new. After install of the _new_one, these paths exist in the library path:
C:\Program Files (x86)\Devart\Dbx\SqlServer\Lib\Delphi16\Win32
C:\Program Files (x86)\Devart\Dbx\SqlServer\Lib\Delphi22\Win32
Like this, program does not compile.
Changing the order (or remove the Delphi16 line) makes it work!?
Something for DevArt to take notice?
Wim
Library path manipulation was needed!
The path for the _old_ driver interfeers with the new. After install of the _new_one, these paths exist in the library path:
C:\Program Files (x86)\Devart\Dbx\SqlServer\Lib\Delphi16\Win32
C:\Program Files (x86)\Devart\Dbx\SqlServer\Lib\Delphi22\Win32
Like this, program does not compile.
Changing the order (or remove the Delphi16 line) makes it work!?
Something for DevArt to take notice?
Wim
Re: Problem installing SQL Server driver in Delphi XE8
The dbExpress Driver for SQL Server installer performs files installation, environmental variables configuration, etc. only for Delphi/RAD Studio versions, that are already installed on the computer. So, after installation of RAD Studio XE8, you had to uninstall dbExpress driver for SQL Server and reinstall it.
The correct values of Library Path in RAD Studio XE8 for dbExpress driver for SQL Server are the following:
32-bit Windows
64-bit Windows
OS X
Delete the path to Delphi16 from the list of Library Path values for RAD Studio XE8 you have provided.
The correct values of Library Path in RAD Studio XE8 for dbExpress driver for SQL Server are the following:
32-bit Windows
Code: Select all
C:\Program Files (x86)\Devart\Dbx\SqlServer\Lib\Delphi22\Win32
Code: Select all
C:\Program Files (x86)\Devart\Dbx\SqlServer\Lib\Delphi22\Win64
Code: Select all
C:\Program Files (x86)\Devart\Dbx\SqlServer\Lib\Delphi22\OSX32