I am having a problem moving a MapPoint solution from development to server. I am using MapPoint 2004 installed on my development workstation and VisualStudio.NET (framework 1.0).
In my project I am referencing the MapPoint 11.0 Object Library (North America) type library 8.2 and using the Application.OpenMap() to open an existing MapPoint map.
Everything works great on my workstation, but when I compile the code and move the application to a server (Also with MapPoint 2004 installed) I receive the following error:
-----------------
Exception: System.InvalidCastException
Message: QueryInterface for interface MapPoint._Application failed.
Source: MapPoint
at MapPoint.ApplicationClass.OpenMap(String FileName, Boolean AddToRecentFiles)
at VBMap.Map.Output()
------------------
Can someone give me some suggestions? I have tried replacing the MapPoint 2004 object library reference with the COM dll (extracted from the tlb using the framework tblimp util as seen here: http://support.microsoft.com/default...EN-US;302898#1
) to no avail.
Thank you.