"OleMainThreadWndName" Error Message When You Log On To a Computer with Service Pack 3 Installed (209476)



The information in this article applies to:

  • Microsoft Internet Explorer (Programming) 3.01
  • Microsoft Internet Explorer (Programming) 3.02
  • Microsoft Internet Explorer (Programming) 4.0
  • Microsoft Windows NT Server 4.0

This article was previously published under Q209476

SYMPTOMS

After you log on to a computer running Windows NT Server 4.0 Service Pack 3, the following error message may be displayed:
Dialog Box: OleMainThreadWndName: regsvr32.exe - Ordinal Not Found
Message: The ordinal 386 could not be located in the dynamic link library COMCTL32.dll

NOTE: This error message may appear only once when you initially log on to the computer.

After you start Internet Explorer, the following error message may be displayed:
Dialog Box: iexplore.exe - Ordinal Not Found
Message: The ordinal 386 could not be located in the dynamic link library COMCTL32.dll

CAUSE

The Windows NT installation still contains some Microsoft Internet Explorer 4.0 files. This behavior can occur on a Windows NT Server-based computer that was previously a computer running Service Pack 3 with Internet Explorer 4.0, and then Windows NT 4.0 was reinstalled in the original directory, the computer was upgraded to Service Pack 3, and Internet Explorer 3.02 was applied.

RESOLUTION

To resolve this issue, delete or rename the Internet Explorer 4.0 version files and reinstall Internet Explorer 3.02 on your computer to get a working version of Internet Explorer 3.02 or later:
  1. Check the version information for the following files (right-click the file in Windows NT Explorer, click Properties, and then click the Version tab):

    Advapi32.dll
    Iexplore.exe
    Inetcpl.cpl
    Shdocvw.dll
    Shlwapi.dll
    Wininet.dll

    NOTE: Any file with version 4.71.nnnn was included with Internet Explorer 4.0. Any file with version 4.70.nnnn was included with Internet Explorer 3.02.
  2. Delete or rename any files that are version 4.71.nnnn.

    NOTE: The Shlwapi.dll file is usually is in use and cannot be deleted or renamed. To fix this file, use the appropriate method:
    • If the installation is on a FAT partition, boot with an MS-DOS disk and then delete or rename the file.
    • If the installation is on an NTFS partition, perform a parallel installation of Windows NT, boot to that operating system, and then rename or delete the file.
  3. After you delete or rename the Internet Explorer 4.0 files, reinstall Internet Explorer 3.02. You now have a working version of Internet Explorer (and you can upgrade to Internet Explorer 4.0 if you want).

Modification Type:MajorLast Reviewed:8/6/2002
Keywords:kberrmsg kbprb KB209476