Unable to install the ServiceNow MID Server_XXXX - The filename, directory name, or volume label syntax is incorrect.


Description

  1. While starting the MID Server Service from start.bat , sometimes the below error is seen.
  2. Unable to install the ServiceNow MID Server_XXXX - The filename, directory name, or volume label syntax is incorrect.


Release or Environment

Cause

  1. The error refers to a syntax error in the configuration.
  2. Consider below example , where the wrapper.name contains a special character '/'.



  3. Thus an exception is thrown at the run time.

Resolution

  1. To resolve this issue , consider giving a name without special character to the wrapper.name.

    [OR]

  2. Replace the special character with its unicode equivalent , in this case for '/' it is /
  3. The service will start without throwing the exception and the wrapper.override file will reflect the special character instead of the unicode.


Additional Information

Useful docs: