Answered by:
UWP Crashes on WindowsServer 2019

Question
-
My UWP-APP contains only a MapControl.
This APP crashes on WindowsServer 2019 Ver. 1809 (Build 17763.1075)
It runs fine on WindowsServer 2019 Vers. 1809 (Build 17763.737)
I've tried to create the control in code behind surrounded with a try. The APP crashes also. But i got the following exception:
********** 11.03.2020 09:49:39 **********
Exception Type: System.Runtime.InteropServices.SEHException
Exception: External component has thrown an exception.
Source:
Stack Trace:
at Windows.UI.Xaml.Controls.Maps.MapControl..ctor()
at airformManager.PlannerViews.AboutPage.Page_Loaded(Object sender, RoutedEventArgs e)
In the event log i've got an entry:
Pfad des fehlerhaften Moduls: C:\Windows\System32\Windows.UI.Xaml.dll
Wednesday, March 11, 2020 1:29 PM
Answers
-
Apps using the MapControl will crash unless the Downloaded Maps Manager service is enabled. The Downloaded Maps Manager service is disabled by default on Windows Server. On later versions of Windows server 2019 (1903+), the MapControl won't crash if the service is disabled, but it still won't be able to load any map data. Your app can handle this by checking if the LoadingStatus of the MapControl is MapLoadingStatus.DownloadedMapsManagerUnavailable.
- Marked as answer by Duncan Lawler Wednesday, May 13, 2020 6:49 PM
Wednesday, May 13, 2020 9:59 AM
All replies
-
Hi Klaus,
I have raised this issue to the Maps team but I would also recommend that you report this result due to a release change in the Windows Insider forums. Go to https://insider.windows.com/en-us/for-developers/ for more details.
PS It looks like there are a number of known issues with 17763 in those forums https://social.msdn.microsoft.com/Forums/en-US/home?forum=Win10SDKToolsIssues. As it seems this was a build from October 2018, have you tried newer build to see if there is a fix already?
Sincerely,
IoTGirl
- Edited by IoTGirlMicrosoft employee Thursday, March 12, 2020 3:04 PM
Thursday, March 12, 2020 3:01 PM -
Hi,
i'm not sure what i have to do. The problem exists. I've tried my sample app on several servers (terminalserver).
But i have no idea what to do for finding the reason for the crash.
I've searched all known forums.
I find out that the Map-App (Microsoft) ist not installable on the Server because its not in the App Store. Is there a way to install this app on the server to do more tests?
regards
Klaus
- Edited by airform.klaus Monday, April 20, 2020 12:52 PM
Monday, April 20, 2020 9:40 AM -
Hi Klaus,
Please try one of more of the following:
1. Join Windows Insiders to get other versions or earlier updates as well as report bugs & Issues like this
2. Move away from the version that has this known issue as it will definitely continue to occur unless you move to a version with a fix or to one before the error was introduced.
Sincerely,
IoTGirl
- Proposed as answer by airform.klaus Wednesday, May 13, 2020 9:15 AM
- Unproposed as answer by airform.klaus Wednesday, May 13, 2020 9:15 AM
Monday, April 20, 2020 4:34 PM -
We fixed the Problem. The Service "Maps Manager" was not activated and started.
- Proposed as answer by airform.klaus Wednesday, May 13, 2020 9:20 AM
Wednesday, May 13, 2020 9:20 AM