A "No SAS servers available" message appears when you perform a task or run code in SAS® Enterprise Guide


When you attempt to perform a task or run code in SAS Enterprise Guide, the following message might occur:

No SAS Servers available message

No SAS servers available
A local SAS server was not found and no metadata profile is being used.

SAS Enterprise Guide with a Local SAS Installation

When SAS Enterprise Guide is connecting to a local installation of SAS, perform the following steps:

  1. Validate that local SAS is installed and working:
    In SAS Enterprise Guide, select Help ► About SAS Enterprise Guide and click the Configuration Details link.
  2. See whether there is an associated version of SAS® Foundation listed for SAS System version.

An arrow points to the SAS System version 9302.0.20524.8057 

3. If SAS is installed and working, then follow the steps below.
If SAS is not installed or working correctly, you must first either install your SAS Foundation product or resolve any pending installation issues.

4. To reregister SAS as a COM Server, follow these steps:

    1. Select Start ► Run, enter cmd, and press Enter.
      • In Windows 8, enter CMD and then right-click Command Prompt and select Run as administrator.
      • In Windows 7, select Start ► All Programs ► Accessories and right-click Command Prompt and select Run as administrator.
      • In Windows XP, select Start ► Programs ► Accessories ► Command Prompt.
    2. Change to the directory where the sas.exe module is located:
      • For SAS 9.2, the default is c:\program files\sas\sasfoundation\9.2.
      • For SAS 9.3, the default is c:\program files\sashome\sasfoundation\9.3.
      • For SAS 9.4, the default is c:\program files\sashome\sasfoundation\9.4 or c:\program files\sashome2\sasfoundation\9.4.
    3. Enter the following command and option and then press Enter:

sas.exe /regserver

Note: SAS is registered as the default SAS COM server, but you do not see anything appear in the command window.

Note: Regserver makes sure that SAS is registered as the default COM server.