When you attempt to invoke the SAS 9.3 Enhanced Editor on a Windows system, two different problems can occur:
- You might find that the menu item for the SAS Enhanced Editor is missing when you select View ► Enhanced Editor.
- Or, you are able to start the Enhanced Editor, but these error messages appear:
Enhanced Editor
Unable to load managed editor component. Error: 0x80040154.
The editor may not be installed properly.
OLE: Object's class is not registered in the registration database.
The application necessary to activate this object is unavailable.
Would you like it to or activate it as another type of object using Convert...?
Then, when you click OK in the error message box, SAS finishes invoking and this message appears in the SAS log:
OLE: Out of memory.
Why These Problems Occur
The problems occur for different reasons:
Important: The correction that you use depends on the specific cause. In any case, the first thing that you should do is figure out what your operating system is and what type of order you have.
Determine Which Operating System You Have and Whether Your Order Is 32-Bit or 64-Bit
If System Type is x64, you have an x64 operating system. If System Type is x86, you have a 32-bit operating system.
After you download your order to an existing SAS Software Depot, look at your SAS Order Information (SOI) file to determine the contents in your order and the date that the order was placed.
The location of the SOI is in your SAS Software Depot or on the SAS Software Disk 1 DVD. On a Windows system, this path is install_doc\order-number\soi.html.
You can also view this information from the SAS Order E-mail that is sent to the SAS Representative. Here is an example:
Operating System: Microsoft® Windows® Server & Workstation for x64
Or:
Operating System: Microsoft® Windows® Workstation & Server 32-bit
- Determine which operating system you have:
- Click Start ► Run, or click Start and locate the Search Programs and Files box.
- Type msinfo32.exe and press Enter.
- When the System Information dialog box appears, look in the right pane for the entries OS Name and System Type. Here is an example:
OS Name Microsoft Windows 7 Enterprise System Type x64-based PC
- Determine whether your order is 32-bit or 64-bit:
Now that you know your system and order type, you can proceed to the steps for correcting the problem.
Situation-Specific Instructions for Correcting These Problems
The rest of this note contains instructions that are situation-specific. Click the link that pertains to your situation:
If neither of the scenarios above sounds like your situation, try one of these additional options:
If you had a previous release of SAS 9.2 or installed SAS 9.3 on an x64 operating system, or you have an x64 operating system and installed a 32-bit SAS order, follow these steps to correct the issue:
- Select Start ► Run, type cmd, and press ENTER.
On a Windows 7 system: Select Start ► Run and type cmd. At the top of the menu to start programs, cmd.exe is displayed. Right-click this cmd.exe and select Run as Administrator.
- Register the Enhanced Editor Control
- Start Windows Explorer and navigate to C:\Program Files\SASHome\InstallMisc\InstallLogs\.
- Open the ITdate_time.log file with Notepad or another text editor.
- Select Edit ► Find and search for editorcontrol.ocx. Look for the extracted location. Here is an example:
BatchRegistrationTask - in progressBeginningAction(Added, EditorControl.ocx
ExtractTask - extracted
C:\Program Files (x86)\SAS\SharedFiles\EnhancedEditor\
EditorControl.ocx
- At the command prompt that you opened in Step 1, type the following commands and press ENTER after each line:
cd\
cd c:\Windows
cd syswow64
regsvr32 "C:\Program Files\SAS\SharedFiles(32)\EnhancedEditor\editorcontrol.ocx"
- Register the Enhanced Editor .dll
"C:\Windows\Microsoft.NET\Framework\v2.0.50727 \RegAsm.exe", /codebase, "C:\Program Files\SAS\SharedFiles(32) \EnhancedEditor\SAS.EnhancedEditor.dll"
Note: Your path for Microsoft .Net Framework 2.0 might be C:\WINNT\Microsoft.NET\Framework\v2.0.50727 or C:\Windows\Microsoft.NET\Framework\v2.0.50727.
- Start Windows Explorer and navigate to C:\Program Files\SASHome\InstallMisc\InstallLogs\.
- Open the ITdate_time.log file with Notepad or another text editor.
- Select Edit ► Find and search for attempting to register SAS.EnhancedEditor.dll.
- Highlight the contents that are in the bracket. Do not include the brackets. Press Ctrl+C to copy the line. Here is an example:
- Select Start ► Run, or click Start and locate the Search Programs and Files box. Type Notepad (or open another text editor) and press ENTER.
- In Notepad, select Edit ► Paste or press Ctrl+V to paste the contents from Step d.
Now remove the commas, because the command does not work with the commas. Here is an example of the paste:
"C:\Windows\Microsoft.NET\Framework\v2.0.50727
\RegAsm.exe" /codebase "C:\Program Files\SAS\SharedFiles(32)
\EnhancedEditor\SAS.EnhancedEditor.dll"
- After the commas have been removed, highlight the updated command, and press Ctrl+C to copy it again (or select Edit ► Copy from the menu).
- Select Start ► Run, type cmd, and press ENTER.
On a Windows 7 system: Select Start ► Run and type cmd. At the top of the menu to start programs, cmd.exe is displayed. Right-click this cmd.exe and select Run as Administrator.
- Paste the contents from Step g at the command prompt: Place your cursor in the command prompt window, right-click, and select Paste.
Here is an example:
"C:\Windows\Microsoft.NET\Framework\v2.0.50727
\RegAsm.exe" /codebase "C:\Program Files\SAS\SharedFiles(32)
\EnhancedEditor\SAS.EnhancedEditor.dll"
- Start SAS. Select View ► Enhanced Editor.
If there are no errors, the problem has been resolved.
If there are errors, please report these to SAS Technical Support and include the log files that are listed below, in Files to Send to SAS Technical Support.
If SAS 9.3 is the only version installed on this system and if this is a 32-bit SAS order on a 32-bit machine, perform the following steps:
- Reboot the PC and log on as an administrator. See SAS Note 5055.
- Turn off your antivirus software.
- Make sure that there are no SAS processes or services running.
- Very Important: Open Windows Explorer and navigate to C:\Program Files\SASHOME\ and delete the EnhancedEditor directory.
- Re-install SAS® Foundation only. For detailed instructions, see Step 1 below, under Re-install SAS Foundation By Following These Steps (recommended).
Note: If the installation goes into Update mode, allow the update to run. For more information about your system going into Update mode at the wrong time, see SAS Note 44168: "SAS® installation incorrectly enters Update mode when you install a 32-bit Windows order on an x64-based machine."
Then, before attempting to re-install SAS Foundation, start SAS (Select Start ► Programs ► SAS 9.3 English) and see whether the Enhanced Editor message is gone. If it is, the update fixed the installation. If not, run setup.exe one more time to re-install SAS Foundation.
If all of the previous suggestions have failed, reboot the PC and log on as an Administrator. Close your antivirus program. Then, perform one of the following procedures to re-install the Enhanced Editor.
- Double-click the setup.exe at the root of your SAS Software Depot to start the SAS Deployment Wizard. If your Windows operating system is Windows Vista, Windows 7, or Windows Server 2008, right-click the setup.exe and select Run as administrator.
- The SAS® Deployment Wizard 9.3 appears. Select the language in which you want to view the SAS Deployment Wizard (install) and click OK. The default is English.
- The Select Deployment Task dialog box appears. Select Install SAS Software to install SAS Foundation. Click Next.
- The Select SAS Software Order dialog box is displayed if you have more than one order in your SAS Software Depot. Select your SAS software order from the list and then verify the specific items in the SAS Products to Install text box. Click Next.
- In the SAS Deployment Type dialog box, select Install SAS Foundation and Related Software -— not the Perform a Planned Deployment option. A planned-installation package defaults to Perform a Planned Deployment. Click Next.
Note: If you have a Basic deployment, you do not see this selection. Go to the next step. For help with determining whether you have a Basic deployment, see SAS Order Information.
- In the Select Products to Install dialog box, click Clear All and then select only the check box for SAS Foundation.
- In the Select SAS Foundation Products dialog box, either leave the defaults that are checked or select Base SAS only. Click Next to continue.
- Select the appropriate SAS installation data (SID) file and click Next (the default is usually correct).
- In the Select Language Support dialog box, all of the languages are selected by default. For English only, click Clear All and Next.
- In the SAS Environments URL dialog box, click Next or specify the SAS Environments URL. For more information, click the Help button or see the SAS® Intelligence Platform: Middle-Tier Administration Guide.
- In the Checking System dialog box, do not click Next. Once the installation runs through the loading installation package, it automatically proceeds to the next Checking System dialog box.
- Here, the system verifies the amount of free disk space and verifies that the files and directories can be written to. Click Next. For additional details, see SAS Note 43610: "The disk space requirement for SAS® Deployment Wizard might not be accurate for the SAS® 9.3 Foundation installation under Microsoft Windows."
- In the Deployment Summary dialog box, click Start to begin the installation process.
- The Deployment in Progress dialog box appears.
- When the Deployment Complete dialog box appears, click Next.
- In the Additional Resources dialog box, you can print this screen or click the links to see the pages. Click Finish when you are done.
See SAS Note 44102: "Installing SAS® Foundation 9.3 (TS1M0) and SAS® Enterprise Guide® 4.3 in Windows operating environments (planned installations only)" for screen captures and more details.
- Select Start ► Programs ► SAS ► Utilities ► SAS Integration Technologies Configuration.
- Copy the details in the box from the SAS Integration Technologies Configuration Wizard window if there are errors, and open a track with SAS Technical Support (including the details). This will aid in the troubleshooting process, if you continue to have problems. This is an example of what the details should look like, when everything is installed correctly:
The version(s) of The SAS System installed on this machine:
9.3
Current active version of SAS: 9.3
DCOM is enabled.
COM/DCOM Settings:
Default Authentication Level: Not Specified
Default Impersonation Level: Identify
SAS Authentication Level: Default
Use this procedure to install the Enhanced Editor outside of SAS Foundation. Do this only as a last resort. Do not use this method to install any other products unless directed by SAS Technical Support or SAS Development.
The SAS® Deployment Wizard 9.3 appears.
- Click Start ► Run, or click Start and locate the Search Programs and Files box. Type cmd. Click OK.
- Change to the SAS Software Depot directory. For example:
cd\
cd "C:\SAS Software Depot"
- Run setup.exe with the -allselectable option. For example:
setup.exe -allselectable
- Select the language in which you want to view the SAS Deployment Wizard (install) and click OK. The default is English.
- The Select Deployment Task dialog box appears. Select Install SAS Software. Click Next.
- The Select SAS Software Order dialog box is displayed if you have more than one order in your SAS Software Depot. Select your SAS software order from the list and then verify the specific items in the SAS Products to Install text box. Click Next.
- In the SAS Deployment Type dialog box, select Install SAS Foundation and Related Software---not the Perform a Planned Deployment option. A planned-installation package defaults to Perform a Planned Deployment. Click Next.
Note: If you have a Basic deployment, you will not see this selection. Go to the next step. For help with determining whether you have a Basic deployment, see SAS Order Information.
**Also, the installation might go into Update Mode to install Product Updates and Support Components. If it does, let it. The updates that are applied might correct the Enhanced Editor problem.
- In the Select Products to Install dialog box, click Clear All and then only select the check box for the SAS Enhanced Editor.
- Select the appropriate SAS installation data file (SID file) and click Next (the default is usually correct).
- In the Select Language Support dialog box, all of the languages are selected by default. For English only, click Clear All and Next.
- In the Checking System dialog box, do not click Next. Once the installation runs through the loading installation package, it automatically proceeds to the next Checking System dialog box.
- Here, the system verifies the amount of free disk space and verifies that the files and directories can be written to. Click Next. For additional details, see SAS Note 43610: "The disk space requirement for SAS® Deployment Wizard might not be accurate for the SAS® 9.3 Foundation installation under Microsoft Windows."
- In the Deployment Summary dialog box, click Start to begin the installation process.
- The Deployment in Progress dialog box appears.
- When the Deployment Complete dialog box appears, click Next.
- In the Additional Resources dialog box, you can print this screen or click the links to see the pages. Click Finish when you are done.
Files to Send If SAS 9.3 Is the Only Version That Has Ever Been on This System
If SAS 9.3 is the only version that has ever been on this system, send the following files to SAS Technical Support to help isolate the problem. Note: If you are not sure whether SAS 9.3 is the only version that has been on your system, send all of the files described in this section.
Send These Log Files:
- The IT logs - IT_date_time.log and IT_date_time_filelist.log from C:\Program Files\SASHome\InstallMisc\InstallLogs
- The Enhanced Editor logs (eeditor*.log) from C:\Program Files\SASHome\InstallMisc\InstallLogs\
- SDWPREFS.txt, DEPLOYWIZ.log, SDW.log and SDM.log from C:\Users\userid_that_the_performed_install\AppData\Local\SAS\SASDeploymentWizard\
Or:
C:\Documents and Settings\userid_that_the_performed_install\Local Settings\Application Data\SAS\SASDeploymentWizard\
Create and send the system.nfo file:
- Select Start ► Run, or click Start and locate the Search Programs and Files box. Type msinfo32.exe and press ENTER
- .
- When the system information comes up, select File ► Save and type system for the name.
- Send the system.nfo file that is created.
Send the contents of your Enhanced Editor registry keys:
- Create and send an eeditor.txt file with the following Enhanced Editor registry keys:
- Select Start ► Run and type regedit. When the Registry window appears, locate the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\SAS Institute Inc.\Common Data\Shared Files\Enhanced Editor\Consumers
- Right-click and select Export. For the filename, type eeditor.
- Under Save as type, select Text Files(*.txt).
- Send the eeditor.txt file that is created.
- Locate and send this registry key if it exists:
- HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAS Institute Inc.\Common Data\Shared Files\Enhanced Editor
- Right-click and select Export. For the filename, type woweeditor.
- Under Save as type, select Text Files(*.txt).
- Send the woweeditor.txt file that is created.
Files to Send If You Had Problems during Post Processing and You Continued with the Installation Anyway
If you had problems during Post Processing and continued with the installation anyway, send the following files to SAS Technical Support to help isolate the problem:
- Click Start ► Run, or click Start and locate the Search Programs and Files box. Type msinfo32.exe and press ENTER
- When the system information appears, select File ► Save and type system for the filename.
- Then send the system.nfo file that is created.
- If you have any screen captures that show where the failure occurred, include those as well.
Operating System and Release Information
SAS System | Base SAS | Microsoft® Windows® for x64 | 9.3 | | 9.3 TS1M0 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.3 | | 9.3 TS1M0 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.3 | | 9.3 TS1M0 | |
Microsoft Windows Server 2003 Standard Edition | 9.3 | | 9.3 TS1M0 | |
Microsoft Windows Server 2003 for x64 | 9.3 | | 9.3 TS1M0 | |
Microsoft Windows Server 2008 | 9.3 | | 9.3 TS1M0 | |
Microsoft Windows Server 2008 for x64 | 9.3 | | 9.3 TS1M0 | |
Microsoft Windows XP Professional | 9.3 | | 9.3 TS1M0 | |
Windows 7 Enterprise 32 bit | 9.3 | | 9.3 TS1M0 | |
Windows 7 Enterprise x64 | 9.3 | | 9.3 TS1M0 | |
Windows 7 Home Premium 32 bit | 9.3 | | 9.3 TS1M0 | |
Windows 7 Home Premium x64 | 9.3 | | 9.3 TS1M0 | |
Windows 7 Professional 32 bit | 9.3 | | 9.3 TS1M0 | |
Windows 7 Professional x64 | 9.3 | | 9.3 TS1M0 | |
Windows 7 Ultimate 32 bit | 9.3 | | 9.3 TS1M0 | |
Windows 7 Ultimate x64 | 9.3 | | 9.3 TS1M0 | |
Windows Vista | 9.3 | | 9.3 TS1M0 | |
Windows Vista for x64 | 9.3 | | 9.3 TS1M0 | |
*
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.