Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Enterprise Tools / December 2003

Tip: Looking for answers? Try searching our database.

EIF InvalidOperationException

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ashok Subramanian - 22 Dec 2003 16:24 GMT
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
Jyothi Srinivasan [MS] - 22 Dec 2003 19:11 GMT
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
|
[quoted text clipped - 35 lines]
| description, Boolean checkName)
|    at
Microsoft.EnterpriseInstrumentation.RequestTracing.RequestEventSource..cto
| r(String name)
|
[quoted text clipped - 3 lines]
| 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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.