Groups | Blog | Home
all groups > visual studio .net enterprise tools > december 2003 >

visual studio .net enterprise tools : EIF InvalidOperationException


ashok820 NO[at]SPAM hotmail.com
12/22/2003 8:24:00 AM
Hello

I am running an application which uses EIF on a box which only has
..NET Framework 1.0 installed. I do not have SP2 on this box, so EIF is
not working on this box but the application used to run fine until
last week. I suddenly started encountering .NET runtime exception last
week. This is the message my application throws while debugging

Unhandled Exception: System.TypeInitializationException: The type
initializer fo
r "WM.EAI.Framework.Scheduler.ScheduleController" threw an exception.
---> Syste
m.InvalidOperationException: The operation couldn't be completed,
potential inte
rnal deadlock.
at System.Diagnostics.SharedPerformanceCounter.WaitForCriticalSection(Int32*
spinLockPointer)
at System.Diagnostics.SharedPerformanceCounter.FindCounter(Int32
counterNameH
ashCode, String counterName, CounterEntry* firstCounterPointer,
CounterEntry** r
eturnCounterPointerReference)
at System.Diagnostics.SharedPerformanceCounter.GetCounter(String
categoryName
, String counterName, String instanceName)
at System.Diagnostics.SharedPerformanceCounter..ctor(String
categoryName, Str
ing counterName, String instanceName)
at System.Diagnostics.PerformanceCounter.Initialize()
at System.Diagnostics.PerformanceCounter..ctor(String categoryName,
String co
unterName, String instanceName, Boolean readOnly)
at Microsoft.EnterpriseInstrumentation.EventSourceCounters..ctor(String
event
SourceName, String eventSourceFullName, Boolean isRequestEventSource)
at Microsoft.EnterpriseInstrumentation.EventSource..ctor(String
name, String
description, Boolean checkName)
at Microsoft.EnterpriseInstrumentation.RequestTracing.RequestEventSource..cto
r(String name)

Can someone please let me know if this can happen because the box does
not have SP2? Any help is appreciated.

Thanks
jyosri NO[at]SPAM online.microsoft.com
12/22/2003 7:11:04 PM

Hello Ashok,

I am not clear how EIF was installed without having SP2 on the machine. Do
you have .NET Framework 1.1 installed?

Readme for EIF mentions that :

"If you are installing Visual Studio .NET, you will need to install
Service Pack 2 or later for the .NET Framework 1.0, in order to install and
run Enterprise Instrumentation. The latest .NET Framework Service Pack can
be downloaded here:
http://msdn.microsoft.com/netframework/downloads/sp/download.asp "

It is recommended that you have .NET Framework 1.0 SP2 on the machine.
The latest .NET Framework Service Pack can be downloaded here:
http://msdn.microsoft.com/netframework/downloads/sp/download.asp


Regards,
Jyothi




|
| Hello
|
| I am running an application which uses EIF on a box which only has
| .NET Framework 1.0 installed. I do not have SP2 on this box, so EIF is
| not working on this box but the application used to run fine until
| last week. I suddenly started encountering .NET runtime exception last
| week. This is the message my application throws while debugging
|
| Unhandled Exception: System.TypeInitializationException: The type
| initializer fo
| r "WM.EAI.Framework.Scheduler.ScheduleController" threw an exception.
| ---> Syste
| m.InvalidOperationException: The operation couldn't be completed,
| potential inte
| rnal deadlock.
| at
System.Diagnostics.SharedPerformanceCounter.WaitForCriticalSection(Int32*
| spinLockPointer)
| at System.Diagnostics.SharedPerformanceCounter.FindCounter(Int32
| counterNameH
| ashCode, String counterName, CounterEntry* firstCounterPointer,
| CounterEntry** r
| eturnCounterPointerReference)
| at System.Diagnostics.SharedPerformanceCounter.GetCounter(String
| categoryName
| , String counterName, String instanceName)
| at System.Diagnostics.SharedPerformanceCounter..ctor(String
| categoryName, Str
| ing counterName, String instanceName)
| at System.Diagnostics.PerformanceCounter.Initialize()
| at System.Diagnostics.PerformanceCounter..ctor(String categoryName,
| String co
| unterName, String instanceName, Boolean readOnly)
| at Microsoft.EnterpriseInstrumentation.EventSourceCounters..ctor(String
| event
| SourceName, String eventSourceFullName, Boolean isRequestEventSource)
| at Microsoft.EnterpriseInstrumentation.EventSource..ctor(String
| name, String
| description, Boolean checkName)
| at
Microsoft.EnterpriseInstrumentation.RequestTracing.RequestEventSource..cto
| r(String name)
|
| Can someone please let me know if this can happen because the box does
| not have SP2? Any help is appreciated.
|
| Thanks
| Ashok
|


This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
AddThis Social Bookmark Button