Not able to run queries using nodeJS using adodb











up vote
0
down vote

favorite












I am trying to execute queries onto an .accdb file using node-adodb. i came across an error like this



{ Error: Spawn C:WINDOWSSysWOW64cscript.exe error
at ChildProcess.child.on.exitCode (C:UsersSumukh BharadwajDesktopNodeJSnode_modulesnode-adodblibspawn.js:120:37)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:891:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)


process:


{ code: -2146824582,
message: 'Provider cannot be found. It may not be properly installed.' },


exitCode: 0 }


I'm not able to proceed further from this.
Help!










share|improve this question




























    up vote
    0
    down vote

    favorite












    I am trying to execute queries onto an .accdb file using node-adodb. i came across an error like this



    { Error: Spawn C:WINDOWSSysWOW64cscript.exe error
    at ChildProcess.child.on.exitCode (C:UsersSumukh BharadwajDesktopNodeJSnode_modulesnode-adodblibspawn.js:120:37)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:891:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)


    process:


    { code: -2146824582,
    message: 'Provider cannot be found. It may not be properly installed.' },


    exitCode: 0 }


    I'm not able to proceed further from this.
    Help!










    share|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am trying to execute queries onto an .accdb file using node-adodb. i came across an error like this



      { Error: Spawn C:WINDOWSSysWOW64cscript.exe error
      at ChildProcess.child.on.exitCode (C:UsersSumukh BharadwajDesktopNodeJSnode_modulesnode-adodblibspawn.js:120:37)
      at emitTwo (events.js:106:13)
      at ChildProcess.emit (events.js:191:7)
      at maybeClose (internal/child_process.js:891:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)


      process:


      { code: -2146824582,
      message: 'Provider cannot be found. It may not be properly installed.' },


      exitCode: 0 }


      I'm not able to proceed further from this.
      Help!










      share|improve this question















      I am trying to execute queries onto an .accdb file using node-adodb. i came across an error like this



      { Error: Spawn C:WINDOWSSysWOW64cscript.exe error
      at ChildProcess.child.on.exitCode (C:UsersSumukh BharadwajDesktopNodeJSnode_modulesnode-adodblibspawn.js:120:37)
      at emitTwo (events.js:106:13)
      at ChildProcess.emit (events.js:191:7)
      at maybeClose (internal/child_process.js:891:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)


      process:


      { code: -2146824582,
      message: 'Provider cannot be found. It may not be properly installed.' },


      exitCode: 0 }


      I'm not able to proceed further from this.
      Help!







      sql node.js json ms-access ms-access-2010






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 10 at 18:38









      Barbaros Özhan

      10.9k71430




      10.9k71430










      asked Nov 10 at 18:23









      Smoker711

      51




      51
























          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote



          accepted










          You need a valid Access installation or an installation of the Access Database Engine to use ADO.



          Since the error refers to SysWow64, you need to install the 32-bits variant of the Access Database Engine (or Access application).






          share|improve this answer





















          • Is there any way using a 64bit variant?
            – Smoker711
            Nov 12 at 12:37










          • The docs on the extension are not in a language I can understand, but as far as I can understand, ADODB.open(connection[, x64]) takes two arguments, the second one indicating a 64-bits connection.
            – Erik von Asmuth
            Nov 12 at 12:40













          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














           

          draft saved


          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53242069%2fnot-able-to-run-queries-using-nodejs-using-adodb%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote



          accepted










          You need a valid Access installation or an installation of the Access Database Engine to use ADO.



          Since the error refers to SysWow64, you need to install the 32-bits variant of the Access Database Engine (or Access application).






          share|improve this answer





















          • Is there any way using a 64bit variant?
            – Smoker711
            Nov 12 at 12:37










          • The docs on the extension are not in a language I can understand, but as far as I can understand, ADODB.open(connection[, x64]) takes two arguments, the second one indicating a 64-bits connection.
            – Erik von Asmuth
            Nov 12 at 12:40

















          up vote
          0
          down vote



          accepted










          You need a valid Access installation or an installation of the Access Database Engine to use ADO.



          Since the error refers to SysWow64, you need to install the 32-bits variant of the Access Database Engine (or Access application).






          share|improve this answer





















          • Is there any way using a 64bit variant?
            – Smoker711
            Nov 12 at 12:37










          • The docs on the extension are not in a language I can understand, but as far as I can understand, ADODB.open(connection[, x64]) takes two arguments, the second one indicating a 64-bits connection.
            – Erik von Asmuth
            Nov 12 at 12:40















          up vote
          0
          down vote



          accepted







          up vote
          0
          down vote



          accepted






          You need a valid Access installation or an installation of the Access Database Engine to use ADO.



          Since the error refers to SysWow64, you need to install the 32-bits variant of the Access Database Engine (or Access application).






          share|improve this answer












          You need a valid Access installation or an installation of the Access Database Engine to use ADO.



          Since the error refers to SysWow64, you need to install the 32-bits variant of the Access Database Engine (or Access application).







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 11 at 11:35









          Erik von Asmuth

          17.5k41938




          17.5k41938












          • Is there any way using a 64bit variant?
            – Smoker711
            Nov 12 at 12:37










          • The docs on the extension are not in a language I can understand, but as far as I can understand, ADODB.open(connection[, x64]) takes two arguments, the second one indicating a 64-bits connection.
            – Erik von Asmuth
            Nov 12 at 12:40




















          • Is there any way using a 64bit variant?
            – Smoker711
            Nov 12 at 12:37










          • The docs on the extension are not in a language I can understand, but as far as I can understand, ADODB.open(connection[, x64]) takes two arguments, the second one indicating a 64-bits connection.
            – Erik von Asmuth
            Nov 12 at 12:40


















          Is there any way using a 64bit variant?
          – Smoker711
          Nov 12 at 12:37




          Is there any way using a 64bit variant?
          – Smoker711
          Nov 12 at 12:37












          The docs on the extension are not in a language I can understand, but as far as I can understand, ADODB.open(connection[, x64]) takes two arguments, the second one indicating a 64-bits connection.
          – Erik von Asmuth
          Nov 12 at 12:40






          The docs on the extension are not in a language I can understand, but as far as I can understand, ADODB.open(connection[, x64]) takes two arguments, the second one indicating a 64-bits connection.
          – Erik von Asmuth
          Nov 12 at 12:40




















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53242069%2fnot-able-to-run-queries-using-nodejs-using-adodb%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Florida Star v. B. J. F.

          Error while running script in elastic search , gateway timeout

          Adding quotations to stringified JSON object values