Microsoft Knowledge Base Email Alertz

A side-by-side computer is one where both the .NET Framework version 1.0 (installed with Visual Studio .NET) and the .NET Framework version 1.1 (Everett) are installed. Scenario On a side-by-side computer, create a Performance Monitor counter. Use the...

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 813350 - Last Review: October 11, 2005 - Revision: 2.4

FIX: "Category Not Found" Error Message When You Run a New Visual Studio .NET Application in a Side-by-Side Environment

SYMPTOMS

A side-by-side computer is one where both the .NET Framework version 1.0 (installed with Visual Studio .NET) and the .NET Framework version 1.1 (Everett) are installed.

Scenario

  1. On a side-by-side computer, create a Performance Monitor counter.
  2. Use the Performance Monitor counter in a class when you use the .NET Framework version 1.0 to design an application.
  3. Run the application that uses the class (runtime).
In this scenario, the application may fail and you may receive the following Exception error message:
Category not found
You may also receive the following error message:
Exception Type: System.InvalidOperationException 
Message: Cannot create file mapping. 
StackTrace Information 
 *********************************************
 at System.Diagnostics.FileMapping.Initialize() 
 at System.Diagnostics.FileMapping..ctor() 
 at System.Diagnostics.SharedPerformanceCounter.get_FileView() 
 at System.Diagnostics.SharedPerformanceCounter.ResolveOffset(Int32 offset) 
 at System.Diagnostics.SharedPerformanceCounter.GetCounter(String categoryName, 
    String counterName, String instanceName) 
 at System.Diagnostics.SharedPerformanceCounter..ctor(String categoryName, 
    String counterName, String instanceName) 
 at System.Diagnostics.PerformanceCounter.Initialize() 
 at System.Diagnostics.PerformanceCounter..ctor(String categoryName, 
    String counterName, String instanceName, Boolean readOnly) 
 at ... [application call stack here]

RESOLUTION

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 .NET Framework service pack that contains this fix.

To resolve this problem immediately, 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/contactus/?ws=support (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 typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

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
   ------------------------------------------------------------------------
   24-Jan-2003  18:40  1.0.3705.398    311,296  System.Runtime.Remoting.dll
   24-Jan-2003  18:40  1.0.3705.398  1,171,456  System.dll
   24-Jan-2003  18:43  1.0.3705.398    503,808  System.Web.Services.dll

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

APPLIES TO
  • Microsoft .NET Framework 1.0
Keywords: 
kberrmsg kbbug kbfix kbqfe kbnetframe100presp3fix kbhotfixserver KB813350
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate