View Single Post

  #1 (permalink)  
Old 01-31-2003
ChrisC ChrisC is offline
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
Reply With Quote