PDA

View Full Version : Windows XP Windows 7, MapPoint 2006



ehuddleston
02-18-2010, 08:21 PM
I would be very thankfull for any help on the following problem.
I have a problem with an application that runs under XP but does not run under Windows 7.
The application is using MapPoint 2006 and the MapPoint Control 13.0.
It throws an exception within the main Forms.Designer.cs at the following line:
((System.ComponentModel.ISupportInitialize)(this.a xMappointCtrl)).EndInit();
The exception states: "COMException was unhandled Class not registered
Exception from HRESULT:0x80040154 (REGDB_E_CLASSNOTREG)

Winwaed
02-19-2010, 08:19 AM
The exception is saying that MapPoint is not registered with the operating system.

Try running MapPoint from the command line with the /regserver flag
("mappoint /help" gives you a list of all options)

Re-installing MapPoint might also fix it. Make sure it is installed for the current user.


Richard

tajnaj
10-21-2010, 05:53 PM
Hi,
I got the same issue today .
have you found the solution ?

Thanks

Wilfried
11-02-2010, 03:17 AM
Hi,

did you try the solotution from Richard?

tajnaj
11-02-2010, 08:47 AM
Hi,
Yes i tried but does not work.

Eric Frost
11-02-2010, 08:51 AM
Running mappoint.exe /regserver at the command line (in the program files folder) can solve lots of problems when there are or were multiple copies of MapPoint installed.

Eric

tajnaj
11-02-2010, 09:10 AM
Hi,
Thanks for your suggestion,

but,

i have a 64 bits machine with windows 7 ultimate , here i still got the same error.

i tried to install xpmode virtual machine and every thing work just fine.

thanks

Eric Frost
11-02-2010, 09:21 AM
Great - how do you install an XP virtual machine? I have a 64-bit laptop and use VmWare, I have a couple different XP virtual machines I find indispensable.

Eric

tajnaj
11-02-2010, 09:35 AM
Hi,
Here is the link :
http://www.microsoft.com/windows/virtual-pc/download.aspx

Thanks

Eric Frost
11-02-2010, 09:53 AM
Oh interesting. Thanks!
Eric

tajnaj
11-02-2010, 10:01 AM
One more details for the mappoint 2006 error.

i installed mappoint2009 and mappoint 2010 in the 64 bit machine with windows 7 ultimate OS , and both work without any registring steps .

but the mappiont 2006 throw the error of class not registred even if registred the dll in the command line succefully.

Any more suggestions ???

Winwaed
11-03-2010, 08:24 AM
MapPoint 2006 predates Windows 7 by three and a half years: you might be out of luck.
If MapPoint 2009 and 2010 work - why not use them?


Richard

tajnaj
11-03-2010, 08:52 AM
Hi,
I see what you mean and you are right but I need mappoint 2006 to work within windows 7 for an old customer for maintenance perposes.
Thanks

JLandon296
01-10-2011, 01:15 PM
I get the same error with MP2010. Did you ever come across a solution for this? After doing research it appears this problem is related to the new session 0 isolation used in Vista/Windows 7. In our software, we are attempting to call some MapPoint functions from a windows service and get the error. It looks like you can't call MapPoint functions in session 0. It works in XP because services and UI run in the same session. Is there a way to use MapPoint functions in session 0? We don't need any visual interface (UI), with MapPoint, but it appears this is required. Can any MapPoint representative confirm this?