Solved

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

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
C# GridRow get Old/New Value 1 55
Visual Studio Publish Web Configuration does not contain Release 5 24
Turn on intranet settings 1 40
Variable Event ? 3 23
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
We were having a lot of "Heartbeat Alerts" in our SCOM environment, now "Heartbeat" in a SCOM environment for those of you who might not be familiar with SCOM is a packet of data sent from the agent to the management server on a regular basis, basic…
Viewers will learn how to maximize accessibility options in an Excel workbook for users with accessibility issues.
Viewers will learn the different options available in the Backstage view in Excel 2013.

895 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

14 Experts available now in Live!

Get 1:1 Help Now