Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How I solved MapPoint error 16398 without wiping my hard drive

91 views
Skip to first unread message

timn...@cox.net

unread,
Nov 3, 2006, 12:12:24 PM11/3/06
to
As many have noted, upgrading MapPoint from one version to another
often leads to a situation where the MapPointControl.ocx will no longer
work correctly, giving error 16398:

Run-time error '16398': MapPoint North America can't run because it is
not registered on your system, or it can't be found. Install MapPoint
North America and try again.

Many people reported that only a full reinstall of XP could clear up
the problem. Some who had reached Microsoft claimed they had been told
that the problem must be with the their code, even though MS's own demo
programs failed in a similar manner. Do not pass go. Do not collect
$200.

Using Regmon, I traced exactly which registry entries were missing, and
imported them from a machine on which MapPoint 2006 OCX was
successfully running. It took a few steps, and at each step different
errors were reported, but eventually I found and imported enough keys
to get it to work and it appears to be running properly now.

I don't know what aspects of these entries may be unique to any given
system. I do know that you must at least be sure that the path to the
EXE is correct for your system.

Replace

C:\\PROGRA~1\\MICROS~1\\Mappoint.exe

with the exact path to your mappoint.exe. Doing a

dir *. /x

is a quick way to determine your system's 8.3 abbreviation of your
folder names. I assumed 8.3 format names were required. They may not
be.

Proceed with caution. Back up your registry. No guarantees express or
implied, etc...

Microsoft: If it is true you are telling people this is the fault of
their own code, shame on you.

Hope this helps some people.

Thanks,

Tim N.


Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\MapPoint.Map.NA]
@="Microsoft MapPoint North American Map"

[HKEY_CLASSES_ROOT\MapPoint.Map.NA\CLSID]
@="{31851F84-AFE6-11D2-A3C9-00C04F72F340}"

[HKEY_CLASSES_ROOT\MapPoint.Map.NA\CurVer]
@="MapPoint.Map.NA.13"

[HKEY_CLASSES_ROOT\MapPoint.Map.NA.13]
@="Microsoft MapPoint North American Map"

[HKEY_CLASSES_ROOT\MapPoint.Map.NA.13\CLSID]
@="{31851F84-AFE6-11D2-A3C9-00C04F72F340}"

[HKEY_CLASSES_ROOT\MapPoint.Map.NA.13\DefaultIcon]
@="C:\\PROGRA~1\\MICROS~1\\Mappoint.exe,-5700"

[HKEY_CLASSES_ROOT\MapPoint.Map.NA.13\DocObject]
@="0"

[HKEY_CLASSES_ROOT\MapPoint.Map.NA.13\Insertable]
@=""

[HKEY_CLASSES_ROOT\MapPoint.Map.NA.13\protocol]

[HKEY_CLASSES_ROOT\MapPoint.Map.NA.13\protocol\StdFileEditing]

[HKEY_CLASSES_ROOT\MapPoint.Map.NA.13\protocol\StdFileEditing\server]
@="C:\\PROGRA~1\\MICROS~1\\Mappoint.exe"

[HKEY_CLASSES_ROOT\MapPoint.Map.NA.13\protocol\StdFileEditing\verb]

[HKEY_CLASSES_ROOT\MapPoint.Map.NA.13\protocol\StdFileEditing\verb\0]
@="&Edit"

[HKEY_CLASSES_ROOT\MapPoint.Map.NA.13\shell]
@="open"

[HKEY_CLASSES_ROOT\MapPoint.Map.NA.13\shell\open]

[HKEY_CLASSES_ROOT\MapPoint.Map.NA.13\shell\open\command]
@="C:\\PROGRA~1\\MICROS~1\\Mappoint.exe \"%1\""

[HKEY_CLASSES_ROOT\MapPoint.Template.13]
@="MapPoint Template"

[HKEY_CLASSES_ROOT\MapPoint.Template.13\CLSID]
@="{31851F84-AFE6-11D2-A3C9-00C04F72F340}"

[HKEY_CLASSES_ROOT\MapPoint.Template.13\DefaultIcon]
@="C:\\PROGRA~1\\MICROS~1\\Mappoint.exe,-5701"

[HKEY_CLASSES_ROOT\MapPoint.Template.13\shell]
@="open"

[HKEY_CLASSES_ROOT\MapPoint.Template.13\shell\open]

