locked
Unable to access web site - Error - The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly. RRS feed

  • Question

  • Hi,

    I am getting InvalidOperationException while trying to access my web site. Following is the detail -

    Description: An unhandled exception occurred during the execution of the
    current web request. Please review the stack trace for more information
    about the error and where it originated in the code.

    Exception Details: System.InvalidOperationException: The requested
    Performance Counter is not a custom counter, it has to be initialized as
    ReadOnly.

    Source Error:

    An unhandled exception was generated during the execution of the current
    web request. Information regarding the origin and location of the
    exception can be identified using the exception stack trace below.

    Thanks for the help.
    Thursday, February 4, 2010 2:29 PM