Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Windows Vista MapPoint issue

Reply
Thread Tools Display Modes

Windows Vista MapPoint issue

 
 
talish
Guest
Posts: n/a

 
      08-25-2008
Mappoint Issue in vista

--------------------------------------------------------------------------------

Hi to all ,

My name is talish working as a C# developer. Recently I have faced a strange bug. The mappoint project developed using VS2005 32 bit version was build in xp os. I use the x86 option at the time of build. After this,I transfer only exe and supported dll for mappoint from XP system to Vista(64bit) OS. The Exe successfully switch back to 32 bit mode in Vista and works all other featurs of the project except Mappoint control, when I click button to dispaly mappoint control error prompted "Mappoint failed to load. The cause of this exception is unknown". After this I develop entire project under Vista and the project was build in vista os there is no problem.Please suggest a solution.

************** Exception Text **************
System.ArgumentException: MapPoint failed to load. The cause of this failure is unknown.
at MapPoint.IMappointCtrl.NewMap(Object Template)
at AxMapPoint.AxMappointControl.NewMap(Object template)
at MappSampleC.Form1.button1_Click(Object sender, EventArgs e) in D:\Shared\MapPoint\MappSampleC\Form1.cs:line 38
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativewindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativewindow.W ndProc(Message& m)
at System.Windows.Forms.Nativewindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/Microsoft.NET/Fra...7/mscorlib.dll
----------------------------------------
MappSampleC
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/bin/Debug/MappSampleC.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL...dows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL...089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL...em.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL...figuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL...System.Xml.dll
----------------------------------------
AxInterop.MapPoint
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/bin/Debug/AxInterop.MapPoint.DLL
----------------------------------------
Interop.MapPoint
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/bin/Debug/Interop.MapPoint.DLL
----------------------------------------
MapApp
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/bin/Debug/MapApp.DLL
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL...isualBasic.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:



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.


Post Originated from Vista Support Forums
 
Reply With Quote
 
 
 
 
Bill Yanaire
Guest
Posts: n/a

 
      08-25-2008
You might get a solution if you posted to the right group. This is a vista
general group, not a DEVELOPMENT group.


<talish> wrote in message news:%...
> Mappoint Issue in vista
>
> --------------------------------------------------------------------------------
>
> Hi to all ,
>
> My name is talish working as a C# developer. Recently I have faced a
> strange bug. The mappoint project developed using VS2005 32 bit version
> was build in xp os. I use the x86 option at the time of build. After
> this,I transfer only exe and supported dll for mappoint from XP system to
> Vista(64bit) OS. The Exe successfully switch back to 32 bit mode in Vista
> and works all other featurs of the project except Mappoint control, when I
> click button to dispaly mappoint control error prompted "Mappoint failed
> to load. The cause of this exception is unknown". After this I develop
> entire project under Vista and the project was build in vista os there is
> no problem.Please suggest a solution.
>
> ************** Exception Text **************
> System.ArgumentException: MapPoint failed to load. The cause of this
> failure is unknown.
> at MapPoint.IMappointCtrl.NewMap(Object Template)
> at AxMapPoint.AxMappointControl.NewMap(Object template)
> at MappSampleC.Form1.button1_Click(Object sender, EventArgs e) in
> D:\Shared\MapPoint\MappSampleC\Form1.cs:line 38
> at System.Windows.Forms.Control.OnClick(EventArgs e)
> at System.Windows.Forms.Button.OnClick(EventArgs e)
> at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent)
> at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button,
> Int32 clicks)
> at System.Windows.Forms.Control.WndProc(Message& m)
> at System.Windows.Forms.ButtonBase.WndProc(Message& m)
> at System.Windows.Forms.Button.WndProc(Message& m)
> at System.Windows.Forms.Control.ControlNativewindow.O
> nMessage(Message& m)
> at System.Windows.Forms.Control.ControlNativewindow.W ndProc(Message&
> m)
> at System.Windows.Forms.Nativewindow.Callback(IntPtr hWnd, Int32 msg,
> IntPtr wparam, IntPtr lparam)
>
> ************** Loaded Assemblies **************
> mscorlib
> Assembly Version: 2.0.0.0
> Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
> CodeBase: file:///C:/Windows/Microsoft.NET/Fra...7/mscorlib.dll
> ----------------------------------------
> MappSampleC
> Assembly Version: 1.0.0.0
> Win32 Version: 1.0.0.0
> CodeBase: file:///D:/bin/Debug/MappSampleC.exe
> ----------------------------------------
> System.Windows.Forms
> Assembly Version: 2.0.0.0
> Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
> CodeBase: file:///C:/Windows/assembly/GAC_MSIL...dows.Forms.dll
> ----------------------------------------
> System
> Assembly Version: 2.0.0.0
> Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
> CodeBase: file:///C:/Windows/assembly/GAC_MSIL...089/System.dll
> ----------------------------------------
> System.Drawing
> Assembly Version: 2.0.0.0
> Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
> CodeBase: file:///C:/Windows/assembly/GAC_MSIL...em.Drawing.dll
> ----------------------------------------
> System.Configuration
> Assembly Version: 2.0.0.0
> Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
> CodeBase: file:///C:/Windows/assembly/GAC_MSIL...figuration.dll
> ----------------------------------------
> System.Xml
> Assembly Version: 2.0.0.0
> Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
> CodeBase: file:///C:/Windows/assembly/GAC_MSIL...System.Xml.dll
> ----------------------------------------
> AxInterop.MapPoint
> Assembly Version: 1.0.0.0
> Win32 Version: 1.0.0.0
> CodeBase: file:///D:/bin/Debug/AxInterop.MapPoint.DLL
> ----------------------------------------
> Interop.MapPoint
> Assembly Version: 1.0.0.0
> Win32 Version: 1.0.0.0
> CodeBase: file:///D:/bin/Debug/Interop.MapPoint.DLL
> ----------------------------------------
> MapApp
> Assembly Version: 1.0.0.0
> Win32 Version: 1.0.0.0
> CodeBase: file:///D:/bin/Debug/MapApp.DLL
> ----------------------------------------
> Microsoft.VisualBasic
> Assembly Version: 8.0.0.0
> Win32 Version: 8.0.50727.312 (rtmLHS.050727-3100)
> CodeBase: file:///C:/Windows/assembly/GAC_MSIL...isualBasic.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:
>
>
>
> 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.
>
>
> Post Originated from Vista Support Forums



 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Vista mouse issue.. Possibly ease of use type issue? Malakie Windows Vista Hardware 0 07-10-2008 09:30 PM
Windows Vista Shutdown issue ... Yaldain Windows Vista General Discussion 0 12-19-2007 03:02 PM
mappoint 2004 and vista home greenmachine Windows Vista General Discussion 1 09-28-2007 08:15 PM
Windows vista key issue please help raj Windows Vista General Discussion 5 06-23-2007 08:13 PM
MapPoint 2006 registry error Lonny Windows Vista Security 5 04-01-2007 10:14 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59