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

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:
- Validate that local SAS is installed and working:
In SAS Enterprise Guide, select Help ► About SAS Enterprise Guide and click the Configuration Details link. - See whether there is an associated version of SAS® Foundation listed for SAS System version.
-
- For SAS® 9.2, navigate to c:\program files\sas\sasfoundation\9.2\ and run sas.exe.
- For SAS® 9.3, navigate to c:\program files\sashome\sasfoundation\9.3 and run sas.exe.
- For SAS® 9.4, navigate to c:\program files\sashome\sasfoundation\9.4 or c:\program files\sashome2\sasfoundation\9.4 and run sas.exe.
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:
-
- 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.
- 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.
- 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.