"Can't load counters" in Perfmon when adding counters with lodctr

Hey,
I'm working with C/C++ in windows 7 64 bit and was trying to add my own performance counter using the version 2.0 counter framework (http://msdn.microsoft.com/en-us/library/aa965334(v=VS.85).aspx).
 Whatever i did, in perfmon (when trying to add my counter) my counter set was always shown with it's GUID and not the given name in the manifest file.  Also, when selecting my counterset it always showed "Can't load counters".  I searched for
a day on this and already had a feeling that it was some kind of problem with admin rights.  It seems that running lodctr with a user that has administrator rights is not enough, although lodctr returns a successful completion of the addition of
the counter set.  When adding my user to the "Performance Monitor Users" and "Performance Log Users" group, my counter set was finally shown correctly in perfmon.
I hope this info will help others because this isn't mentioned in the counter documentation (or not very visible).

Hello,
I'm having the same problem as above, and after doing the suggested tricks (as follows), I still can see only my counter set's GUID and the "Can't load counters" message when expanded:
1- adding my user to the "Performance Monitor Users" and "Performance Log Users" group. Log out
and log back in for settings to take effect.
2- Set
the complete path to the exe file in the manifest for things to work
3- windows
security eventlog and check for access denied messages / missing permissions: no such messages
System: Windows 7 64-bit 
I resolved my issue and now my counters load up in perfmon.
The problem in my case was that I hadn't included in my provider application the ctrpp-generated rc file which contained the necessary strings for counter registration.
Thought it might be useful for anyone experiencing this symptom.

