"Parameter is not valid" exception on Windows 7

Code and memory profiling for .NET developers.

"Parameter is not valid" exception on Windows 7

Postby mporter » Fri Dec 04, 2009 4:13 pm

My office just updated our computers to Windows 7 (64bit). Previously, I had been running ANTS Profiler 4.3 on Windows XP with no problems. Now on Windows 7 I'm getting this exception after I click "Start Profiling":

Code: Select all
Parameter is not valid.
   at System.Drawing.Graphics.set_Transform(Matrix value)
   at RedGate.Profiler.SharedUI.Radar.RadarPanel.c()
   at System.Windows.Forms.UserControl.OnLoad(EventArgs e)
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
   at aq.a(ProjectSettings , ProfilerSession )
   at aq.a(ProjectSettings )
   at aq.a(LaunchArguments , ProjectSettings , Boolean )
   at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
   at System.Threading.ExecutionContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbacks()

It seems to happen regardless of what I am trying to profile. I am running the program as an administrator. Any help would be greatly appreciated.
Posts: 1
Joined: Fri Dec 04, 2009 4:04 pm

Postby Chris.Allen » Mon Dec 07, 2009 9:56 am

That combination is not supported. Windows 7 came out a long time after the codebase for 4.3 was in freeze. You'll need to upgrade to ANTS 5.1 at least. Sorry.
Posts: 579
Joined: Thu Mar 12, 2009 3:17 pm

Return to ANTS Profiler Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests