MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




MapPoint Control in ASP

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) ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-12-2002
Junior Member
White Belt
 
Join Date: Nov 2002
Posts: 2
Send a message via AIM to technohippie Send a message via MSN to technohippie
MapPoint Control in ASP

I'm trying to convert an address to a latitude/longitude coordinate within my ASP program.

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 11-12-2002
John Meyer's Avatar
Senior Member
Blue Belt
 
Join Date: Jul 2002
Posts: 479
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 11-22-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
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/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
asp, control, mappoint


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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 times are GMT -5. The time now is 09:13 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map

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.


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