Solved

Error when launching MapPoint 2006/2010 from C# .NET application on Windows Server 2008

Posted on 2011-03-16
5
1,566 Views
Last Modified: 2013-12-17
I am running into an issue when attempting to use MapPoint libraries within our C# .NET application from a published app on a Windows Server 2008 machine.  When instantiating the MapPoint.MapClass, I get the error:

"Your registry settings for this application were not copied correctly.  To correct these settings, run Setup again for this application from the location where you originally installed it."

I am able to launch MapPoint just fine by itself outside of the app, the error only comes up when running the published app.  We have multiple servers that clients run the app on, and the server running Server 2003 is able to launch MapPoint just fine.  In addition, XP and Win7 machines also work fine.  We also have a Foxpro application that also utilizes MapPoint's API installed on the 2008 server, and it doesn't have any issues.

MapPoint is included as a COM reference in the VS project referring to "Microsoft MapPoint 13.0 Object Library (North America) 8.3".

Looking online, I found a bunch of possible solutions, but nothing worked.  I have tried:

1.  Uninstalling MapPoint 2006 entirely and manually removing all entries from the registry, then reinstalling
2.  Doing the same as 1 but then installing the trial of MapPoint 2011, resulting in the exact same error message
3.  Disabling UAC
4.  Setting MapPoint.exe's compatibility mode to Server 2003 and XP

Please let me know if anyone has any other suggestions.
0
Comment
Question by:DigitechComputer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 41

Expert Comment

by:graye
ID: 35184928
Just curious... is the Windows Server 2008 version 64 bit?   If so, is your application also 64-bit?
0
 

Author Comment

by:DigitechComputer
ID: 35185461
Both the application and the Windows version are 32 bit.
0
 

Expert Comment

by:joshmartin
ID: 36377169
I am currently experiencing the same error message as the OP after completing a fresh installation of Map Point 2006 North America v.13.00.15.2800.

"Your registry settings for this application were not copied correctly.  To correct these settings, run Setup again for this application from the location where you originally installed it."

Does anyone know of a registry entry that may resolve this issue to get Map Point 2006 running?

My OS info is: MS Windows 7 Professional x64 - Full Retail

Thanks
0
 

Accepted Solution

by:
joshmartin earned 500 total points
ID: 36378093
After about 3 hours of troubleshooting and research I found the solution to the registry problem that I was experiencing. I've created an internal document to resolve the issue as this software is used on all of the workstations at my organization. This resolved the registry error message:

"Your registry settings for this application were not copied correctly.  To correct these settings, run Setup again for this application from the location where you originally installed it."

Installation Instructions for Windows 7 Pro x64 w/Office 2010 - With Registry Fix

MapPoint 2006 North America - Installation Media on CD-ROM
1.Login as domain\administrator
2.Insert Disk1 - Setup into CD-Drive 1.Right Click Setup.exe click Run-as Administrator
3.Select Full Instalation Change Installation path to:
   C:\MapPoint2006
   Do not enable Office integration (not sure if this will break it)
4.Next > Next > Finish to the end of the Wizard to begin setup.
5.Insert Disk2 - Run into CD-Drive when prompted.
6.When installation is completed navigate to C:\ 1.Right click on C:\MapPoint2006 folder and add the following permisions.
 - Everyone - Full Access
 - Authenticated Users - Full Access
 - SYSTEM - Full Access
 - Domain User Account - Full Access
 - Administrator - Full Access
 - Local Administrator - Full Access
 - Domain Administrators - Full Access
 - Users - Full Access
7.Open Regedit
 - Navigate to the following registry key:
 - [HKEY_CURRENT_USER\Software\Microsoft\MapPoint\13.0\USA]
 - Edit the following reg keys ConstructionFilePath should read C:\MapPoint2006 and DataPath should read C:\MapPoint2006
8.Close out of Regedit
9.Navigate to C:\MapPoint2006
10.Right click on MapPoint.exe and enable the Run as Administrator option Do not enable compatibility mode, this will break the software from running properly.
11.Create a Shortcut on the desktop to MapPoint2006.
12.Verify with the User that everything is working properly with MapPoint2006.
0
 

Author Closing Comment

by:DigitechComputer
ID: 37114334
Had to switch to BING instead
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This very simple solution applies to a narrow cross-section of the "needs to close" variety. In this case, the full message in Event Viewer was in applog, Event ID 1000: Faulting application iexplore.exe, version 8.0.6001.18702, faulting module …
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question