Missing System.Data in CF 1.0 install on PPC 2002.

I've developed an application for CF 1.0 and am having difficulty running it on one of the two devices I have for testing. All is well on my PPC 2003 device, but I'm receiving an error on the PPC 2002 device. The error indicates I need a newer version of the framework and is unable to load a type from System.Data.

Both machines have clean installs of the CF 1.0 SP3 redistributable. However, on the PPC 2002 device, the GAC_System.Data_v1_0_5000...DLL file is missing in the Windows directory. Instead, there's a system.data file installed into Program Files\.Net Compact Framework. That directory is empty on the PPC 2003 device.

If I copy the System.Data file from the 2003 device into the 2002 device in the same directory, it doesn't work, presumably since it's not registered in the GAC. However, if I rename the file as simply System.Data.DLL and place it in the application directory, all is well.

The PPC 2002 device is a Toshiba E740, with updates applied. The program does not use SQL Server CE, but does use some types from System.Data directly.

Any help would be appreciated. I don't want to restrict my audience to PPC 2003 and up devices.

Thanks, Ken



Answer this question

Missing System.Data in CF 1.0 install on PPC 2002.

  • bishoycom

    That probably means DLL was not added to the GAC for some reason, probably because of corrupted CAB file or defective device. You can try hard resetting the device and reinstalling NETCF or you can try it on another PPC 2002 device (if you can find one that is – not many of these left in good working order).



  • Meds

    Thanks for the feedback. I think I'll proceed with CF 2.0 for now unless I find a magic cure.

    I didn't use the same CAB - I used the universal installer (MSI).


  • michivo

    I don't have such statistics but here's my take on it in general.

     

    If you think about what PDA was in 2002 you’ll realize $700-1000 PPC 2002 was hardly a mass product. Devices like that were mostly purchased by tech savvies who tend to change equipment often. Also consider none-phone PDA sales (and most PPC 2002/2003 are like this) have been on a steep decline for past 5-6 years, most devices are phones nowadays. And phones are replaced fairly often because of subsidized equipment deals from operators.

     

    By the way, you can probably use eBay or CL to estimate how many older devices are out there. I would expect most devices for sale would be WM 5.0.

     

    By the way, you suppose to use different NETCF CABs for PPC 2002 and 2003.< xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />



  • THURST80

    I did do a hard reset and used the same binary to install to both devices. Your other comment has me wondering though, whether just to punt on CF 1.0 and go with 2.0. I had intended to ship two versions, but keeping them in code compatibility has been a hassle.

    Wonder if anyone has stats on numbers of device type in use


  • Missing System.Data in CF 1.0 install on PPC 2002.