Error Message: An Application Error Has Occurred and an Application Error Log Is Being Generated

ID: Q240992


The information in this article applies to:
  • Microsoft Windows NT Server version 4.0, Terminal Server Edition

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

SYMPTOMS

When you log on to a computer running Terminal Server Edition, you may receive the following error message:

An application error has occurred and an application error log is being generated.
Userinit.exe
Exception: access violation (0xc0000005), Address: 0x77f901b3
NOTE: The address value may be different, depending on your computer configuration.

The Terminal Server client is disconnected after you click OK or Cancel.


CAUSE

This behavior occurs because an invalid value exists in the registry.


RESOLUTION

To resolve this problem, obtain the latest service pack for Windows NT Server 4.0, Terminal Server Edition. For additional information, please see the following article in the Microsoft Knowledge Base:

Q152734 How to Obtain the Latest Windows NT 4.0 Service Pack


WORKAROUND

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys and Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT, you should also update your Emergency Repair Disk (ERD).

To work around this issue, delete the invalid registry value:

  1. Start Registry Editor (Regedt32.exe).


  2. Locate the following registry key:


  3. HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install\IniFile Times
  4. Locate the invalid value (this is usually a value with no name).


  5. Click the invalid value.


  6. On the Edit menu, click Delete, and then click Yes.


  7. Quit Registry Editor.



STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was first corrected in Windows NT 4.0 Server, Terminal Server Edition, Service Pack 5.

Additional query words:

Keywords : kbenv ntsp
Version : winnt:4.0
Platform : winnt
Issue type : kbbug


Last Reviewed: November 23, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.