Asked by:
MapControl gives error message

Question
-
After reading the many suggestions here to use the UWP MapControl, I upgraded VS to include UWP and tried to run the sample UWP app. It gave this error message:
DEP6957: Failed to connect to device '127.0.0.1' using Universal Authentication. Please verify the correct remote authentication mode is specified in the project debug settings. COMException - No connection could be made because the target machine actively refused it. (Exception from HRESULT: 0x8007274D) [0x8007274D]
What to do?
Edit to Add: Maybe this is in the wrong forum. If so, please move it to a better place.
- Edited by RogerSSB Wednesday, July 15, 2020 11:57 PM
Wednesday, July 15, 2020 11:55 PM
All replies
-
What platform are you targeting for your UWP app? The error sounds like you're trying to connect to some emulator.Thursday, July 16, 2020 4:15 PM
-
Hi Roger,
A quick search for the error gives a few helpful posts like this one in GITHUB https://github.com/Microsoft/Xaml-Controls-Gallery/issues/80
Have you checked that you are targeting the correct processor for your deployment?
Sincerely,
IoTGirl
Thursday, July 16, 2020 10:25 PM -
To be honest, Duncan, after looking at what would be involved in switching to UWP I decided to stick with wpf for my current project. I'm pretty far along and my mapping needs are quite basic so even using a wpf island is not worth the effort.Friday, July 17, 2020 12:51 AM
-
Thanks, Iot, but see my reply to Duncan.Friday, July 17, 2020 12:52 AM
-
Hi Roger,
As noted in the docs, Bing Maps WPF is no longer maintained or supported. With that in mind, a transition now might be less painful than a transition later.
Sincerely,
IoTGirl
- Edited by IoTGirlMicrosoft employee Friday, July 17, 2020 4:48 PM
Friday, July 17, 2020 4:48 PM