Solved

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

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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

User Beware!  This is a rather permanent solution to removing your email from an exchange server.  The only way to truly go back is to have your exchange administrator restore your mailbox from backups.  This is usually the option of last resort.  A…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Viewers will learn the different options available in the Backstage view in Excel 2013.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…

726 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