Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 7 of 7

Can Anyone Help ? ( vb.NET and MapPoint Europe )

This is a discussion on Can Anyone Help ? ( vb.NET and MapPoint Europe ) within the MapPoint Desktop Discussion forums, part of the Map Forums category; I have been developing a vb front end for a client running on windows 2000 using the MapPoint COM object ...

  1. #1
    GaryHoather is offline Junior Member White Belt
    Join Date
    Aug 2005
    Posts
    4

    Can Anyone Help ? ( vb.NET and MapPoint Europe )

    I have been developing a vb front end for a client running on windows 2000 using the MapPoint COM object to access MapPoint at runtime. All has been running fine until I was asked to change the operating system to Windows XP SP2.

    I installed all my development tools and project files along with the full version of MapPoint Europe 2004 on to a clean machine. The operating system was installed ( not upgraded ) with SP2 from the start.

    Now I can not get the project to access MapPoint at all. I get the following error message.

    "An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in axinterop.mappoint.dll

    Additional information: MapPoint Europe can't run because it is not registered on your system, or it can't be found. Install MapPoint Europe and try again."

    I have removed and installed MapPoint several times.

    I have Norton Internet Security insatlled and defaults set, Windows XP firewall has been turned off by Norton.

    Any suggestions as I really am up against a brick wall with this one.

  2. #2
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    Hi,

    I assume the code compiles without errors. Maybe first check if the compilation is ok. What happens if you run your new exe on the old machine, and vice versa ?

  3. #3
    GaryHoather is offline Junior Member White Belt
    Join Date
    Aug 2005
    Posts
    4
    Hi Wilfried

    Thanks for taking the trouble to respond to my problem. I code compiles without errors in the design environment and runs fine on the old windows 2000 computer. I have even tried compiling the code in windows 2000 and running it on the xp machine but I still get the same errpr message. The COM control just does not recognise that MapPoint 2004 Europe is imstalled on the machine. The copy is a full copy and correctly installed and licensed so I just do not know what to do next. I posted the question in the chnace that someone more experienced than myself had either encounted the problem or knew of it.

    Thanks again for your interest

  4. #4
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    Hi,

    ok, assemblies are found etc.. I assume you have a visible mappoint control also in you IDE, so only at runtime... wierd...

    - check if the needed files are in the search path. Maybe that path is longer on the new machine, and the new added (from mappoint) are truncated.
    - eventually copy the files to application folder to test
    - compare registry to check the keys generated by the installation program

    I'm out of ideas, but maybe the one bring the other etc...

  5. #5
    AlexC is offline Junior Member White Belt
    Join Date
    Aug 2005
    Posts
    1
    I have a similar problem. I've been using the mappoint control for 3 months now and the other day it just started coming back with this error.

    The only difference i can see is that i am getting this error inside VS and can no longer compile my code.

    'AxMapPoint.AxMapPointControl' is not defined

    the refereneces are still there, but say:
    <the system cannot find the reference specified>

    Running XP SP2 and MP2004

    any ideas?
    - AlexC

  6. #6
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    Hi Alex,

    did you changed anithing in your environment, in VS, or anything ? Can you try to remove the control from the component list and add it again ? What about search path (I dont know where to find in VS, but could something to do with that) ?

  7. #7
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    Hi,

    Did you uninstall some program in dotnet ? There seems to be a bug with setup projects that if you dont watch carefully and you uninstall then some ocx files gets unregistered. See this link:

    http://lab.msdn.microsoft.com/produc...a-37f40ec103e4

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. MapPoint Europe
    By Eric Frost in forum News and Announcements
    Replies: 0
    Last Post: 02-10-2006, 06:11 PM
  2. MapPoint-Europe VB6 software
    By vpeixoto in forum MapPoint Desktop Discussion
    Replies: 7
    Last Post: 03-07-2005, 03:34 AM
  3. Using MP2002 Europe maps with MP2004 Europe
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 09-17-2004, 10:39 AM
  4. mappoint europe
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 01-04-2004, 05:10 AM
  5. MapPoint Europe Trial
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 07-07-2003, 06:46 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96