MAS 200 Error: “Unable to spawn a new session. The command line required for the server process is too long”

If you’ve recently moved MAS 200 data from one server to another, you might encounter the following error:

Unable to spawn a new session. The command line required for the server process is too long

There are a few things to check before calling Sage’s tech support:

(1) Permissions

Yep. Permissions. It’s a simple mistake to make and it’s easily resolved.

  1. Just navigate to ‘C:\Program Files\Sage Software’ (or wherever your MAS 200/90 installation resides.
  2. Right-click on the ‘MAS 200’ directory, select ‘Properties’.
  3. Select the ‘Security’ tab and select the ‘Advanced’ button.
  4. Make sure that the permissions are correct; if not, correct them.
  5. Then check the box next to: ‘Replace permission entries on all child objects with entries shown here that apply to child objects’
  6. Then click ‘Apply’.
  7. Click ‘Ok’ on the warning that appears.
  8. Click ‘Ok’ to close the window.

(2) If #1 doesn’t fix your problem, then clear the ‘Spawn Session from Application Server’ check box.

Note: Do not perform this step if the check box was selected to resolve connection issues, for example “Connection failure to host…”

  1. Expand Modules, Library Master, and Main. Double-click User Maintenance.
  2. Select the user ID.
  3. Click the Preferences tab.
  4. Clear the Spawn Session from Application Server check box.
  5. Click Accept.
  6. Repeat for each affected user.

(3) If the error still occurs, and the report is on the Custom Reports menu, the path and file name may be too long.

  1. Delete the report from the Custom Menu.
  2. Rename the file to a shorter name. Note: Try 55 characters or less for the entire path and file name. Some experimentation may be required. The exact length that causes the error is still being researched (as of v. 4.0)
  3. Add the report back to the Custom Menu.

If you are *still* having the problem then you should call MAS 200 tech support.

One thought on “MAS 200 Error: “Unable to spawn a new session. The command line required for the server process is too long”

  1. Pingback: Transferring old MAS 90/200 data to a new server (clean installation) - Nefaria.com

Comments are closed.