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

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%\System32In 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%\SysWOW64Even 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=supportNote 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

File name

File version

File size

Date

Time

Platform

Wevtsvc.dll

6.0.6001.22336

1,490,432

22-Dec-2008

04:53

x64

Windows Server 2008, Itanium-based versions

File name

File version

File size

Date

Time

Platform

Wevtsvc.dll

6.0.6001.22336

2,698,240

22-Dec-2008

04:36

IA-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

File name

Amd64_ba3747574d6b7ca11a2b7d551fc1b08d_31bf3856ad364e35_6.0.6001.22336_none_d70c5470e455ece4.manifest

File version

Not applicable

File size

700

Date (UTC)

22-Dec-2008

Time (UTC)

19:44

File name

Amd64_microsoft-windows-eventlog_31bf3856ad364e35_6.0.6001.22336_none_39522a2ce46726af.manifest

File version

Not applicable

File size

44,249

Date (UTC)

22-Dec-2008

Time (UTC)

05:26

File name

Package_for_kb961270_client_1~31bf3856ad364e35~amd64~~6.0.1.0.mum

File version

Not applicable

File size

1,375

Date (UTC)

22-Dec-2008

Time (UTC)

19:44

File name

Package_for_kb961270_client~31bf3856ad364e35~amd64~~6.0.1.0.mum

File version

Not applicable

File size

1,439

Date (UTC)

22-Dec-2008

Time (UTC)

19:44

File name

Package_for_kb961270_sc_0~31bf3856ad364e35~amd64~~6.0.1.0.mum

File version

Not applicable

File size

1,429

Date (UTC)

22-Dec-2008

Time (UTC)

19:44

File name

Package_for_kb961270_sc~31bf3856ad364e35~amd64~~6.0.1.0.mum

File version

Not applicable

File size

1,431

Date (UTC)

22-Dec-2008

Time (UTC)

19:44

File name

Package_for_kb961270_server_0~31bf3856ad364e35~amd64~~6.0.1.0.mum

File version

Not applicable

File size

1,433

Date (UTC)

22-Dec-2008

Time (UTC)

19:44

File name

Package_for_kb961270_server~31bf3856ad364e35~amd64~~6.0.1.0.mum

File version

Not applicable

File size

1,439

Date (UTC)

22-Dec-2008

Time (UTC)

19:44

File name

Package_for_kb961270_winpesrv_0~31bf3856ad364e35~amd64~~6.0.1.0.mum

File version

Not applicable

File size

1,430

Date (UTC)

22-Dec-2008

Time (UTC)

19:44

File name

Package_for_kb961270_winpesrv~31bf3856ad364e35~amd64~~6.0.1.0.mum

File version

Not applicable

File size

1,437

Date (UTC)

22-Dec-2008

Time (UTC)

19:44

Additional files for all supported Itanium-based versions of Windows Server 2008

File name

Ia64_73aaa85e2e3803001ac11c13f5f3fda9_31bf3856ad364e35_6.0.6001.22336_none_0e80f834eda906e2.manifest

File version

Not applicable

File size

698

Date (UTC)

22-Dec-2008

Time (UTC)

19:44

File name

Ia64_microsoft-windows-eventlog_31bf3856ad364e35_6.0.6001.22336_none_dd35329f2c07be75.manifest

File version

Not applicable

File size

44,239

Date (UTC)

22-Dec-2008

Time (UTC)

05:01

File name

Package_for_kb961270_sc_0~31bf3856ad364e35~ia64~~6.0.1.0.mum

File version

Not applicable

File size

1,425

Date (UTC)

22-Dec-2008

Time (UTC)

19:44

File name

Package_for_kb961270_sc~31bf3856ad364e35~ia64~~6.0.1.0.mum

File version

Not applicable

File size

1,426

Date (UTC)

22-Dec-2008

Time (UTC)

19:44

File name

Package_for_kb961270_server_0~31bf3856ad364e35~ia64~~6.0.1.0.mum

File version

Not applicable

File size

1,429

Date (UTC)

22-Dec-2008

Time (UTC)

19:44

File name

Package_for_kb961270_server~31bf3856ad364e35~ia64~~6.0.1.0.mum

File version

Not applicable

File size

1,434

Date (UTC)

22-Dec-2008

Time (UTC)

19:44

File name

Package_for_kb961270_winpesrv_0~31bf3856ad364e35~ia64~~6.0.1.0.mum

File version

Not applicable

File size

1,426

Date (UTC)

22-Dec-2008

Time (UTC)

19:44

File name

Package_for_kb961270_winpesrv~31bf3856ad364e35~ia64~~6.0.1.0.mum

File version

Not applicable

File size

1,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

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×