MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Adding MapPoint COM Object to .NET Web Service

This is a discussion on Adding MapPoint COM Object to .NET Web Service within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi Everyone - I am having trouble loading the MapPoint COM application object into my .NET web service. I use ...


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

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-31-2003
Junior Member
White Belt
 
Join Date: Jan 2003
Posts: 4
Adding MapPoint COM Object to .NET Web Service

Hi Everyone -

I am having trouble loading the MapPoint COM application object into my .NET web service. I use the following code for my windows application (successfully,) but I get an error when I try and use it in a web service:

MapPoint.Application oApp = new MapPoint.ApplicationClass();

This creates an HTTP 500 error when I invoke the method from the web service page:

The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot be displayed.

I have references the COM application object using the add reference to the solution as well.

Does anyone have any experience or advice with this?

Thanks!!!
Chris
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 09-30-2003
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
MapPoint with Java

Hello, I saw your message in this forum, and I have a question for your very similar: I have MapPoint installed on my computer, and I want to put it on a web Service to allow a Java application access to MapPoint. The web service should give a .gif image to the application. But i´m not sure if I could hang MapPoint in my own WebService (which would be only accesible from the computer it is installed in).
Aditionally, do you know any method to access MapPoint with a Java application?
Thanks in advance
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 09-30-2003
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
I don't think you will find what you are doing very easy for 2 reasons. 1. There is no method call that I know of that will export a map object as an image, which brings me to point 2: The utilities library only returns a "catastrophic failure" whenever I tried it from a web server, which limits you to copy and paste. Web servers run as MTA (multiple threaded apartments) which means that you cant access the clipboard object.

I finally have a preliminary remoting server outputting maps through ASP.NET, but man, I had to get into the win32 api to get at the copied objects...not fun.
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


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
VBA help needed using MapPoint.Application object SheepWorrier MapPoint 2006/2009 Discussion 1 11-03-2004 06:30 AM
Drawing on mappoint object vidyakulkarni MapPoint 2006/2009 Discussion 4 08-05-2004 09:28 AM
route object to drawing object Anonymous MapPoint 2006/2009 Discussion 1 05-09-2003 10:29 PM
Using Mappoint COM object through SQL Server Anonymous MapPoint 2006/2009 Discussion 9 11-13-2002 06:35 AM
I have written a program using the mappoint object.... Anonymous MapPoint 2006/2009 Discussion 1 04-26-2001 10:12 AM


All times are GMT -5. The time now is 01:26 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

Cheap flights to Madrid
Visit Madrid with bullfighting and the "Golden Triangle of Art" ready for you to view. For cheap flights to Madrid book here.

Travel Counsellors
Travel Counsellors are an award winning Travel Agent. Have a personal Travel Counsellor help with your travel plans.

Italy Holiday
An Italy Holiday is full of interesting stuff for the casual tourist and even more for the educated visitor. Check out the latest great deals at dealchecker.co.uk.

Dominican Republic Holidays
Dominican Republic holidays have something to offer for everyone. From water sports, to sun bathing and more, enjoy a holiday there!

Turkey
Before booking a holiday to Turkey check out the ULookUBook travel guide. Find out about the rich culture in Turkey before you go there to help you to make the most of your holiday.

Family package holidays
Save a lot of time and opt for one of the great family package holidays at Travel.co.uk

Cheap Holidays to Cyprus
Enjoy island nightlife at its best! Book cheap holidays to Cyprus 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