SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 64979: An uninstallation of SAS® 9.4 using SAS® Deployment Manager fails with the error "A problem was encountered while uninstalling..."

DetailsHotfixAboutRate It

While you perform an uninstallation of SAS 9.4 by using SAS Deployment Manager, the uninstall process might fail with the following pop-up error message:

A problem was encountered while uninstalling:
Base SAS (M6)(9.4)
Would you like to continue with the remaining uninstalls?

The reason that this error occurs is because SAS Deployment Manager is trying to unregister SAS.exe, which no longer exists because it was removed during the uninstall process.

Also, when you run the uninstall process in silent mode, SAS Deployment Manager can stop without displaying any error. The same problem with the SAS.exe file is occurring.

The following information can appear in the IT_date-stamp_uninstall.log file, which is located in C:\Users\user-ID-that-installed-SAS\AppData\Local\SAS\SASDeploymentWizard\:

Controller - An error occurred during processing:  
Controller - Cannot run program ""C:\Program Files\SASHome\SASFoundation\9.4\sas.exe"" (in directory "C:\Program Files\SASHome\SASFoundation\9.4"): CreateProcess error=2, The system cannot find the file specified
Controller - java.io.IOException: Cannot run program ""C:\Program Files\SASHome\SASFoundation\9.4\sas.exe"" (in directory "C:\Program Files\SASHome\SASFoundation\9.4"): CreateProcess error=2, The system cannot find the file specified

A temporary workaround is to run the uninstall process again. The process completes successfully the second time.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Deployment ManagerMicrosoft Windows 109.496149.4 TS1M6
Microsoft Windows Server 2012 Datacenter9.496149.4 TS1M6
Microsoft Windows Server 2012 R2 Datacenter9.496149.4 TS1M6
Microsoft Windows Server 2012 R2 Std9.496149.4 TS1M6
Microsoft Windows Server 2012 Std9.496149.4 TS1M6
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.