Published on InterSystems Developer Community (https://community.intersystems.com)

Home > Cache NodeJs Network Connection

Question
kandhan ramalingam · Oct 11, 2019

Cache NodeJs Network Connection

Hi,

NodeJs(v0.10.0) to Intersystems Cache2014( using cache0100.node)  network connection Not working .

This is error msg i'm getting

"{ ErrorMessage: 'Error loading Cache Library: _SYSTEMcache.dll; Error Code : 126 (The specified module could not be found.)',
  ErrorCode: 1009,
  ok: 0 } "

My Code ->

user.open({ip_address:"127.0.0.1",tcp_port:57772,username: "_SYSTEM",password: "SYS",namespace: "USER"},function(err,res){

    console.log("Error : ",err);console.log("Result : ",res);

    if(!err){

        user.close();

    }

});

But path connection working fine.

 

Thanks

#Node.js #Caché

Source URL:https://community.intersystems.com/post/cache-nodejs-network-connection