View Full Version : Spatial Data Import COM on Vista issue
kathy.miller
03-23-2009, 11:31 AM
I'm running Vista on my machine and have MapPoint 2009 installed. I've downloaded and extracted the MapPoint Spatial Data Import COM Add-in (2004) but whenever I try to select the .dll file in the COM Add-In dialog box, I receive the error message that "this is not a valid Office add-in".
Can anyone help?
Mattys Consulting
03-23-2009, 08:15 PM
Hi Kathy,
When I create COM Addins, the compiler automatically adds the appropriate
registry entries ... so here's a guess ... Start-> Run -> regsvr32 "Path to dll"
Ex:
regsvr32 "C:\Documents and Settings\Kathy\Application Data\Microsoft\AddIns\SpatialDataImport.dll"
HTH,
Mike Mattys
kathy.miller
03-24-2009, 10:34 AM
Mike, thank you for your response to my issue. I tried what you recommended (from command line ran statement
regsvr32 "C:\Program Files (x86)\MapPoint Spatial Data Import COM Add-in Sample\SpatialDataImportCode\SpatialDataImport.dll ”
and received the following error - any thoughts?
The module "C:\Program Files (x86)\MapPoint Spatial Data Import COM Add-in Sample\SpatialDataImportCode\SpatialDataImport.dll ” failed to load. Make sure the finary is stored at the specified path or debug it to check for problems with the binary or dependent .dll files. The specified module could not be found.
Kathy
Mattys Consulting
03-24-2009, 01:07 PM
Possibly, you didn't extract it from a zip file?
If that's the case, once extracted you can add it using MapPoint
and forget the regsvr32 stuff.
Mike Mattys
Eric Frost
02-11-2012, 03:38 PM
Sorry I know this is an old post, but just wanted to follow up in case someone else is searching.
I think the solution would be to go to the start menu, Accessories, and right click on Command Prompt and select Run as Administrator, more info --
http://www.mapforums.com/com-add-not-valid-office-add-under-windows-7-64-bit-18922.html#post42396
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by
vBSEO 3.6.1