SQLExpress problem with Advantage Database Server 12.0
Posted: Tue Jan 17, 2017 10:29 am
Hello, dear programmers!
I have been using xBase, eXpress, ADS and SQLExpress nerely decades.
My access to ADS server goes exclusively through xBase++ with ADSDBE assistance and SQLExpress assistance.
Till now for testing purposes I possess an ADS 8.1 licence and it suits me very well for years.
After migrating to new comupter and new OS Windows 10 last summer it all works well.
But only until september WIN10 anniversary update.
Since then ADS server 8.1 haven't worked any more. No connection possible...
I was forced to install ADS 12.0.
After instalation of ADS version 12.0, that only works properly under WIN10, I encountered a problem:
Now ADSDBE still works all right, but SQLExpess not.
I talked to Mr. Boris Borzic http://www.xb2.net but he could not help me, saying that his code should work normaly even with newest ADS server.
SQLExpress log file reports for example:
Thread ID 5
Called from SQLSTATEMENT:EXECUTE(451)
Called from SQLSELECT:EXECUTE(1588)
Called from _APP:SQLEXPRESSSELECTEXECUTE(3050)
SQLString: SELECT ROWID, VALUE, ACCOUNT
FROM DKPOST WHERE LEFT(ACCOUNT, 1) = '4'
And then an error message appears, that stops my program:
»Internal data structures corrupted«.
The same xBase++ program works properly on computers with older version of ADS servers.
Also the ARC utility works properly in all cases including problematic ADS 12.
if I try to execute some SQL statements, that my xBase program produce, there are no obstacles.
It seems, that there is a connection string problem, and not an SQL string problem.
Within my Alaska xBase++ program ti is made like:
::oSqlConn := SqlConnection():new(Alltrim(PPubAdsOdbcName),Alltrim(PPubAdscUserName),Alltrim(PPubAdscPassword))
Can somebody please give me a hint about this issue?
Best regards
Tomaž
I have been using xBase, eXpress, ADS and SQLExpress nerely decades.
My access to ADS server goes exclusively through xBase++ with ADSDBE assistance and SQLExpress assistance.
Till now for testing purposes I possess an ADS 8.1 licence and it suits me very well for years.
After migrating to new comupter and new OS Windows 10 last summer it all works well.
But only until september WIN10 anniversary update.
Since then ADS server 8.1 haven't worked any more. No connection possible...
I was forced to install ADS 12.0.
After instalation of ADS version 12.0, that only works properly under WIN10, I encountered a problem:
Now ADSDBE still works all right, but SQLExpess not.
I talked to Mr. Boris Borzic http://www.xb2.net but he could not help me, saying that his code should work normaly even with newest ADS server.
SQLExpress log file reports for example:
Thread ID 5
Called from SQLSTATEMENT:EXECUTE(451)
Called from SQLSELECT:EXECUTE(1588)
Called from _APP:SQLEXPRESSSELECTEXECUTE(3050)
SQLString: SELECT ROWID, VALUE, ACCOUNT
FROM DKPOST WHERE LEFT(ACCOUNT, 1) = '4'
And then an error message appears, that stops my program:
»Internal data structures corrupted«.
The same xBase++ program works properly on computers with older version of ADS servers.
Also the ARC utility works properly in all cases including problematic ADS 12.
if I try to execute some SQL statements, that my xBase program produce, there are no obstacles.
It seems, that there is a connection string problem, and not an SQL string problem.
Within my Alaska xBase++ program ti is made like:
::oSqlConn := SqlConnection():new(Alltrim(PPubAdsOdbcName),Alltrim(PPubAdscUserName),Alltrim(PPubAdscPassword))
Can somebody please give me a hint about this issue?
Best regards
Tomaž