When you start SAS 9.1 after a new installation, the following error might appear:
Critical Error loading host supervisor:
%1 is not a valid Win32 application:
!sasroot\sas\core\sasext\tkmk.dll
To resolve this issue, uninstall and reinstall SAS and make sure you are logged in as the administrator of the machine. Follow these instructions only if you have SAS 9.1 installed with no other releases of SAS or other SAS products installed on your machine:
1. Uninstall SAS 9.1 from the Control Panel by clicking Start ► Settings ► Control Panel ► Add/Remove Programs ► SAS 9.1.
WARNING: DO NOT uninstall the SAS Private JRE. (J2SE(tm) Java Runtime Environment 1.4.1 (SAS Private Version).
2. Reboot your PC, log in as the administrator of the machine, and close all applications, including anti-virus, -spyware, and -adware programs.
3. Remove the SAS folder where the sas.exe file and the Shared Files folder reside. By default, the folder is located in C:\Program Files\SAS.
4. Remove SAS registry keys by performing the following:
a. Start ► Run ► enter REGEDIT ► select OK.
b. Delete the following registry keys:
HKEY_LOCAL_MACHINE\SOFTWARE\SAS Institute Inc.\The SAS System\ 9.1
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ Uninstall\{68624FB8-2512-46B5-9664-64366DCCB3EB}
5. Delete the temporary folder:
C:\Documents and Settings\<userID>\Local Settings\Temp\ {68624FB8-2512-46B5-9664-64366DCCB3EB}
6. Delete the Temporary files that are created with Internet Explorer (IE), by performing the following:
a. Open Internet Explorer.
b. Click Tools ► Internet Options ► Temporary Internet Files ► Delete Files ► OK.
7. Delete the Installshield directories by deleting the folders located in C:\Program Files\InstallShield Installation Information.
7. Reboot your PC, log in as the administrator of the machine, and close all applications, including anti-virus, -spyware, and -adware programs.
8. Re-Install SAS 9.1.3.
Warning: Always back up your registry before you make any registry changes. For assistance, see Windows Help, Microsoft documentation, or the Microsoft Windows Web site. SAS is not responsible when you edit the Windows registry: changes in the Windows registry can render your system unusable and will require that you reinstall the operating system.