2 Replies Latest reply on Jul 20, 2016 12:27 AM by Felix Garcia Serrano

    Windows Compact 7- Sql Server Client error (WT41N terminal)

    Felix Garcia Serrano

      I am programming an .Net application on WT41N0 teminal with Win CE7 to connect to SQL Server express 2014.

      This application on WT40 old (Win CE5) runs OK,

      but with WT41N the Connect operation shows an exception error.

       

      I am using VS2008SP1 +  Motorola PSDK for WT41.

      The dbnetllib.dll, I copied manually from C:\Program Files\Microsoft SQL Server Compact Edition\v3.5\Devices\Client\wce500\armv4i.

       

      Please, I need help ti resolve this connection error.

       

      Thanks in advance for your help

        • Re: Windows Compact 7- Sql Server Client error (WT41N terminal)
          Richard Kerr

          I used to have that problem on the WT41N0.

          You will need to install the cab file for SQL Compact 3.5.

          Look in Program Files/Microsoft SQL Compact Edition/3.5/Devices/Client/wce500/armv4i

          Copy sql.wce5.armv4i.cab to your device Application storage area and modify your startupctl onRestore script so it has the following lines

           

          \windows\wceload.exe /delete 0 "\Application\sql.wce5.armv4i.CAB"

          wait

           

          You will need to install StartUpCtl on the device.

            • Re: Windows Compact 7- Sql Server Client error (WT41N terminal)
              Felix Garcia Serrano

              Thanks Richard,

               

              I have installed the sql.wce5.armv4i.CAB from "C:\Program Files (x86)\Microsoft SQL Server Compact Edition\v3.5\Devices\Client\wce500\armv4i".

               

              The dbnetlib.ddl error doesn't  shows, but the Sql server connection doesn't run.

               

              The WT41 terminal shows an sqlexception.

               

              The Sql server database is correct becasue the ols terminal WT40 connect succesfully.

               

              Do you have any comments more?

               

              Thanks in advance for your collaboration.