MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Mappoint 2006 C++ Com Error

This is a discussion on Mappoint 2006 C++ Com Error within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I am using Mappoint from within a C++ app, using MFC (gasp!). This works with 2004, but when I install ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-29-2006
Junior Member
Yellow Belt
 
Join Date: Oct 2005
Posts: 27
Exclamation Mappoint 2006 C++ Com Error

I am using Mappoint from within a C++ app, using MFC (gasp!). This works with 2004, but when I install Mappoint 2006 and then run my app, I get a com error 0x0012e5e4 when excuting newmap, and the system reports that Mappoint 2006 isn't properly installed. Does anyone have any clues here?

Thanks,
Steve
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 09-29-2006
Junior Member
Yellow Belt
 
Join Date: Oct 2005
Posts: 27
RE: Mappoint 2006 C++ Com Error

Quote:
Originally Posted by EvetsMostel View Post
I am using Mappoint from within a C++ app, using MFC (gasp!). This works with 2004, but when I install Mappoint 2006 and then run my app, I get a com error 0x0012e5e4 when executing newmap, and the system reports that Mappoint 2006 isn't properly installed. Does anyone have any clues here?
I've tried running Mappoint on it's own, which it works fine. I have both MP NA and NP Europe installed, and use both at the same time (but not open at the same time). This is under Visual Studio 2003/XP.

What exactly happens with newmap anyway, deep in the bowels of MFC?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 09-30-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
Hi Steve,

You have to complete rebuild your application after upgrading from MP2004 to MP2006.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 10-02-2006
Junior Member
Yellow Belt
 
Join Date: Oct 2005
Posts: 27
Sorry, forgot to mention that I did that already. Same error.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 10-03-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
Hi,

Quote:
system reports that Mappoint 2006 isn't properly installed
Try to register it again manually in the command interpreter, then rebuild project again:

Code:
MapPoint.exe /RegisterServer
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 10-04-2006
Junior Member
Yellow Belt
 
Join Date: Oct 2005
Posts: 27
Exclamation

I found out what the problem is, although I don't know why it happened, but I do know that it happened on 2 different machines. Bascially the registry entries that Mappoint uses to register the ActiveX control, all have their permissions revoked. However, the install shows nothing wrong, and Mappoint does run just fine. You just can't launch it using the activeX control. By going in and finding out all the places it needs to modify, and changing the permissions back to ALLOW all, then reinstallation seems to work. The way to produce this is:

Have both Mappoint 2004 NA and Europe installed (don't know if this is related).
Uninstall Mappoint NA and then Mappoint Europe.
Install either or both Mappoint NA and Europe.
It is possible that the unistall of 2004 does this. However, in one case I used the 2006 to uninstall it, and in the other case, I just uninstalled in using the Remove Programs method.


Steve
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7 (permalink)  
Old 10-09-2006
pst pst is offline
Junior Member
White Belt
 
Join Date: Jul 2005
Posts: 5
Dear Steve,

Exactly what registry settings did you need to change permissions on?

(I have the same problem on one of our development machines...)

/Patrik
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8 (permalink)  
Old 10-10-2006
Junior Member
Yellow Belt
 
Join Date: Oct 2005
Posts: 27
"Exactly what registry settings did you need to change permissions on?

(I have the same problem on one of our development machines...)"


There are many but they are all in HKey_Classes_Root. I can email you a HKey_Classes_Root registry file that you can use to chase it down with. Just let me know.

Steve
sdl@rosenaviation.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9 (permalink)  
Old 10-10-2006
pst pst is offline
Junior Member
White Belt
 
Join Date: Jul 2005
Posts: 5
Yes please, maybe you can post it as an attachment in this thread, together with a detailed description on how to fix the issue.

I have seen more people having this problem.

Thanks in advance!
/Patrik

Quote:
Originally Posted by EvetsMostel View Post
"Exactly what registry settings did you need to change permissions on?

(I have the same problem on one of our development machines...)"


There are many but they are all in HKey_Classes_Root. I can email you a HKey_Classes_Root registry file that you can use to chase it down with. Just let me know.

Steve
sdl@rosenaviation.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10 (permalink)  
Old 10-16-2006
Junior Member
Yellow Belt
 
Join Date: Oct 2005
Posts: 27
Re: Mappoint 2006 C++ Com Error

The file is too big (19K is as big as you can post with). Just give me an email address I can send it to.

Steve
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
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 On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Mappoint 2006 mhuslig MapPoint 2006/2009 Discussion 2 10-04-2006 12:22 PM
Error using MP 2006 PC7395 MapPoint 2006/2009 Discussion 7 08-28-2006 04:43 PM
Mappoint 2006 GPS rt MapPoint 2006/2009 Discussion 3 07-15-2006 04:07 AM
MapPoint 2006 TFB MapPoint 2006/2009 Discussion 3 04-25-2006 09:18 AM
MapPoint 2006, etc. farm_cart MapPoint 2006/2009 Discussion 4 04-03-2006 11:28 AM


All times are GMT -5. The time now is 01:56 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map

Madeira Flights
The historic features of Madeira are complimented by top-notch facilities and plenty of water sports activities. Book Madeira flights online today.

City Break Europe
Take a city break in Europe. Travel Counsellors can help plan and book your European city break.

Flight to Canada
Book a flight to Canada to explore one of the most exciting travel destinations in the world. There are loads of interesting cities but some even more impressive natural beauty.

Cuba Holidays
Cuba holidays offer an exciting cultural and wonderful culinary experience. Book with The Holiday Place for a great deal.

Tunisia
Tunisia enjoys excellent weather, golden beaches and a beautiful blue sea. Moving away from the beach you will find a country that has a rich and varied past. Discover the secrets of history yourself by exploring all the ruins.

Holiday Comparison
We can help you with holiday comparison when you check out the options at Travel.co.uk

Holidays in Portugal
Find the perfect Algarve holiday. Book holidays in Portugal now at On The Beach.


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