A custom event is logged incorrectly when you run a 32-bit application in a 64-bit version of Windows Server 2008 or of Windows Vista

Article translations Article translations
Article ID: 961270 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

On a computer that is running a 64-bit version of Windows Server 2008 or of Windows Vista, you run a 32-bit application that logs a custom event. When you try to view this event in Event Viewer, you notice that the event is logged incorrectly. For example, Event Viewer displays a message that states the following:
The description for Event ID 261 from source LogSample cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
This problem does not occur on 64-bit versions of Windows Server 2003 or of Windows XP.

CAUSE

This problem occurs when you register the DLLs that contain the custom event information in the registry by using a path that contains the following string:
%SystemRoot%\System32
In 64-bit versions of Windows Server 2008 and of Windows Vista, DLLs that are installed by 32-bit applications are put in the following folder:
%SystemRoot%\SysWOW64
Even if you specify the System32 folder when you install a DLL, Windows redirects the System32 folder to the SysWOW64 folder. However, this is not the case for the registry. If you register a DLL in the registry by using a path that contains the %SystemRoot%\System32 string, Windows does not redirect the registration to the SysWOW64 folder. When the 64-bit Event Log service tries to locate the DLLs to retrieve the event information, the Event Log service still uses the System32 folder instead of the SysWOW64 folder. Because the System32 folder does not contain the DLLs, the Event Log service cannot retrieve the event information.

RESOLUTION

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Important Windows Vista and Windows Server 2008 hotfixes are included in the same packages. However, only one of these products may be listed on the “Hotfix Request” page. To request the hotfix package that applies to both Windows Vista and Windows Server 2008, just select the product that is listed on the page.

Prerequisites

To apply this hotfix, you must be running Windows Server 2008 or Windows Vista Service Pack 1.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

Windows Server 2008 and Windows Vista notes

The .manifest files and the .mum files that are installed in each environment are listed separately in the "Additional file information for Windows Server 2008 and for Windows Vista" section. These files and their associated .cat (security catalog) files are critical to maintaining the state of the updated component. The .cat files are signed with a Microsoft digital signature. The attributes of these security files are not listed.
Windows Server 2008, x64-based versions; and Windows Vista with Service Pack 1, x64-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Wevtsvc.dll6.0.6001.223361,490,43222-Dec-200804:53x64
Windows Server 2008, Itanium-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Wevtsvc.dll6.0.6001.223362,698,24022-Dec-200804:36IA-64

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base: -
824684 Description of the standard terminology that is used to describe Microsoft software updates

Additional file information for Windows Server 2008 and for Windows Vista

Additional files for all supported x64-based versions of Windows Windows Server 2008 and of Windows Vista
Collapse this tableExpand this table
File nameAmd64_ba3747574d6b7ca11a2b7d551fc1b08d_31bf3856ad364e35_6.0.6001.22336_none_d70c5470e455ece4.manifest
File versionNot applicable
File size700
Date (UTC)22-Dec-2008
Time (UTC)19:44
File nameAmd64_microsoft-windows-eventlog_31bf3856ad364e35_6.0.6001.22336_none_39522a2ce46726af.manifest
File versionNot applicable
File size44,249
Date (UTC)22-Dec-2008
Time (UTC)05:26
File namePackage_for_kb961270_client_1~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot applicable
File size1,375
Date (UTC)22-Dec-2008
Time (UTC)19:44
File namePackage_for_kb961270_client~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot applicable
File size1,439
Date (UTC)22-Dec-2008
Time (UTC)19:44
File namePackage_for_kb961270_sc_0~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot applicable
File size1,429
Date (UTC)22-Dec-2008
Time (UTC)19:44
File namePackage_for_kb961270_sc~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot applicable
File size1,431
Date (UTC)22-Dec-2008
Time (UTC)19:44
File namePackage_for_kb961270_server_0~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot applicable
File size1,433
Date (UTC)22-Dec-2008
Time (UTC)19:44
File namePackage_for_kb961270_server~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot applicable
File size1,439
Date (UTC)22-Dec-2008
Time (UTC)19:44
File namePackage_for_kb961270_winpesrv_0~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot applicable
File size1,430
Date (UTC)22-Dec-2008
Time (UTC)19:44
File namePackage_for_kb961270_winpesrv~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot applicable
File size1,437
Date (UTC)22-Dec-2008
Time (UTC)19:44
Additional files for all supported Itanium-based versions of Windows Server 2008
Collapse this tableExpand this table
File nameIa64_73aaa85e2e3803001ac11c13f5f3fda9_31bf3856ad364e35_6.0.6001.22336_none_0e80f834eda906e2.manifest
File versionNot applicable
File size698
Date (UTC)22-Dec-2008
Time (UTC)19:44
File nameIa64_microsoft-windows-eventlog_31bf3856ad364e35_6.0.6001.22336_none_dd35329f2c07be75.manifest
File versionNot applicable
File size44,239
Date (UTC)22-Dec-2008
Time (UTC)05:01
File namePackage_for_kb961270_sc_0~31bf3856ad364e35~ia64~~6.0.1.0.mum
File versionNot applicable
File size1,425
Date (UTC)22-Dec-2008
Time (UTC)19:44
File namePackage_for_kb961270_sc~31bf3856ad364e35~ia64~~6.0.1.0.mum
File versionNot applicable
File size1,426
Date (UTC)22-Dec-2008
Time (UTC)19:44
File namePackage_for_kb961270_server_0~31bf3856ad364e35~ia64~~6.0.1.0.mum
File versionNot applicable
File size1,429
Date (UTC)22-Dec-2008
Time (UTC)19:44
File namePackage_for_kb961270_server~31bf3856ad364e35~ia64~~6.0.1.0.mum
File versionNot applicable
File size1,434
Date (UTC)22-Dec-2008
Time (UTC)19:44
File namePackage_for_kb961270_winpesrv_0~31bf3856ad364e35~ia64~~6.0.1.0.mum
File versionNot applicable
File size1,426
Date (UTC)22-Dec-2008
Time (UTC)19:44
File namePackage_for_kb961270_winpesrv~31bf3856ad364e35~ia64~~6.0.1.0.mum
File versionNot applicable
File size1,433
Date (UTC)22-Dec-2008
Time (UTC)19:44

REFERENCES

For more information about the Event Log service in Windows, visit the following Microsoft TechNet Web site:
http://technet.microsoft.com/en-us/library/cc775047.aspx

Properties

Article ID: 961270 - Last Review: October 8, 2011 - Revision: 2.0
APPLIES TO
  • Windows Server 2008 Datacenter
  • Windows Server 2008 Enterprise
  • Windows Server 2008 Standard
  • Windows Vista Business 64-bit Edition
  • Windows Vista Enterprise 64-bit Edition
  • Windows Vista Home Basic 64-bit Edition
  • Windows Vista Ultimate 64-bit Edition
Keywords: 
kbexpertiseadvanced kbfix kbautohotfix kbsurveynew kbqfe KB961270

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com