Ebeo / mw-wingui

Automatically exported from code.google.com/p/mw-wingui
0 stars 0 forks source link

On going to Map tab, no map just a system error message about a generic GDI+ error. #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Is a new installation on Windows Vista machine. WINGUI for 2.0 works 
perfectly on this machine.
2. Just look through tabs
3. Opened "Map" tab... serious error message (see below) but application 
carried on running.

What is the expected output? ==> Worked beautifully on XP machine. Very cool. 
Expected to see nice maps.

What do you see instead? ==> Error message, something about generic GDI+ error. 
Red cross  across graphics part of screen. Error message contents follow.

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Runtime.InteropServices.ExternalException (0x80004005): A generic error 
occurred in GDI+.
   at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
   at System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Int32 width, Int32 height)
   at GMap.NET.WindowsForms.GMapControl.DrawMapGDIplus(Graphics g)
   at GMap.NET.WindowsForms.GMapControl.OnPaint(PaintEventArgs e)
   at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
   at System.Windows.Forms.Control.WmPaint(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.UserControl.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)

************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.269 (RTMGDR.030319-2600)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
MultiWiiWinGUI
    Assembly Version: 1.0.4579.34500
    Win32 Version: 1.0.*
    CodeBase: file:///C:/P/Mw-WinGUI-2.1/MultiWiiWinGUI.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.278 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.282 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.269 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
GMap.NET.Core
    Assembly Version: 1.6.0.0
    Win32 Version: 1.6.0.0
    CodeBase: file:///C:/P/Mw-WinGUI-2.1/GMap.NET.Core.DLL
----------------------------------------
GMap.NET.WindowsForms
    Assembly Version: 1.6.0.0
    Win32 Version: 1.6.0.0
    CodeBase: file:///C:/P/Mw-WinGUI-2.1/GMap.NET.WindowsForms.DLL
----------------------------------------
ZedGraph
    Assembly Version: 5.1.2.878
    Win32 Version: 5.1.2.878
    CodeBase: file:///C:/P/Mw-WinGUI-2.1/ZedGraph.DLL
----------------------------------------
AForge.Controls
    Assembly Version: 2.2.3.0
    Win32 Version: 2.2.3.0
    CodeBase: file:///C:/P/Mw-WinGUI-2.1/AForge.Controls.DLL
----------------------------------------
AForge.Video
    Assembly Version: 2.2.3.0
    Win32 Version: 2.2.3.0
    CodeBase: file:///C:/P/Mw-WinGUI-2.1/AForge.Video.DLL
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.233 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Data.SQLite
    Assembly Version: 1.0.74.0
    Win32 Version: 1.0.74.0
    CodeBase: file:///C:/Users/Steve/AppData/Local/GMap.NET/DllCache/SQLite_v74_NET4_x86/System.Data.SQLite.DLL
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.237 (RTMGDR.030319-2300)
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.233 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Transactions
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.Web.Services
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Web.Services/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
----------------------------------------
System.EnterpriseServices
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
AForge.Video.DirectShow
    Assembly Version: 2.2.3.0
    Win32 Version: 2.2.3.0
    CodeBase: file:///C:/P/Mw-WinGUI-2.1/AForge.Video.DirectShow.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

What version of the product are you using? On what operating system?
1.0.4579.34500 . Vista Home Premium -- latest updates.

Please provide any additional information below.

Tried reinstalling windows software mentioned in GoogleCode. Did repairs but 
not necessary to reinstall .Net 2.0 (part of op system if I remember the 
message). Thanks.

Original issue reported on code.google.com by steven.l...@gmail.com on 17 Sep 2012 at 3:57

GoogleCodeExporter commented 9 years ago
Should add: I did move the directory from being in the root c:\ to a new 
directory c:\p\ (kept it short). Deleted and reinstalled to c:\p\ -- same 
behaviour. Even deleted and reinstalled to root c:\ -- no improvement. 

Original comment by steven.l...@gmail.com on 17 Sep 2012 at 4:53

GoogleCodeExporter commented 9 years ago
Does not appear to be anything due to having moved the directory. Seems to be a 
bug when using with Vista Home Premium.

Original comment by steven.l...@gmail.com on 19 Sep 2012 at 1:59

GoogleCodeExporter commented 9 years ago
Seems really to be a problem with the Vista Home Premium installation. 
Installed and worked perfectly on another XP machine.

Original comment by steven.l...@gmail.com on 22 Sep 2012 at 8:51

GoogleCodeExporter commented 9 years ago
try update gmap.net, i think it was a bug for vista...

Original comment by radioman...@gmail.com on 12 Oct 2012 at 11:13

GoogleCodeExporter commented 9 years ago
Hi Radioman,

When you say "update gmap.net" what do I do? Do you mean I should install
the latest software from  http://greatmaps.codeplex.com/  to correct a bug
that occurs in Vista but has been corrected in the latest version of the
code gmap.net code in the "greatmaps".

Thanks. Hope this is not a stupid question.

Steve

Original comment by steven.l...@gmail.com on 12 Oct 2012 at 2:38

GoogleCodeExporter commented 9 years ago
I tried replacing all the GMAP dlls etc with the latest. BUT.. .. ..
 IDENTICAL behaviour. Thanks anyway.

Original comment by steven.l...@gmail.com on 12 Oct 2012 at 6:29

GoogleCodeExporter commented 9 years ago
Problem was VISTA
For other reasons, I upgraded the computer in question to Windows 7 from Vista 
Home Premium (horrid).
MultiWii WinGUI 2.1 works perfectly now. (Just had to install the .NET 4 
framework again.)No map problem anymore.

Original comment by steven.l...@gmail.com on 20 Nov 2012 at 11:17

GoogleCodeExporter commented 9 years ago
I'm having the same problem, I have Vista business any one come up with a fix?

Original comment by chuckkot...@yahoo.com on 17 Dec 2012 at 3:16

GoogleCodeExporter commented 9 years ago
Hi Chukkot, 

I tried many things. Looked everywhere I could on the web. I received a few 
useful ideas but nothing worked. 

For other reasons I installed Win7. Then WinGUI worked perfectly. (Also my 
machine was transformed to a pleasant fast pleasure.) 

Original comment by steven.l...@gmail.com on 17 Dec 2012 at 8:04

GoogleCodeExporter commented 9 years ago
Here the problem, this computer is not going to be upgraded to win 7, so I’m 
still looking for help please

Original comment by chuckkot...@yahoo.com on 17 Dec 2012 at 3:42

GoogleCodeExporter commented 9 years ago
I have to state that Mw WinGui is NOT compatibile with Vista. The recommended 
solution is to get an upgrade (which is a good idea anyway) to Win7 or Win8. I 
really don't want to waste time to find out why is it working on Xp/Win7/Win8 
and why not working on Vista.

Original comment by eosba...@gmail.com on 17 Dec 2012 at 4:50

GoogleCodeExporter commented 9 years ago
Dear eosbandi,
I agree totally, my only regret is not upgrading to Win7 earlier. However, a 
few of us wasted time trying to get it to work with the horrid Vista. Please 
mention this Vista incompatibility in a place that is obvious. I guess this 
incompatibility will apply to version 2.2 (can't wait) too.
Otherwise, this is a FANTASTIC piece of work. Bravo and best of luck. 
Inspirational!

Original comment by steven.l...@gmail.com on 19 Dec 2012 at 7:07