Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > .NET 2.0 and Visual Studio. 2005 > Visual Studio 2005
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Visual Studio 2005 For discussing Visual Studio 2005. Please post code questions about a specific language (C#, VB, ASP.NET, etc) in the correct language forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Studio 2005 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 19th, 2006, 01:12 AM
Registered User
Join Date: Apr 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default System.ComponentModel.Win32Exception: Access is de

   I am trying to create a custon performance counter for a web application. I am using Asp.net 2005 for this. The line of code that creates the category is as given below -

PerformanceCounterCategory.Create("EDWCategory", "CounterHelp",PerformanceCounterCategoryType.Singl eInstance,"CounterEDW_BI", "Counter to understand & apply");

When this line is getting executed i get the error -
"System.ComponentModel.Win32Exception: Access is denied "

IN the registry, i have given the read permission for
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\Cu rrentVersion\Perfli.It also has IUSER and IWAM permission. Still i get the error. Can anyone help me to solve this?

Thanks & regards

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I access the file system? Bob Pierce Access VBA 5 April 4th, 2007 11:19 AM
Conectar textbox a campo de base de datos Access aya_hbkenshin04 ASP.NET Espanol 0 May 4th, 2006 01:26 PM
why de sql compiler do not parse de following? deniscuba SQL Language 2 February 4th, 2005 04:04 PM
File or assembly name System.Web, or one of its de martynroots .NET Web Services 0 January 16th, 2005 07:10 PM

All times are GMT -4. The time now is 08:36 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.