Could not parse the GetIndexes metadata command

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for Oracle in Delphi and C++Builder
Post Reply
jakubw
Posts: 1
Joined: Thu 22 Dec 2016 16:12

Could not parse the GetIndexes metadata command

Post by jakubw » Thu 22 Dec 2016 16:58

Hello.
During loading one of the dll function in RAD Studio XE I get the exception like below:
First chance exception at $7727C42D. Exception class TDBXMetaDataError with message 'Could not parse the GetIndexes metadata command. Problem found near: addressIP. Original query: GetIndexes addressIP:port . XXXX. DUAL .'. Process DBManagerTest.exe (8520)
The problem appear in the line:
DataSet1->Open();
When I am using build dll version of my colleque it works. Problem appear when I build it on my PC.
What can be a problem?

MaximG
Devart Team
Posts: 938
Joined: Mon 06 Jul 2015 11:34

Re: Could not parse the GetIndexes metadata command

Post by MaximG » Mon 26 Dec 2016 08:59

When describing the connection parameters to Oracle DB try to use HostName parameter instead of the DataBase parameter :

Code: Select all

...
  SQLConnection.Params.Add('Hostname=Host:Port:sn=ServiceName ')
...

Post Reply