[HKEY_CLASSES_ROOT\MapPoint.Template.13\shell\open\command]
@="C:\\PROGRA~1\\MICROS~1\\Mappoint.exe \"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{31851F84-AFE6-11D2-A3C9-00C04F72F340}]
@="Microsoft MapPoint North American Map"
"AppID"="{2FEE4456-0731-11D3-B6BD-00C04F72F340}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{31851F84-AFE6-11D2-A3C9-00C04F72F340}\AuxUserType]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{31851F84-AFE6-11D2-A3C9-00C04F72F340}\AuxUserType\2]
@="Map"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{31851F84-AFE6-11D2-A3C9-00C04F72F340}\AuxUserType\3]
@="Microsoft MapPoint 2006 Map"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{31851F84-AFE6-11D2-A3C9-00C04F72F340}\DefaultExtension]
@=".ptm, Map Files (*.ptm)"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{31851F84-AFE6-11D2-A3C9-00C04F72F340}\DefaultIcon]
@="C:\\PROGRA~1\\MICROS~1\\Mappoint.exe,-5700"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{31851F84-AFE6-11D2-A3C9-00C04F72F340}\DocObject]
@="0"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{31851F84-AFE6-11D2-A3C9-00C04F72F340}\InprocHandler32]
@="ole32.dll"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{31851F84-AFE6-11D2-A3C9-00C04F72F340}\Insertable]
@=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{31851F84-AFE6-11D2-A3C9-00C04F72F340}\LocalServer32]
@="C:\\PROGRA~1\\MICROS~1\\Mappoint.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{31851F84-AFE6-11D2-A3C9-00C04F72F340}\MiscStatus]
@="1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{31851F84-AFE6-11D2-A3C9-00C04F72F340}\Printable]
@=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{31851F84-AFE6-11D2-A3C9-00C04F72F340}\ProgID]
@="MapPoint.Map.NA.13"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{31851F84-AFE6-11D2-A3C9-00C04F72F340}\Programmable]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{31851F84-AFE6-11D2-A3C9-00C04F72F340}\TypeLib]
@="{31851F80-AFE6-11D2-A3C9-00C04F72F340}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{31851F84-AFE6-11D2-A3C9-00C04F72F340}\verb]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{31851F84-AFE6-11D2-A3C9-00C04F72F340}\verb\0]
@="&Edit,0,2"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{31851F84-AFE6-11D2-A3C9-00C04F72F340}\verb\1]
@="&Open,0,2"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{31851F84-AFE6-11D2-A3C9-00C04F72F340}\Version]
@="13.1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{31851F84-AFE6-11D2-A3C9-00C04F72F340}\VersionIndependentProgID]
@="MapPoint.Map.NA"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\MapPoint.Map.13]
@="Microsoft MapPoint North American Map"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\MapPoint.Map.13\CLSID]
@="{31851F84-AFE6-11D2-A3C9-00C04F72F340}"

[HKEY_CLASSES_ROOT\Applications\MapPoint.exe]

[HKEY_CLASSES_ROOT\Applications\MapPoint.exe\shell]
@="open"

[HKEY_CLASSES_ROOT\Applications\MapPoint.exe\shell\open]

[HKEY_CLASSES_ROOT\Applications\MapPoint.exe\shell\open\command]
@="C:\\PROGRA~1\\MICROS~1\\Mappoint.exe \"%1\""

[HKEY_CLASSES_ROOT\Applications\MapPoint.exe\shell\print]

[HKEY_CLASSES_ROOT\Applications\MapPoint.exe\shell\print\command]
@="C:\\PROGRA~1\\MICROS~1\\Mappoint.exe /p \"%1\""

[HKEY_CLASSES_ROOT\Applications\MapPoint.exe\shell\printto]

[HKEY_CLASSES_ROOT\Applications\MapPoint.exe\shell\printto\command]
@="C:\\PROGRA~1\\MICROS~1\\Mappoint.exe /pt \"%1\" \"%2\" \"%3\" \"%4\""

Eric Frost - MVP

unread,
Nov 3, 2006, 4:53:26 PM11/3/06
to
> Microsoft: If it is true you are telling people this is the fault of
> their own code, shame on you.

hehe, I would suspect there are very different people doing Support vs. people who actually
know stuff and do MS consulting, etc.

Eric

http://blog.new-eastside.com


0 new messages