| | EvetsMostel 09-29-2006, 12:17 PM 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 EvetsMostel 09-29-2006, 02:15 PM 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? Wilfried 09-30-2006, 03:58 AM Hi Steve,
You have to complete rebuild your application after upgrading from MP2004 to MP2006. EvetsMostel 10-02-2006, 08:48 AM Sorry, forgot to mention that I did that already. Same error. Wilfried 10-03-2006, 07:26 AM Hi,
system reports that Mappoint 2006 isn't properly installed
Try to register it again manually in the command interpreter, then rebuild project again:
MapPoint.exe /RegisterServer EvetsMostel 10-04-2006, 12:18 PM 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 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 EvetsMostel 10-10-2006, 12:52 PM "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 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
"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 EvetsMostel 10-16-2006, 12:15 PM 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 Eric Frost 10-16-2006, 03:00 PM The file is too big (19K is as big as you can post with).
You could post zip files up to 100k.
In case that is too small I just raised to limit so you can post zips up to about 1 MB (actually 1 million bytes which is a bit smaller than 1MB).
Let me know if this is still too small.
Eric EvetsMostel 10-17-2006, 04:40 PM OK, here's the HKey_Classes_Root Registry changes. You can use these by creating another registry file that you copy into. Certain keys as I said are locked and can't be changed without changing the permissions on them. | |