Unable to run Content Connect as a Windows Service

vinojash
edited February 14 in Documentum #1

During the installation and configuring content connect, I am getting below error

C:\Users\dmadmin>cd C:\Softwares\content_connect_21.4_0156

C:\Softwares\content_connect_21.4_0156>Service.bat add
***** Adding Windows Service*****
Error: Cannot find module './build/Release/service'
Require stack:

  • C:\Softwares\content_connect_21.4_0156\node_modules\os-service\index.js
  • C:\Softwares\content_connect_21.4_0156\gulpfile.js

The service name is invalid.

More help is available by typing NET HELPMSG 2185.

DCTM content server and content connect both are 21.4 version. unable to move after this step…

Answers

  • Did you try

    npm install -g os-service —save-dev

    before executing the "add" command?

  • os-service node module uses native "nan" module. update your "nan" module by taking it from the git. Latest "nan" will match the latest nodeJS version and you will be able to run the os-service.

    If you are still facing, compile the os-service module in Visual studio and build the dll, pdb files. then run the "service.bat add" command