Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Mappoint 2006 C++ Com Error

This is a discussion on Mappoint 2006 C++ Com Error within the MapPoint Desktop 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 ...

  1. #1
    EvetsMostel is offline Member Yellow Belt
    Join Date
    Oct 2005
    Location
    Eugene, OR
    Posts
    30

    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

  2. #2
    EvetsMostel is offline Member Yellow Belt
    Join Date
    Oct 2005
    Location
    Eugene, OR
    Posts
    30

    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?

  3. #3
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    Hi Steve,

    You have to complete rebuild your application after upgrading from MP2004 to MP2006.

  4. #4
    EvetsMostel is offline Member Yellow Belt
    Join Date
    Oct 2005
    Location
    Eugene, OR
    Posts
    30
    Sorry, forgot to mention that I did that already. Same error.

  5. #5
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    Hi,

    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

  6. #6
    EvetsMostel is offline Member Yellow Belt
    Join Date
    Oct 2005
    Location
    Eugene, OR
    Posts
    30

    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

  7. #7
    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

  8. #8
    EvetsMostel is offline Member Yellow Belt
    Join Date
    Oct 2005
    Location
    Eugene, OR
    Posts
    30
    "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

  9. #9
    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

  10. #10
    EvetsMostel is offline Member Yellow Belt
    Join Date
    Oct 2005
    Location
    Eugene, OR
    Posts
    30

    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

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. MapPoint 2006
    By TFB in forum MapPoint Desktop Discussion
    Replies: 5
    Last Post: 09-30-2008, 03:49 AM
  2. Mappoint 2006
    By mhuslig in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 10-04-2006, 01:22 PM
  3. Error using MP 2006
    By PC7395 in forum MapPoint Desktop Discussion
    Replies: 7
    Last Post: 08-28-2006, 05:43 PM
  4. Mappoint 2006 GPS
    By rt in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 07-15-2006, 05:07 AM
  5. MapPoint 2006, etc.
    By farm_cart in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 04-03-2006, 12:28 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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