PDA

View Full Version : df18.2 to df19



Edgar H. Peña C.
6-May-2017, 08:54 PM
hi

I have converted an application from df18.2 to df19 (SQL2016), and I get the error shown below. Already create the DFconnid.ini file.
Who can suggest something?

Edgar

Vincent Oorsprong
7-May-2017, 01:03 AM
Edgar,

The error is very clear. The MSSQL Connectivity Kit cannot find the used connection ID.

Now the possible causes:
- Does your 19.0 project contains an object of the cConnection class which is responsible for loading the DFConnId.Ini file?
- Is the named connection ID MF40PYMEID indeed the connection ID in DFConnId.Ini
- Is that connection ID active
- Does your project has its own logic for creating connection IDs as some where having in the past

Edgar H. Peña C.
7-May-2017, 07:44 AM
hi Vincent

I understood that the connection in DF19 is done through DFconnid.ini in the DATA folder and not through the file "MSSQLDrv.int" in the bin folder.

(Creí entender que la conexión en DF19 se realiza a través de DFconnid.ini en la carpeta DATA y no a traves del archivo "MSSQLDrv.int" en la carpeta bin.)

Edgar

Vincent Oorsprong
7-May-2017, 08:33 AM
Edgar,

The cConnection class and DFConnId.ini are the preferred and suggested way for v19 but all older techniques still work and are still supported.

Edgar H. Peña C.
7-May-2017, 09:37 AM
thanks vincent