Delphi compiling error with delphi

Hi,

I am new to Data Abstract, now I have 2 issues to be solved:

  1. I downloaded Data Abstract trial pack for Delphi XE2 and I tried to login to Relativity Server and its works good, but after I purchased a license pack of Data Abstract then when i try to login in Relativity server with default user name and password “Administrator/Relativity” it gives me a error message that says user name password incorrect. How can I solve this?

  2. I am trying to create a new VCL application by using Data Abstract and I have selected “Client and a New Custom Data Abstract Server” option to create a new Data Abstract server and a client project, I am using AnyDac as my Driver and MSSQL as my Aux-Driver to connect to my MSSQL database. After I built a Schema using Schema Modeler I am not able to compile the Data Abstract Server, I am getting the error messages says “[DCC Error] uDAAnyDACDriver.pas(2588): E2089 Invalid typecast” and “[DCC Fatal Error] F2063 Could not compile used unit ‘uDAAnyDACDriver.pas’”. So how can I solve this?

Hello,

dudesvensk said: 1. I downloaded Data Abstract trial pack for Delphi XE2 and I tried to login to Relativity Server and its works good, but after I purchased a license pack of Data Abstract then when i try to login in Relativity server with default user name and password "Administrator/Relativity" it gives me a error message that says user name password incorrect. How can I solve this?

Could you send us please archivated folder with Relativity settings Documentation | RemObjects Software ? It helps us tolook into your problem. If you don’t want to send us your passwords then copy this folder somewhere and remove from it files with .daConnections extensions.

dudesvensk said: 2. I am trying to create a new VCL application by using Data Abstract and I have selected "Client and a New Custom Data Abstract Server" option to create a new Data Abstract server and a client project, I am using AnyDac as my Driver and MSSQL as my Aux-Driver to connect to my MSSQL database. After I built a Schema using Schema Modeler I am not able to compile the Data Abstract Server, I am getting the error messages says "[DCC Error] uDAAnyDACDriver.pas(2588): E2089 Invalid typecast" and "[DCC Fatal Error] F2063 Could not compile used unit 'uDAAnyDACDriver.pas'". So how can I solve this?

I can’t reproduce this error. Do you get it when trying to connect to any Data table or some certain table? What AnyDAC version you use?

Best regards

Hi ,

For the 2nd question , i am getting this error for any data table i use and the ANYDAC version i use is 5.0.3(Build 1917).

For the 1st question, i am sending the archivated folder with Relativity settings

Hello,

About Relativity question. According to your LoginProvider.config file your are using now LDAP login provier:





That is why you can’t connect to Relativity with default login/password.
You should close Relativity and delete …\RemObjects Software\RemObjects Software\Relativity\LoginProvider.config file.

What about DA project with AnyDAC: could you retest with latest AnyDAC? I couldn’t reproduce your error. If even with latest AnyDAC you will get error, specify please more details: Delphi, MSSQL versions. And preferable send us simple testcase reproducing error with table DDL.

Best regards