Community of VE/MapPoint Users and Developers
This is a discussion on MapPoint Control in ASP within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I'm trying to convert an address to a latitude/longitude coordinate within my ASP program. I have MapPoint 2002 (North America) ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| MapPoint Control in ASP I have MapPoint 2002 (North America) installed on my server. I've booted it up on the desktop, messed around with it, and it works fine on the desktop. Here's what I did: 1. I created a little COM object in VB using some of the functionality from the MapPoint Control (OCX) and some code I found on this site. Basically, my COM object only has one method to convert the address to lat/lon. 2. I created an ASP page that calls my COM object. The initiation works. It gets past the line: Set objMP = Server.CreateObject("mydll.myclass") When I try to run the method that converts the address, it errors out. I created 2 additional properties in my COM object to show me the error info. I get this: Err.Description = "MapPoint North America can't run because it is not registered on your system, or it can't be found. Install MapPoint North America and try again." Err.Number = 16398 Although I'm not certain because I can't step through each line of the COM when it's executing, I believe the error is when I set the NewMap property = 1 (north america) The North America CD2 is installed. I played around with it on the desktop, everything seems to be there. Any suggestions? Maybe a different program? I know there's licensing issues with MapPoint 2002, please don't remind me. I'm just trying to get some coordinates. |
| ||||
|
First thing I would try is running your com object from vbscript at the command line (NOT in ASP). See if it works as it should. Is the IUSR_ComputerName the user that would be calling the com object in the ASP page? Whatever user it might be, sign in as them and run mappoint. The hang up is probably "that" user has not Agreeed/Disagreed with the EULA?
__________________ John http://www.support-pc.com Order MapPoint 2006 Here https://secure.mp2kmag.com/?refer=support-PC |
| |||
|
I've seen this before, try going to start->run and typing: "C:\Program Files\Microsoft MapPoint\MapPoint.exe" /regserver If you installed Mappoint to a nondefault location, change the location accordingly. But make sure the path is inside the quotes and the /regserver is outside. -Jim Keller http://jim.centerfuse.net/projects/ http://jimkeller.blogspot.com/ |
![]() |
| Tags |
| asp, control, mappoint |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Re: Keyboard control in mappoint activex control | djcapslock | MapPoint 2006/2009 Discussion | 1 | 03-10-2005 10:16 AM |
| Using MapPoint Control for Web App | Attila | MapPoint 2006/2009 Discussion | 1 | 01-11-2005 09:36 AM |
| MapPoint Graphics Control | Anonymous | MapPoint 2006/2009 Discussion | 0 | 09-30-2004 07:03 AM |
| i need the mappoint control 9 please | Anonymous | MapPoint 2006/2009 Discussion | 3 | 04-22-2004 09:41 AM |
| I am using MapPoint Control in another Ac.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 11-23-2001 08:29 AM |
All Inclusive Ski Holidays
For the latest all inclusive ski holidays make sure you stop at Holiday Hypermarket. You can get great value ski holidays to a range of destinations.
City Breaks
Top 10 City Breaks . Based on holidays booked this year, these are the most popular City Breaks for 2006
Turkey Holidays
Istanbul is Turkey's prime attraction as it has the most beautiful mosques and palaces of the country; it has Byzantine churches and Roman temples. Book Turkey Holidays online.
Dubai Holidays
Dubai holidays provide you with exotic sights, desert safaris and superb cuisine. There is an extensive range of things to do and see!
Cheap Turkey Holidays
The best time of year to sneak in cheap Turkey holidays is during the off-peak season. Check out the great deals available during April, May or October. For other tips on how to bag a great value holiday simply check online at ulookubook.com
Compare Holidays
Compare holidays online where you can see all the amazing possibilities at Travel.co.uk
Cheap Holidays to Florida
Cash strapped? Get info on cheap holidays to Florida at On The Beach.