EnableTrace() Function Requires Trace Providers to Be Registered Before Enabling Them

Article translations Article translations
Article ID: 307331 - View products that this article applies to.
This article was previously published under Q307331
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

On This Page

SYMPTOMS

When you use the Windows 2000 Event Trace functions, there is no way to enable an event provider Globally Unique Identifier (GUID) before that GUID is registered by a Trace Provider. This can prevent tracing of the provider's initialization code.

Calling the EnableTrace function on an event GUID (a provider control GUID) that is yet to be registered returns "ERROR_WMI_GUID_NOT_FOUND" (decimal 4200 or hexadecimal 0x1068).

RESOLUTION

Service Pack Information

To resolve this problem, obtain the latest service pack for Microsoft Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
260910 How to Obtain the Latest Windows 2000 Service Pack

Hotfix Information

A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem. This fix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Windows 2000 service pack that contains this fix.

To resolve this problem immediately, download the fix by clicking the download link later in this article or contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS
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.

The following file is available for download from the Microsoft Download Center:
Collapse this imageExpand this image
Download
Download the Q307331 package now
Release Date: October 21, 2002

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to Obtain Microsoft Support Files from Online Services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

The English version of this fix has the file attributes (or later) 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 tool in Control Panel.
   Date         Time   Version            Size    File name
   --------------------------------------------------------------
   16-Aug-2002  20:06  5.0.2195.5781     123,664  Adsldp.dll
   16-Aug-2002  20:06  5.0.2195.5781     131,344  Adsldpc.dll
   16-Aug-2002  20:06  5.0.2195.5781      62,736  Adsmsext.dll
   16-Aug-2002  20:06  5.0.2195.5992     358,160  Advapi32.dll
   16-Aug-2002  20:06  5.0.2195.5265      42,256  Basesrv.dll
   16-Aug-2002  20:06  5.0.2195.5855      49,424  Browser.dll
   16-Aug-2002  20:06  5.0.2195.6012     135,952  Dnsapi.dll
   16-Aug-2002  20:06  5.0.2195.6012      96,016  Dnsrslvr.dll
   16-Aug-2002  20:06  5.0.2195.5722      45,328  Eventlog.dll
   16-Aug-2002  20:06  5.0.2195.5907     222,992  Gdi32.dll
   16-Aug-2002  20:06  5.0.2195.5859     145,680  Kdcsvc.dll
   04-Jun-2002  18:31  5.0.2195.5859     199,952  Kerberos.dll
   16-Aug-2002  20:06  5.0.2195.6011     708,880  Kernel32.dll
   15-Jul-2002  12:52  5.0.2195.5940      71,024  Ksecdd.sys
   22-Jul-2002  20:54  5.0.2195.5960     507,152  Lsasrv.dll
   22-Jul-2002  20:54  5.0.2195.5960      33,552  Lsass.exe
   16-Aug-2002  20:06  5.0.2195.4733     332,560  Msgina.dll
   12-Aug-2002  21:54  5.0.2195.6006     108,816  Msv1_0.dll
   16-Aug-2002  20:06  5.0.2195.5979     307,472  Netapi32.dll
   16-Aug-2002  20:06  5.0.2195.5966     360,720  Netlogon.dll
   06-Sep-2002  15:40  5.0.2195.6044     917,264  Ntdsa.dll
   16-Aug-2002  20:06  5.0.2195.6015     387,856  Samsrv.dll
   16-Aug-2002  20:06  5.0.2195.5951     129,296  Scecli.dll
   16-Aug-2002  20:06  5.0.2195.5951     302,864  Scesrv.dll
   18-Jul-2002  21:58  5.1.2195.0        146,192  Schannel.dll
   05-Sep-2002  15:43  5.0.2195.6048     122,880  Sp3res.dll
   16-Aug-2002  20:06  5.0.2195.6000     379,664  User32.dll
   16-Aug-2002  20:06  5.0.2195.5968     369,936  Userenv.dll
   16-Aug-2002  20:06  5.0.2195.5859      48,912  W32time.dll
   04-Jun-2002  18:32  5.0.2195.5859      57,104  W32tm.exe
   15-Aug-2002  18:10  5.0.2195.6017   1,642,416  Win32k.sys
   15-Aug-2002  12:30  5.0.2195.6013     179,472  Winlogon.exe
   16-Aug-2002  20:06  5.0.2195.5935     243,472  Winsrv.dll
   16-Aug-2002  20:06  5.0.2195.5944     125,712  Wldap32.dll
   16-Aug-2002  20:06  5.0.2195.5774      72,976  Wmicore.dll
				

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Microsoft Windows 2000 Service Pack 4.

MORE INFORMATION

For additional information about how to obtain a hotfix for Windows 2000 Datacenter Server, click the article number below to view the article in the Microsoft Knowledge Base:
265173 The Datacenter Program and Windows 2000 Datacenter Server Product

Properties

Article ID: 307331 - Last Review: February 27, 2014 - Revision: 3.5
APPLIES TO
  • Microsoft Windows 2000 Server SP1
  • Microsoft Windows 2000 Service Pack 3
  • Microsoft Windows 2000 Server SP2
  • Microsoft Windows 2000 Advanced Server SP1
  • Microsoft Windows 2000 Advanced Server SP2
  • Microsoft Windows 2000 Advanced Server SP3
  • Microsoft Windows 2000 Professional SP1
  • Microsoft Windows 2000 Professional SP2
  • Microsoft Windows 2000 Service Pack 3
Keywords: 
kbnosurvey kbarchive kbhotfixserver kbqfe kboswin2000fix kbwin2ksp4fix kbbug kbfix kbwin2000presp4fix KB307331

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