title: Error when launching MapPoint 2006/2011 from C# .NET application on Windows Server 2008
body: <p>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:</p>
  
  <p>"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."</p>
  
  <p>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.</p>
  
  <p>MapPoint is included as a COM reference in the VS project referring to "Microsoft MapPoint 13.0 Object Library (North America) 8.3".</p>
  
  <p>Looking online, I found a bunch of possible solutions, but nothing worked.  I have tried:</p>
  
  <ol>
  <li>Uninstalling MapPoint 2006 entirely and manually removing all entries from the registry, then reinstalling</li>
  <li>Doing the same as 1 but then installing the trial of MapPoint 2011, resulting in the exact same error message</li>
  <li>Disabling UAC</li>
  <li>Setting MapPoint.exe's compatibility mode to Server 2003 and XP</li>
  </ol>
  
  <p>Please let me know if anyone has any other suggestions.</p>