Compartilhar via


Error: Windows file sharing has been configured...

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Windows file sharing has been configured so that you will connect to the remote computer using a different user name. This is incompatible with remote debugging

The current file sharing configuration is set up to connect to the remote computer using a different user name. Remote debugging is not possible in this scenario.

To correct this error, log onto the computer using the other account name, or change file sharing to use the account name you are debugging under.

If you want to connect to the remote computer using this user name, you must first disconnect from the remote computer.

To correct this error

  1. Log onto your local machine, the machine you are debugging from, using the other account name.

    —or—

    . Disconnect from the remote computer, and then reconfigure file sharing to connect to the other machine using your account name:

    1. On the Start menu, point to Accessories, and then click Command Prompt.

    2. At the Windows command prompt, type:

      net use /delete computer_name

    3. Change your file-sharing settings using any of the methods documented in Windows help.