December 26, 200520 yr To all at HiFiI am another long standing and devoted AS fan offering thanks for your Christmas present but also reporting an error. Like many, it seems, I run AS from a laptop via wideFS and have a problem with the new ASv6 graphics. I have .NET Framework installed together with all the updates but, when I try and run ASG, I get an error message telling me it can't run because my "Process performance counter is disabled". I have no idea how to fix this. Any suggestions? As a temporary workaround I have installed ASv6 on the main flying pc, it runs from here with no problems and, to the best of my knowledge, the two pcs' setups are near identical. The full transcript of the error message is as follows:================See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.************** Exception Text **************System.InvalidOperationException: Process performance counter is disabled, so the requested operation cannot be performed. at System.Diagnostics.NtProcessManager.GetProcessInfos(PerformanceCounterLib library) at System.Diagnostics.NtProcessManager.GetProcessInfos(String machineName, Boolean isRemoteMachine) at System.Diagnostics.ProcessManager.GetProcessInfos(String machineName) at System.Diagnostics.Process.EnsureState(State state) at System.Diagnostics.Process.get_ProcessName() at ASG.Form_Main.Form_Main_Load(Object sender, EventArgs e) at System.Windows.Forms.Form.OnLoad(EventArgs e) at System.Windows.Forms.Form.OnCreateControl() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.WmShowWindow(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ContainerControl.WndProc(Message& m) at System.Windows.Forms.Form.WmShowWindow(Message& m) at System.Windows.Forms.Form.WndProc(Message& m) at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)************** Loaded Assemblies **************mscorlib Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.2032 CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll----------------------------------------ASG Assembly Version: 1.0.2180.25052 Win32 Version: 1.0.2180.25052 CodeBase: file:///E:/Flightsim%20stuff/ActiveSky%20v6/Modules/ASGraphics/ASG.exe----------------------------------------System.Windows.Forms Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.2032 CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll----------------------------------------System Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.2032 CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll----------------------------------------System.Drawing Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.2032 CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll----------------------------------------Microsoft.VisualBasic Assembly Version: 7.0.5000.0 Win32 Version: 7.10.6001.4 CodeBase: file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll----------------------------------------Accessibility Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll----------------------------------------************** JIT Debugging **************To enable just in time (JIT) debugging, the config file for thisapplication or machine (machine.config) must have thejitDebugging value set in the system.windows.forms section.The application must also be compiled with debuggingenabled.For example:When JIT debugging is enabled, any unhandled exceptionwill be sent to the JIT debugger registered on the machinerather than being handled by this dialog.==================Regards and seasons greetings to allPaul Croft15 miles north of EGKK Paul Croft 15 mls north of EGKK
December 26, 200520 yr Commercial Member HI Paul,Did you tried this before?(1)Uninstall .Net(2)Reboot the computer(3)Re-install .NET Framework (1.1 or later)=====================================================================Microsoft .Net v1.1 or later (i.e. 2.0) is required for ActiveSky Graphics. Without it, it will not run and will provide an error message.You can get either version easily from http://windowsupdate.microsoft.com or see these direct links:.Net 1.1:http://windowsupdate.microsoft.com.Net 2.0:http://www.microsoft.com/downloads/details...&DisplayLang=enThanksChris WillisHiFi Simulation Software Team Developerhttp://www.hifisim.com/images/asv_dev_team.jpg http://www.hifisim.com/images/asv_proud_supporter.jpg Kind RegardsChris Willis
December 26, 200520 yr Author Hi ChrisThanks for the speedy response. Yes, I have tried uninstalling, re-booting and re-installing the .NET Framework. That was my first thought having read through the forum. Made no difference whatsoever :-(Paul Croft15 miles north of EGKK Paul Croft 15 mls north of EGKK
December 26, 200520 yr Hi Paul,Please drop Damian a line at [email protected] can tell you how to fix this. A setting in .NET is causing this.Hope this helps,JimActiveSky Sales and Supporthttp://www.hifisim.com/images/asv_dev_team.jpg http://www.hifisim.com/images/asv_proud_supporter.jpg
December 26, 200520 yr Commercial Member Hi all,The fix:Enable PerfProc process counter as you currently have it disabled (you most likely disabled this to improve system performance - PerfProc enable/disable has not had any measurable effect in our tests).ASG currently uses this process counter to find out what processes are currently running, and prevent any multiple instances of ASG.We will be revising the code to improve the handling of this. But for now, re-enabling the counter will do the trick.Best, Damian ClarkHiFi Simulation Technologies
Create an account or sign in to comment