An "application could not log on to the server ... server process did not start" error occurs when you create or open a project


When creating or opening a SAS® Enterprise Miner™ project, you might receive the following error message:

The application could not log on to the server. The server process did not start.

This error indicates that there might be a problem with your SAS Enterprise Miner installation. Follow these steps to verify your SAS Enterprise Miner installation.

  1. Go to the directory location of your SAS Enterprise Miner Workstation Configuration client. Example: "C:\Program Files\SASHome\SASEnterpriseMinerWorkstationConfiguration\12.1"

  2. Run this program: em_console.exe
  3. Check to see whether the following error is displayed in your DOS command window.Error:
    2013-02-15 13:46:39,945 ERROR Main - The application could not log on to the server. 
    The server process did not start.
    2013-02-15 13:46:39,946 ERROR Main -
    apply resource : product.name.em.txt : SAS Enterprise Miner 12.1
    apply resource : product.name.cs.txt : SAS Credit Scoring 12.1
    apply resource try to get : null : null
    apply resource : null :
    apply resource try to get : null : null
    apply resource : null :
    com.sas.svcs.workspace.client.ConnectionExceptionHolder: The application could not log on to the server.
    The server process did not start.

  4. If that error is displayed, then look in your SAS Enterprise Miner Workstation Configuration client directory to see whether an em.ini file exists.
  5. If that file exists, then edit the em.ini file.
  6. In the file, look to see whether this value exists: ${home_base}. If the value exists, then correct the problem by pointing all instances of ${home_base} to the SAS Foundation directory location (C:\Program Files\SASHome\SASFoundation\9.3).

    EXAMPLE

    uncorrected

    JavaArgs_13=-Djava.library.path="${home_base}\core\sasext" JavaArgs_14=-Dcom.sas.iom.orb.brg.zeroConfigWorkspaceServer.sascmd="${home_base}\SAS.EXE"

    corrected

    JavaArgs_13=-Djava.library.path="C:\Program Files\SASHome\SASFoundation\9.3\core\sasext" JavaArgs_14=-Dcom.sas.iom.orb.brg.zeroConfigWorkspaceServer.sascmd="C:\Program Files\SASHome\SASFoundation\9.3\SAS.EXE"
  7. Save the em.ini file.