Similar Messages

  • My iphone can't load facebook "news feed" when connect wifi but when connect 3G it load normal . can't connect all phone . pleas help me

    My iphone can't load facebook "news feed" when connect wifi but when connect 3G it load normal . can't connect all phone . pleas help me

    Hi, Shadiamond Murray.  
    Thank you for visiting Apple Support Communities. 
    Sometimes a simple power cycle of the router can correct the issue that you are experiencing.  However, the issue could be a little more complex.  Wi-Fi routers need adjustments to settings periodically for optimized performance with the constant progression of wireless device technology.  Below, I have included two articles.  The first article will cover basic Wi-Fi troubleshooting regarding iOS device connection.  The second article cover the recommended settings for current Wi-Fi access points.
    iOS: Troubleshooting Wi-Fi networks and connections
    http://support.apple.com/kb/ts1398
    iOS and OS X: Recommended settings for Wi-Fi routers and access points
    http://support.apple.com/kb/ht4199
    Cheers,
    Jason H.

  • Suddenly most of the applications have no sound and I can't adjust the volume, and when I try with the volume button, appear the message "sound effect" and nothing append

    Suddenly most of the applications have no sound and I can't adjust the volume, and when I try with the volume button, appear the message "sound effect" and nothing append

    Hello, Miryam Maria. 
    Thank you for visiting Apple Support Communities. 
    I see you are experiencing issues with sound on applications when playing video/audio content.  If this is the case, the first thing I would check is if the side switch is set to silent as this can cause applications to be mute.  Below I have included an article that covers adjusting the  settings for the side switch.  Also, make sure to close all applications in Multitasking and power cycle the device.  Test the sound issue after processing these steps.
    iPad: Understanding the side switch
    http://support.apple.com/kb/ht4085
    iOS: Force an app to close
    http://support.apple.com/kb/ht5137
    Cheers,
    Jason H.

  • I can't load my catalog.  When I opened lr it opened to a catalog in 2007 and won't let me open 2013

    I can't load my catalog.  It opened to an old one and I cant seem to open todays/

    Lightroom cannot open two catalogs at the same time. Shut down Lightroom. Then locate the 2013 catalog in Windows Explorer or Finder in a Mac and double click the catalog file and it should open in Lightroom.

  • Can't get rid of the # when adding text

    I'm trying to edit a document in Indesign. I started by doing a Pre-Flight to correct errors and have one left I can't get rid of.
    Originally the Text Error was for a font that ID could not find so I changed the font to what was already being used for other text - an included font - Charlamagne Std Regular
    When trying to type text into a text box the type jumps to just above the text box where the pound sign (#) sits.
    When entering type, even after positioning the curser inside the text box, it jumps the text to right before the pound sign, on top of the text box, and adds a pink box under the text.
    I have attached a screen shot to show this. How to I get rid of the pound sign and pink box to be able to simply type some text in the text box (that the pink box is in)? Thanks!

    @dkg62 – to make clear what's going on, select the text frame and show us another screenshot.
    There are at least four cases where you can get a text like that. All cases imply, that the font you'd like to use is missing. I simulated this by formatting text with a font weight that is not available by a character style.
    1. The most likely case: There is baseline shift applied; here in my case 9pt.
    All other cases are academical, because the pink highlighting is aligned with the text:
    2. Text frame options, baseline set to a fixed value (zero in this case)
    3. Text on path and the text frame options (baseline) is just the standard default. You can see a second #-end of story sign inside the text frame.
    4. Text on path and the text frame options (baseline) is set to fixed (zero in this case). The second #-sign inside the text frame is shifted above because of the fixed value of the baseline option of the text frame options. And obscured by the pink highlighting.
    Uwe

  • When on Facebook I can nolonger load photos. But when on Explorer I can. What Should I do?

    I had no problem loading picture into Facebook, but recently it stopped with the update. I can load them with explore but not Firefox. what Can I do to fix this problem?

    If images are missing then check that you aren't blocking images from some domains.
    *Check the permissions for the domain in the current tab in "Tools > Page Info > Permissions"
    *Check that images are enabled: Tools > Options > Content: [X] Load images automatically
    *Check the exceptions in "Tools > Options > Content: Load Images > Exceptions" (e.g. sphotos.ak.fbcdn.net)
    You can use these steps to check if images are blocked:
    * Open the web page that has the images missing in a browser tab.
    * Click the website favicon ([[Site Identity Button]]) on the left end of the location bar.
    * Click the "More Information" button to open the "Page Info" window with the Security tab selected (also accessible via "Tools > Page Info").
    * Go to the <i>Media</i> tab of the "Tools > Page Info" window.
    * Select the first image link and scroll down through the list with the Down arrow key.
    * If an image in the list is grayed and there is a check-mark in the box "<i>Block Images from...</i>" then remove that mark to unblock the images from that domain.
    There are also extensions (Tools > Add-ons > Extensions) and security software (firewall, anti-virus) that can block images.

  • PE9 - Can't load video that PE8 had no problems with

    I have an AVI file (taken by my Olympus camera) that loaded just fine in PE8. However, when I try to load it in PE9 it says that the file format is not supported.
    The file plays just fine in WMP
    GSpot says that the codec used for the file is: MJPG
    Any suggestions?

    Premiere Elements does not support the MJPEG codec.
    You might try Bill Hunt's suggestion for adding the codec to your machine. That sometimes works.
    http://forums.adobe.com/thread/730396?tstart=0
    More often, though, per the FAQs to the right of this forum, you need to convert the file to a compatible format, like the DV-AVI.
    http://forums.adobe.com/thread/415317?tstart=0

  • Youtube html5 video stops loading at one point when watching video with 720p

    when i change 360p to 720p its pretty often when Dube stops loading video, in the middle or near the end, its random, but i notice it when video stops playing like when u pause it & sometimes i need to reload page 2-4times before i can finish watching, & sometimes the 3th or 4th time is not reloading its closing Dube & reopening it & then from history selecting that video again
    1. do a lot of people have that issue?
    2. do i half to W8 until HTM5 creators fix the issue?
    3. or can it be fixed by user who is not advanced user?
    4. if yes then how it can be fixed?
    5. or is it Firefox Problem or bug?

    ''guigs2 [[#answer-704713|said]]''
    <blockquote>
    Ah! Sorry for the misunderstanding. If you update Flash to version 17, you should not run into this anymore.
    </blockquote>
    how does updating flash effect HTML5? i went back to flash, cause this was more pain then memory leak caused by flash

  • How can i load data from access database to datagridview with custom columns all days of a month ?

    Hi guys
    I am newbie in vb net and I want your help to solve a problem.
    I have this datagridview with two columns and all days of a month in custom columns.
    [IMG]http://i59.tinypic.com/2qwpj15.png[/IMG]
    I also have one combobox to change Year and a combobox to change Month.
    Here is the code to load data
    Private Sub fill_plan()
    dgMonth.Rows.Clear()
    Try
    Dim i As Integer = 0
    Dim query As String = "SELECT MonID,Unitname,Personel,Udate FROM tblMonth ORDER BY Unitname"
    con.Open()
    cmd = New OleDbCommand(query, con)
    myDR = cmd.ExecuteReader
    If myDR.HasRows Then
    While myDR.Read
    dgMonth.Rows.Add()
    dgMonth.Rows(i).Cells(0).Value = myDR.GetInt32(myDR.GetOrdinal("MonID"))
    dgMonth.Rows(i).Cells(1).Value = myDR.GetString(myDR.GetOrdinal("Unitname"))
    dgMonth.Rows(i).Cells(2).Value = myDR.GetInt32(myDR.GetOrdinal("Personel"))
    i = i + 1
    End While
    End If
    myDR.Close() : con.Close()
    Catch ex As Exception
    MsgBox(ex.Message, MsgBoxStyle.Critical, "Error")
    End Try
    End Sub
    With
    this code the
    personel column
    loads the first
    day of the month.
    I want to load
    the column the date that is
    in the database.

    Hello,
    This can be done with less code
    Private Sub fill_plan()
    dgMonth.DataSource = Nothing
    Dim dt As New DataTable
    Try
    Dim query As String = "SELECT MonID,Unitname,Personel,Udate FROM tblMonth ORDER BY Unitname"
    con.Open()
    cmd = New OleDbCommand(query, con)
    dt.Load(cmd.ExecuteReader)
    dgMonth.DataSource = dt
    Catch ex As Exception
    MsgBox(ex.Message, MsgBoxStyle.Critical, "Error")
    End Try
    End Sub
    The above loads all rows, if you want to limit the rows placed in the DataGridView this is best done in the SQL via WHERE conditions and/or with SELECT TOP x.
    Formatting of the data is best done via the property window for the DataGridView on whatever column you want too. Using the above you now need to set the data property for each column and set dgMonth.AutoGenerateColumns = False, in the end we end up with
    less code
    edit is there a reason for returning the primary key? If so then using my method we can hide that field but I see no reason for having it in this case
    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem.

  • When adding security with 9.0 Pro Text in Document disappears!

    I need to add no print/no edit security to a PDF.  When I do this, the text of the entire document disappears after I save it.  Why is this happening?  Even when I close and open the document again, it opens as essentially a blank document.
    When I remove the security and save it again, the text of the document magically appears!  What is up with this?  Can anyone help?

    You need to update AA9. I am not sure which subversion was needed to work with x64 systems. Generally the initial releases have not worked with x64 systems. I think that AA9 will work with x64, but only after updating. The current version of AA9 is 9.5.2. Some have still reported problems with x64 systems after upgrading, but without the upgrade you can probably forget it.

  • LabVIEW load error code 3 when opening VI with LabVIEW 2010

    I got this error when I try to open a VI saved in 8.6.1 with LabVIEW 2009 and 2010.
    The VI open correctly with 8.6.1.
    It's appening with only one VI. All other VIs are OK.
    Anyone experience this problem?
    What can I do to get over this bug?
    Dany
    Dany Allard

    Same issue here too. Could anyone help me to open it?
    Attachments:
    Peak Detector.vi ‏34 KB

  • 2 apps I have purchased show loading on iphone but when I snc with itunes it shows them installed every time I turn phone on it says connect to itunes or wifi to install What have I missed

    2 Apps I have purchased just show on my iphone as loading yet when I sync phon with itunes it shows them as completely loaded every time I turn my phone on it tells me yo connect to itunes or WiFi to download these 2 What have I missed ?

    Hello errod2014,
    It sounds like you are unable to see your phone in iTunes after the computer turned off unexpectedly during an iOS update. I recommend resetting the phone first, and then attempting to restore with iTunes again.
    To reset, press and hold both the Sleep/Wake and Home buttons for at least 10 seconds, until you see the Apple logo.
    From: Turn your iOS device off and on (restart) and reset
              http://support.apple.com/kb/ht1430
    If you are still unable to see your phone in iTunes,  follow these steps for Mac or these for Windows.
    Thank you for using Apple Support Communities.
    Take care,
    Sterling

  • SQL Error when adding data with UDO + Form

    Good morning, friends.
    Initially, I apologize for any mistakes in my English.
    I am developing an addon for a client and now I came across a problem that started happening about 5 days ago:
    I customized a MasterData postcodes in B1, I created a UDO (oCNSTCEP) and bind to a form created by the Screen Painter. It is noteworthy that this program has been operating without any problems in the customer environment for at least 3 months. Finally, for reasons unknown to the system now has to give the following message when I insert a new record:
    [Microsoft] [SQL Server Native Client 10.0] [SQL Server] Conversion failed When converting the nvarchar value 'oCNSTCEP' to data type int. (CINF)
    The strange thing is that the record is written into the UDT corresponding to the UDO. But the error message is given, giving the user the impression that the routine was not completed successfully.
    Yesterday you told me what is happening the same error in another form, ie, the way any given recording through UDOs are giving problem.
    I searched for this post in SDN and the maximum that I discovered is that it could be happening because of the variable @ object_type in SBO_Notification be as int instead of being as nvarchar (20). I checked the stored procedure and @object_type is nvarchar(20) type.
    I would like to help for a solution to this problem. Since now, thank you!
    Sincerely,
    Junior

    The error is coming from the stored procedure and is easy to fix,
    Anywhere where you check the @object_type, you need to put the value in single quotes.
    e.g if your stored proc includes both of these:
    IF @object_type = 17
    IF @object_type = 'oCNSTCEP'
    It will fail with the error you mentioned. But if you have:
    IF @object_type = '17'
    IF @object_type = 'oCNSTCEP'
    It will work.

  • Can my client add a link when editing text with the content management of Business Catalyst?

    I created a site using Muse. My client chose to host with BC and take advantage of the content management option. She has edited text to include her email and wants to create a hyperlink from that text to her actual email. Is this possible and if so, do I need to change the user Permissions to allow her to do this?

    Yes, she is editing content in the admin panel, but when she edits the text, she just gets the option to change text and update. There is not a button for hyperlink and then email. It seems like linking, something so simple, should be allowed. What do I need to do to allow this to happen for her?

  • How can I load my CF card onto my ipad with Lightning conector?

    Hey apple freaks,
    I'm going on a trip to Burma; I'm not taking my MBpro with me, so i'm taking my Ipad retina with me. But I have a DSLR that takes only CF cards. Where or how can I find a way to transfer my photos from my CF card unto my ipad retina/lighting connector?
    I do have a passive USB card reader for my CF cards. Would I be able to transfer using a USB adapter to Lighting?
    for example, CF card--->passive USB card reader---->USB (female) to Lighting connector----->Ipad retina? Would this world perfectly fine?

    You can try one of these:
    http://store.apple.com/us/product/MD821ZM/A/lightning-to-usb-camera-adapter
    Assuming your camera or your card reader do not require too much power this should let you access your CF card form them.
    If they do, most likely the camera will, you may need a powered USB hub between the camera/reader and the adapter.

Maybe you are looking for

  • HD trailers do not play smooth (looks like a different frame rate)

    When ever I download HD trailers they end up not playing smoothly, all other trailers play fine however HD ones do not. Im am using 7.0.4 Have a 17" Power Book G4 1.5 with the 128 graphics card and 1GB or Ram. I have also gone through the system Pref

  • End of Page event in ALV report using SALV class[cl_salv_hierseq_table]

    Hi , have been working on a ALV report using the class SALV cl_salv_hierseq_table I am facing few issues pertaining to two things: 1. Displaying some subtotal text along with the subtotals. Example refer the standard demo example: SALV_DEMO_HIERSEQ_F

  • Need help in Seding sound stream on UDP, please give me some advice!

    I'm a newbie in this. I try to do VoIP on mobile, and I did finish Register, Invite and Record voice in to output stream. But I don't know where to go next. I knew that most cell phone doesn't support RTSP, so it I must do it in UDP instead. But how?

  • FileReference on iPhone

    Hi Is it possible to save a screenshot (bitmapData) to the iphones photo album? Kind of like fileReference can in a browser? Thanks, Jakob

  • Final Cut Express Help

    I have a SONY HDR-CX360 but cannot seem to get the footage to load correctly into Final Cut Express. Each time I do it it gives me a "!" under the status portion where you drag the footage. Anyone know how to fix this?