S
Simon
Hi all,
I have developed a C# application that uses the Microsoft MapPoint 2006
(COM) control in one of my applications.
Unfortunately the application has stpped working on one of our clients
PCs and because the issue is related to COM I'm very much stuck on how
to troubleshoot it.
The issue is that when the application loads, the maps all appear, but
when I call a particular method on the MapPoint control, I get a COM
style error. The full message is below:
Unable to cast COM object of type "System.__ComObject' to interface type
'MapPoint.Location'. This operation failed because the QueryInterface
call on the COM component for the interface with IID
'{7AFBA6C4-6B6E-4124-B350-85EED3450023}' failed due to the following
error: No such interface supported
The problem is, I have no idea how to remedy the situation. I have tried
various things such as using regsvr32.exe to register the activeX
control however because I've never done anything with COM I don't fully
understand why what I'm doing hasn't worked.
Could anyone advise me on how to troubleshoot this issue? Can anyone
tell me why that interface wouldn't be resolving?
Many thanks to anyone who can help!
S
I have developed a C# application that uses the Microsoft MapPoint 2006
(COM) control in one of my applications.
Unfortunately the application has stpped working on one of our clients
PCs and because the issue is related to COM I'm very much stuck on how
to troubleshoot it.
The issue is that when the application loads, the maps all appear, but
when I call a particular method on the MapPoint control, I get a COM
style error. The full message is below:
Unable to cast COM object of type "System.__ComObject' to interface type
'MapPoint.Location'. This operation failed because the QueryInterface
call on the COM component for the interface with IID
'{7AFBA6C4-6B6E-4124-B350-85EED3450023}' failed due to the following
error: No such interface supported
The problem is, I have no idea how to remedy the situation. I have tried
various things such as using regsvr32.exe to register the activeX
control however because I've never done anything with COM I don't fully
understand why what I'm doing hasn't worked.
Could anyone advise me on how to troubleshoot this issue? Can anyone
tell me why that interface wouldn't be resolving?
Many thanks to anyone who can help!
S