Microsoft KB Archive/292572

= OFF97: Error Message When You Start Outlook 97: The Program Is Not Registered Properly =

Article ID: 292572

Article Last Modified on 1/6/2006

-

APPLIES TO


 * Microsoft Office 97 Standard Edition, when used with:
 * Microsoft Windows 2000 Standard Edition

-



This article was previously published under Q292572



WARNING:This information is preliminary and has not been confirmed or tested by Microsoft. Use only with discretion.



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SYMPTOMS
After an unattended installation of Microsoft Windows 2000 and Microsoft Office 97 Professional Service Release 2 (SR-2) on a Gateway computer, you may receive the following error messages in the order presented and under the given circumstances:  When you start Microsoft Outlook 97 for the first time, you receive the following error message:

The program is not registered properly. Please run Setup again. You don't have appropriate permission to perform this operation.

 When you resolve the error noted in step 1 and then attempt to restart Outlook 97, you receive the following error message through the Dr. Watson utility:

Program Error: Outlook.exe has generated errors and will be closed by Windows. You will need to restart the program. An error log is being created.

The Dr. Watson log that is produced contains the following:

Application exception occurred:

App: outlook.exe (pid=580)

When: 2/21/2000 @ 09:22:13.619

Exception number: c0000094 (divide by zero)

 When you resolve the error noted in step 2 and then attempt to restart Outlook 97, you receive the following error message:

Outlook could not start because a location to send and receive mail could not be found. To add a location, such as a personal folder file, double-click the Mail icon in Windows Control Panel.





Error Message 1
This behavior occurs because Outlook 97 requires Full Control permissions to the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office

This is not a problem with the default security settings of earlier Windows operating systems. However, Windows 2000 introduces security restrictions that prevent Outlook from successfully creating registry keys when you are logged on as a user who is not a member of the Admin group.

Error Message 2
This behavior occurs because Outlook 97 requires Full Control permissions to the following registry key:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Messaging Subsystem

When additional security settings are applied through a security database (Secedit.sdb) during Gateway's system build, non-Admin users find their access to this key restricted.

Error Message 3
This behavior occurs because an invalid Outlook Windows Messaging profile is configured on Gateway systems as empty without any services installed. Outlook 97 requires one of the following services to be installed as the default mail delivery location:
 * Microsoft Exchange Server -or-


 * Personal Folders

If Outlook is unable to find a default delivery service location, the only other folders that Outlook can open are the file system folders, which it does by using Outlook 97 as a document explorer.

An Outlook Windows Messaging profile is not automatically created with a default Outlook 97 installation unless a custom Outlook.prf is configured for use with Newprof.exe.



RESOLUTION
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

Error Message 1
To resolve this issue, use the Regini.exe utility to create the following registry key with the Full Control permissions needed by Outlook for non-Admin users:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office

When Gateway's build process creates any subkeys in this registry key, the subkey inherits the current Office key permission settings.

For additional information about the Regini.exe utility, click the article number below to view the article in the Microsoft Knowledge Base:

264584 How to Change Registry Values or Permissions from a Command Line or a Script

Error Message 2
To resolve this issue, use the Regini.exe utility to create the following registry keys with the Full Control permissions needed by Outlook for non-Admin users:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office

-and-

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Messaging Subsystem

When Gateway's build process creates any subkeys in these registry keys, the subkey inherits the current registry key permission settings.

For additional information about the Regini.exe utility, click the article number below to view the article in the Microsoft Knowledge Base:

264584 How to Change Registry Values or Permissions from a Command Line or a Script

Error Message 3
To resolve this issue, follow these steps:  Click Start, point to Run, and then type regedit in the Open box.</li> Navigate to the following registry key

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles

and then delete the DefaultProfile value name from the Office 97 image before you apply the image to target systems.

This leaves only the Default value name with no value set.</li> Delete the following registry key

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Microsoft Outlook

from the Office 97 image before you apply the image to target systems. This key contains settings for an invalid Outlook Windows Messaging Profile that does not have any default services defined.</li> Delete the First-Run value name in the following registry key

HKEY_CURRENT_USER\Software\Microsoft\Office\8.0\Outlook

from the Office 97 image before you apply the image to target systems. Although the First-Run value name contains a value of True, Outlook 97 only detects the presence of the First-Run value name and does not interpret the actual value. Therefore, Outlook 97 is not set to a First-Run condition with this value name present.</li> Replace the existing System\Mapisvc.inf file (which contains only the Microsoft Fax services) with the provided Mapisvc.inf (which includes all default services and the Microsoft Fax services).

Outlook 97 cannot successfully create a valid Outlook Windows Messaging Profile without the default mail services configured to be available in the Mapisvc.inf file.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
For information about how to contact Gateway, click the appropriate article number in the following list to view the article in the Microsoft Knowledge Base:

65416 Hardware and Software Third-Party Vendor Contact List, A-K

60781 Hardware and Software Third-Party Vendor Contact List, L-P

60782 Hardware and Software Third-Party Vendor Contact List, Q-Z

Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.

The third-party products that are discussed in this article are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

<div class="references_section">