How to troubleshoot remote UWP AppService problems?


I'm playing around with remote UWP AppServices in C# and I run into a very early roadblock: Getting a RemoteSystem instance.

I followed the tutorial on with my own code and I tried out the RemoteSystems sample as part of

Unfortunately, the result is always the same.

First I request access to remote systems:

RemoteSystemAccessStatus status = await RemoteSystem.RequestAccessAsync();

This is successful: status has the value RemoteSystemAccessStatus.Allowed.

Next, I create a HostName instance:

var deviceHost = new HostName("computer2");

Then I want to get a RemoteSystem instance:

RemoteSystem remoteSystem = await RemoteSystem.FindByHostNameAsync(deviceHost);

This throws an exception:

Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))

What I tried

  • Searching the web doesn't bring up much at this time (remote UWP AppServices are too new)
  • The event log doesn't have anything interesting in it
  • The Windows firewall seems to be configured correctly (this seems to be done automatically by Visual Studio)

What I'm looking for

One of my computer was upgraded from Windows 7 to Windows 10, the other from Windows 8.1 to Windows 10. So there is a chance my computers are "misconfigured" in some way (I remember the unnecessary task scheduler entries for Windows Media Center...)

My question: What are recommended practices to troubleshoot these kinds of problems? Are there tools that can help me? Right now I'm now even sure where to start looking...

asked on Stack Overflow Sep 23, 2016 by Roland Weigelt

0 Answers

Nobody has answered this question yet.

User contributions licensed under CC BY-SA 3.0