Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error executing service with admin permissions #471

Open
SergioSuarezDev opened this issue Feb 19, 2023 · 0 comments
Open

error executing service with admin permissions #471

SergioSuarezDev opened this issue Feb 19, 2023 · 0 comments

Comments

@SergioSuarezDev
Copy link

SergioSuarezDev commented Feb 19, 2023

i have installed access redistributable in 64 bits properly.

my config is  
Provider=Microsoft.ACE.OLEDB.16.0;Data Source=C:/BBDD.accdb;Jet OLEDB:Database Password=1234;Persist Security Info=False;',

if i open the terminal and execute the api it works properly.

if i open a terminal with "administrator" permissions

Captura de pantalla 2023-02-19 a las 20 03 22

and execute the api i have this error:

Error: Spawn C:\Windows\System32\cscript.exe error
    at ChildProcess.<anonymous> (C:\myapi\node_modules\node-adodb\lib\spawn.js:120:37)
    at ChildProcess.emit (events.js:400:28)
    at maybeClose (internal/child_process.js:1058:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5)
    at Process.callbackTrampoline (internal/async_hooks.js:130:17) {
  process: {
    code: -2147467259,
    message: "'C:/BBDD.accdb' is not a valid path. Make sure the path is spelled correctly and you are connected to the server where the file is located."
  },
  exitCode: 0

It is a problem related to the admin user, but I don't know how to solve it :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant