-
-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
I have the current code:
const ADODB = require("node-adodb");
const conn = ADODB.open("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=test.mdb;");
conn
.execute("SELECT * FROM Table1")
.then(d => {
console.log(d, JSON.stringify(d));
})
.catch(e => {
console.log(e, JSON.stringify(e));
});(ETA: I also changed Data Source to have the absolute path, with escaped \)
And a mdb file (Created with Office365 Access) Access 2002-2003:
| id | nom |
|---|---|
| 1 | nom1 |
| 2 | nom2 |
I get the following error:
Error: Spawn C:\WINDOWS\SysWOW64\cscript.exe error
at ChildProcess.<anonymous> (C:\Users\MLZH3502\Desktop\Sandbox\node_modules\node-adodb\lib\spawn.js:120:37)
at ChildProcess.emit (node:events:526:28)
at maybeClose (node:internal/child_process:1092:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5) {
exitMessage: 'Uncaught Fatal Exception',
exitCode: 1
} {"exitMessage":"Uncaught Fatal Exception","exitCode":1}
I know it is a common issue, but I tried solutions given by #85 and #78 and it didn't work.
Do you have an idea ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels