?
Solved

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

Posted on 2011-03-16
5
Medium Priority
?
1,594 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 1500 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

MS Access 2003 or later To MySQL Migration Project Hello All, this is my second article in the category of MS-OFFICE Automation. In internet I am not able to find any comprehensive resource on the Migration of MS Access back-end to MySQL so I fin…
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
Viewers will learn how to maximize accessibility options in an Excel workbook for users with accessibility issues.
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…

764 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