Page 1 of 1

Could not parse the GetIndexes metadata command

Posted: Thu 22 Dec 2016 16:58
by jakubw
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?

Re: Could not parse the GetIndexes metadata command

Posted: Mon 26 Dec 2016 08:59
by MaximG
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 ')
...