locked
Compile error in sample UWP code RRS feed

  • Question

  • I am trying to run the PhotoLab sample from the UWP documentation and am getting this error:

    Severity Code Description Project File Line Suppression State
    Error 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] PhotoLab

    Can anyone suggest a solution?

    Thursday, October 1, 2020 10:38 AM

All replies

  • Problems related to samples should be posted where the sample came from. We have no knowledge of whatever this sample you are talking about is. This forum is also for C#-specific questions only so even if we had the code we wouldn't be able to help much.

    The error itself indicates the app is trying to connect to what looks like a web app running on your local machine. Most likely you are not running that web app and it fails. Refer to the samples documentation and they probably tell you how to start both apps (probably in the same solution) so it will work.


    Michael Taylor http://www.michaeltaylorp3.net

    Thursday, October 1, 2020 1:35 PM
  • Hi KeithLovell,
    For questions about UWP, it is recommended to ask the questions in Microsoft Q&A forum and you can get more professional answer.
    Thank you for your understanding.
    Best Regards,
    Daniel Zhang


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, October 2, 2020 2:19 AM