Solved

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

Posted on 2011-03-16
5
1,480 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
  • 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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 …
The canonical version of this article is on my web site here: http://iconoun.com/articles/collisions/ A companion presentation is available here: http://iconoun.com/articles/collisions/Unicode_Presentation.pdf
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

757 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now