Results 1 to 5 of 5

Thread: [RESOLVED] VB.Net CF 2.0 And SQL CE 3.0

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2007
    Location
    Philippines
    Posts
    79

    Resolved [RESOLVED] VB.Net CF 2.0 And SQL CE 3.0

    I have a Pocket PC App running under WM5.0 which uses SQL CE 3.0 as its database. I don't have any problems running the ppc app on the emulator but when i tried transferring it to my ppc device, an error occurs which states that SQL CE 3.0 is not installed in my ppc device.

    When running my app thru active sync, I can see the status that it's installing the sql ce cab file. But it still gives me the error that sql ce is not installed. I've checked if my ppc device have a query analyzer and tried doing queries against my database and it works fine.

    Anyone knows why this is happening and how can i resolve this problem?

    Thanks in advance.

  2. #2
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: VB.Net CF 2.0 And SQL CE 3.0

    Hi,
    are you sure it is 3.0 being installed on the device?

    There should be dll's in the windows folder such as sqlceca30.dll

    On the query analyser, what version do you see when you do 'About'?
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Oct 2007
    Location
    Philippines
    Posts
    79

    Re: VB.Net CF 2.0 And SQL CE 3.0

    I've read that once I deploy the ppc app to the device when debugging, it will automatically send and install all the necessary cab files. So i think that it's already installed on the device. In case that sql ce is not getting installed, how can I install it?

  4. #4
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: VB.Net CF 2.0 And SQL CE 3.0

    Hi,
    there are cab files to deploy look in C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\SQL Server\Mobile\v3.0\wce500\ - but have you checked what I asked about the dll's and the version number?
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Oct 2007
    Location
    Philippines
    Posts
    79

    Re: VB.Net CF 2.0 And SQL CE 3.0

    It seems that the cab files are not installed on the ppc even during deployment... I had to copy the sqlce cab file to the ppc and do the installation in it... Aftr that, everything works fine... Thanks for the help...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width