Double-clicking a SAS file type in the Microsoft Windows operating system might batch-submit the SAS program.
This is not the expected behavior. The expected behavior is that the file would open in an editor window in an application such as the Display Manager or SAS® Enterprise Guide®.
In most cases, this unexpected behavior occurs when you associate the file type with an incorrect application. Here are some examples:
Important: To prevent this issue from occurring in the future, do not use the File Explorer tool or the tools under the Windows Control Panel to associate SAS file types with a specific program. Instead, make sure that you use the Manage SAS File Types utility.
Note: The Manage SAS File Types utility modifies the Windows registry. If you receive an error when running the utility, verify that you have the required permissions.
On Windows Vista and newer systems, right-click SAS Deployment Manager 9.4 and select Run as Administrator.
Select either SAS® Foundation or SAS Enterprise Guide, click Select All, and click OK.
On Windows 7, Windows 8, or Windows Server 2008, right-click Manage SAS File Types and select Run as Administrator.
Select either SAS Foundation or SAS Enterprise Guide, click Select All, and click OK.
Note: If you do not see SAS Foundation in the list, run the utility from here:
C:\Program Files\SASHome\SASFileTypeManagementTool\9.3\SASFileExtensionManager.exe
On Windows Vista, Windows 7, or Windows Server 2008, right-click Manage SAS File Types and select Run as Administrator.
Select either SAS Foundation or SAS Enterprise Guide, click Select All, and click OK.
If your operating system is Windows 7, Windows 8, Windows 10, Windows Server 2008, or newer and you have tried the steps mentioned above but the issue persists, complete the steps under The SAS File Type Registry Fix for Microsoft Windows Operating Systems section below.
Note: Do not attempt the SAS File Type Registry fix on any operating system other than Windows 7, Windows 8, Windows 10, or Windows 2008 operating systems.
The SAS File Type Registry Fix for Microsoft Windows Operating Systems
Caution: SAS is not responsible when you edit the Windows registry. Always back up your registry before you make any registry changes. Changes in the Windows registry can render your system unusable and will require that you reinstall the operating system. For assistance, see Windows Help, Microsoft documentation, or the Microsoft Windows website.
Note: The screen captures shown below were captured using Internet Explorer. The steps that you see might differ, depending on which browser you use.
1. Download and unzip the SASFileTypeRegFix.reg file from the SASFileTypeRegFix.zip folder.
2. If the File Download - Security Warning dialog box appears, complete the following steps. If it does not appear, go to step 3.
a. Click Save and choose a location to save the file to on the local machine.
b. When the Download complete dialog box appears, click Run.
c. When the Registry Editor dialog box appears, click Yes to continue:
3. Double-click and run the SASFileTypeRegFix.reg file. Note: The same warning shown in step c above might occur.
4. Click OK when the Registry Editor dialog box displays the message that the registry keys have been successfully added.
5. Double-click your SAS file to retest it. The file should now open in the application that you chose to associate SAS file types with above, in Step 2 of the Associating SAS File Types Using the Manage SAS File Types Utility section.
Note: If you continue to have issues with your file type association, right-click the SAS Filetype Utility executable file that is located on the local hard drive, select Run As Administrator, and follow the file type registration process.