I am trying a remote C # debugging application (remote PC under WinXP (32 bit), VS running under Win7 (64 bit), I received an error message:
Error while trying to run project: Unable to start debugging.
Logon failure: unknown user name or bad password. See help for more information.
Both machines have user accounts with the same username / password, and both machines are located in the same workgroup on the local network.
When I turned on login auditing in WinXP, I see a strange entry in the event log, common sense: login forbidden for user SYSTEMbut I start VS and remote debugging moniton with a different username.
Can someone explain to me how to beat this strange mistake?
Update: I tried to launch VS2010 as a remote user with the command:
runas /user:pc_name\user_name path_to_vs_ide
then execute the password. The IDE was launched successfully, but when I select "Attach to process ..." and wrote pc_namein the qualifier field, I got the same error as above:
Logon failure: unknown user name or bad password.
So my question is still relevant. How to remotely debug C # applications?
Upd2: The problem is resolved after installing a new clean copy of WinXP.
source
share