When you invoke the SAS 9.2 Enhanced Editor, the following error message might appear:
Enhanced Editor Unable to load managed editor component. Error: 0x80040154. The editor may not be installed properly.
When you click OK in the message box, SAS finishes invoking and the following message appears in the SAS log:
When you inspect the following files, they seem to be normal and show no error messages or error codes:
C:\Program Files\SAS\SASFoundation\9.2\sassetup.log C:\Program Files\SAS\Shared Files\EnhancedEditor\eeditor_<date>_<time>.log C:\Program Files\SAS\SASFoundation\9.2\eeditor_silentsetup.log
The version numbers for EditorControl.ocx and SAS.EnhancedEditor.dll are as expected (9.200.0.8242 or higher).
To fix this issue, follow the steps for reregistering and reinstalling that appear in SAS Note 20757 "Error messages might appear in the SAS® log when you invoke SAS or open the Enhanced Editor."
If you invoke SAS again after following the reinstallation steps in SAS Note 20757 and the error messages still occur, follow these steps:
Warning: Always back up your registry file 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 require that you reinstall the operating system.
C:\WINNT\MICROS~1.NET\FRAMEW~1\V20~1.507\RegAsm.exe C:\PROGRA~1\SASINS~1\SHARED~1\ENHANC~2 \SASENH~1.DLL /codebase
Note: Your path for Microsoft .Net Framework 2.0 could be either C:\WINNT\Microsoft.NET\Framework\v2.0.50727 or C:\Windows\Microsoft.NET\Framework\v2.0.50727.
C:\WINNT\MICROS~1.NET\FRAMEW~1\V20~1.507\RegAsm.exe "C:\PROGRA~1\SASINS~1\SHARED~1\ENHANC~2 \SASENH~1.DLL" /codebase
Note: Your path for Microsoft .Net Framework 2.0 could be either C:\WINNT\Microsoft.NET\Framework\v2.0.50727 or C:\Windows\Microsoft.NET\Framework\v2.0.50727.
"Please set registry key HKLM\Software\Microsoft\.NetFramework\InstallRoot to point to the .NET Framework install location"Retry the command. If successful, then continue with remaining steps.
C:\WINNT\system32\regsvr32.exe "C:\Program Files\SAS Institute\Shared Files\EnhancedEditor\EditorControl.ocx" /s
Note: This problem can also occur on the Windows 7 operating system if you are not using the supported version of SAS (for example, SAS 9.2 TS1M0.
Product Family | Product | System | SAS Release | |
Reported | Fixed* | |||
SAS System | SAS Enhanced Editor | Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS1M0 | |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS1M0 | |||
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS1M0 | |||
Microsoft® Windows® for x64 | 9.2 TS1M0 | |||
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS1M0 | |||
Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS1M0 | |||
Microsoft Windows Server 2003 Standard Edition | 9.2 TS1M0 | |||
Microsoft Windows XP Professional | 9.2 TS1M0 | |||
Windows Vista | 9.2 TS1M0 |
Type: | Installation Note |
Priority: | high |
Date Modified: | 2011-12-22 12:04:47 |
Date Created: | 2008-12-09 17:00:57 |