Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Access Driver in Embedded Standard OS

Access Driver in Embedded Standard OS

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++hardwarequestion
15 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D divya03

    Hi All, I have a C++ application which reads access (.mdb) file. This application runs fine on Windows XP,7 OS. But when I run the application on Embedded Standard OS, it gives me System Error 126 (Microsoft Access Driver). What would be the best solution for this? Kindly help in solving this problem. Thanks In advance

    L Offline
    L Offline
    Lost User
    wrote on last edited by
    #2

    That usually indicates a missing or mis-configured driver. You need to check that the Access driver is correctly installed.

    D 1 Reply Last reply
    0
    • L Lost User

      That usually indicates a missing or mis-configured driver. You need to check that the Access driver is correctly installed.

      D Offline
      D Offline
      divya03
      wrote on last edited by
      #3

      Hello Thanks for taking time to answer. Now I've installed MS-office and Access database Engine 2010 drive also. Bit still the application is giving same error. The OS is Windows Embedded Standard 2009, service pack 3. Is there any other way to solve this problem? Like by using different driver from code instead of Microsoft Access Driver (*mdb)?

      L D 2 Replies Last reply
      0
      • D divya03

        Hello Thanks for taking time to answer. Now I've installed MS-office and Access database Engine 2010 drive also. Bit still the application is giving same error. The OS is Windows Embedded Standard 2009, service pack 3. Is there any other way to solve this problem? Like by using different driver from code instead of Microsoft Access Driver (*mdb)?

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #4

        The error code alone is not enough. You need to find out where and why the error is being raised.

        D 1 Reply Last reply
        0
        • L Lost User

          The error code alone is not enough. You need to find out where and why the error is being raised.

          D Offline
          D Offline
          divya03
          wrote on last edited by
          #5

          The error is occurring when access database is tried to open. As you said in the previous reply, missing of driver, Can the driver be installed explicitly by using any tool? The problem here is I'm not having the CD of OS using which I could have reinstalled the missing driver. can you suggest any other way to fix it

          L 1 Reply Last reply
          0
          • D divya03

            The error is occurring when access database is tried to open. As you said in the previous reply, missing of driver, Can the driver be installed explicitly by using any tool? The problem here is I'm not having the CD of OS using which I could have reinstalled the missing driver. can you suggest any other way to fix it

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #6

            Sorry but I have never used it in embedded. You will need to use the debugger, or similar tool, to gather more information. Have you tried Google to see if other people have come across the same problem?

            D M 2 Replies Last reply
            0
            • L Lost User

              Sorry but I have never used it in embedded. You will need to use the debugger, or similar tool, to gather more information. Have you tried Google to see if other people have come across the same problem?

              D Offline
              D Offline
              divya03
              wrote on last edited by
              #7

              Ya I searched. everywhere they are suggesting to install the driver using installation CD which currently I'm not able to as I do not have a CD.. :(

              1 Reply Last reply
              0
              • D divya03

                Hello Thanks for taking time to answer. Now I've installed MS-office and Access database Engine 2010 drive also. Bit still the application is giving same error. The OS is Windows Embedded Standard 2009, service pack 3. Is there any other way to solve this problem? Like by using different driver from code instead of Microsoft Access Driver (*mdb)?

                D Offline
                D Offline
                David Crow
                wrote on last edited by
                #8

                divya03 wrote:

                Now I've installed MS-office and Access database Engine 2010 drive also.

                Is it newer than the version offered here?

                "One man's wage rise is another man's price increase." - Harold Wilson

                "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

                "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

                D 1 Reply Last reply
                0
                • L Lost User

                  Sorry but I have never used it in embedded. You will need to use the debugger, or similar tool, to gather more information. Have you tried Google to see if other people have come across the same problem?

                  M Offline
                  M Offline
                  Munchies_Matt
                  wrote on last edited by
                  #9

                  Embedded 2009 is an XP OS, with bits added, and taken away.... And thats probably the issue. Its a PITA finding out what was ripped out, I have see all kinds of crap with this version, it takes a lot of detective work to figure out quite how MSFT broke it.

                  D L 2 Replies Last reply
                  0
                  • M Munchies_Matt

                    Embedded 2009 is an XP OS, with bits added, and taken away.... And thats probably the issue. Its a PITA finding out what was ripped out, I have see all kinds of crap with this version, it takes a lot of detective work to figure out quite how MSFT broke it.

                    D Offline
                    D Offline
                    divya03
                    wrote on last edited by
                    #10

                    Any solution that you could suggest in finding the exact problem and getting it solved?

                    M 1 Reply Last reply
                    0
                    • D David Crow

                      divya03 wrote:

                      Now I've installed MS-office and Access database Engine 2010 drive also.

                      Is it newer than the version offered here?

                      "One man's wage rise is another man's price increase." - Harold Wilson

                      "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

                      "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

                      D Offline
                      D Offline
                      divya03
                      wrote on last edited by
                      #11

                      There was no MS access software installed in that PC, so gave a try with the available software.

                      F 1 Reply Last reply
                      0
                      • D divya03

                        Any solution that you could suggest in finding the exact problem and getting it solved?

                        M Offline
                        M Offline
                        Munchies_Matt
                        wrote on last edited by
                        #12

                        google the issue, ask on msft forums, try to work out which compmonent is throwing the error. Get a working XP system and compare it to the embedded 2009 one, look for files, registry settings that are differemt. Its a PITA, like I said.

                        1 Reply Last reply
                        0
                        • D divya03

                          There was no MS access software installed in that PC, so gave a try with the available software.

                          F Offline
                          F Offline
                          Frederick J Harris
                          wrote on last edited by
                          #13

                          I use ODBC to access databases in my C/C++ coding and in my PowerBASIC coding. Whenever I'm having difficulties with anything, I call SQLGetDiagRec(), which returns error info. I can provide for you a bit of code to try it out. Let me know.

                          1 Reply Last reply
                          0
                          • D divya03

                            Hi All, I have a C++ application which reads access (.mdb) file. This application runs fine on Windows XP,7 OS. But when I run the application on Embedded Standard OS, it gives me System Error 126 (Microsoft Access Driver). What would be the best solution for this? Kindly help in solving this problem. Thanks In advance

                            L Offline
                            L Offline
                            Lost User
                            wrote on last edited by
                            #14

                            divya03 wrote:

                            Ya I searched. everywhere they are suggesting to install the driver using installation CD which currently I'm not able to as I do not have a CD..

                            If you are actually using a legitimate licenced version of Embedded Standard then someone inside your organization builds the OS using the "Target Designer". You are given all the tools necessary to build and customize the embedded operating system. Windows Embedded Standard 2009 Step-by-Step Deployment[^] Btw, the fact that you are asking this question strongly implies that you may be using a pirated or unlicensed version of Embedded Standard Windows 2009. All of the database packages are selectable in the "Target Designer". Best Wishes, -David Delaune

                            1 Reply Last reply
                            0
                            • M Munchies_Matt

                              Embedded 2009 is an XP OS, with bits added, and taken away.... And thats probably the issue. Its a PITA finding out what was ripped out, I have see all kinds of crap with this version, it takes a lot of detective work to figure out quite how MSFT broke it.

                              L Offline
                              L Offline
                              Lost User
                              wrote on last edited by
                              #15

                              Munchies_Matt wrote:

                              I have see all kinds of crap with this version, it takes a lot of detective work to figure out quite how MSFT broke it.

                              Care to elaborate? Microsoft did not distribute prebuilt embedded OS images for that version. The embedded OS is built by you or someone in your organization using the 'Target Designer' which allows you to select from many thousands of packages. If anything is broken... blame the guy who builds the OS image within your organization. The license back then was very restrictive... requiring each organization to list the licensed users by name. I've built hundreds and hundreds of embedded OS images with the old XP and 2009 Target Designer... I believe the licensing is less restrictive these days... but I don't work in this area anymore so don't keep up with it. Best Wishes, -David Delaune

                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • World
                              • Users
                              • Groups