When I press details, I get the following:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.TypeInitializationException: The type initializer for 'xc2c477ae06969bcc.x99d36eaeb8e190b8' threw an exception. ---> System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
at System.Security.CodeAccessPermission.Demand()
at System.Drawing.Graphics.FromHwnd(IntPtr hwnd)
at xc2c477ae06969bcc.x99d36eaeb8e190b8..cctor()
The action that failed was:
Demand
The type of the first permission that failed was:
System.Security.Permissions.SecurityPermission
--- End of inner exception stack trace ---
at xc2c477ae06969bcc.xcd0f71eac0b8ec87.x7516829ed6513963(Graphics x4b101060f4767186, Int32 x01023a7c5d96848c, Int32 x9528f9664a3881e3, Int32 xf67d0ad06e5256e3, Int32 x58fbd68b6e9d8f70, Int32 x7304b15c2c6eea76, Int32 x5b2cec0df3c4dbd1, Single x9570f4c9d2722802, Single x96a6a0179b30d7b8)
at x695c6a2fce4e6e02.xbe47ed34daf505bb.x58956ea72b60eca5(PaintEventArgs xfbf34718e704c6bc)
at x695c6a2fce4e6e02.xbe47ed34daf505bb.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at x695c6a2fce4e6e02.xbe47ed34daf505bb.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
if that helps.
ANDY