Hello,
I have web application running since years without any issues. Recently we started facing weird errors we have no clue about .. Can some tell what could be wrong ? It's on IIS6 on .net framwork 1.1..
Appreciate your help. Thanks
Stack Trace -----
Server Error in '/CHOICEPOINT.WEBAPP' Application.
--------------------------------------------------------------------------------
The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly.
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.
Stack Trace:
[InvalidOperationException: The requested Performance Counter is not a custom counter, it has to be initialized as
ReadOnly.]
System.Diagnostics.PerformanceCounter.Initialize() +571
System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName,
Boolean readOnly) +127
Microsoft.EnterpriseInstrumentation.EventSourceCou nters..cctor() +83
[TypeInitializationException: The type initializer for "EventSourceCounters" threw an exception.]
Microsoft.EnterpriseInstrumentation.EventSourceCou nters..ctor(String eventSourceName, String
eventSourceFullName, Boolean isRequestEventSource) +0
Microsoft.EnterpriseInstrumentation.EventSource..c tor(String name, String description, Boolean checkName) +495
Microsoft.EnterpriseInstrumentation.EventSource..c ctor() +159
[TypeInitializationException: The type initializer for "Microsoft.EnterpriseInstrumentation.EventSour ce" threw an
exception.]
Microsoft.EnterpriseInstrumentation.EventSource.Fi nalize() +0
[TypeInitializationException: The type initializer for "ChoicePoint.Services.Security.SecurityManager " threw an
exception.]
ChoicePoint.Services.Security.SecurityManager..cto r() +0
ChoicePoint.WebApp.Global.Application_Authenticate Request(Object sender, EventArgs e)
System.Web.SyncEventExecutionStep.System.Web.HttpA pplication+IExecutionStep.Execute() +60
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously) +87
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2494; ASP.NET Version:1.1.4322.2494