当我们从TeamCity启动构建任务时,我们从Remcom.exe收到以下错误。但是我们可以直接在TeamCity代理机器中运行Remcom.exe任务而没有任何问题。这个问题应该是什么?
[exec] Remote Command Executor
[exec] Copyright 2006 The WiseGuyz [ http://talhatariq.wordpress.com ]
[exec] Author: Talha Tariq [talha.tariq@gmail.com]
[exec] Initiating Connection to Remote Service . . . Failed
[exec] Couldn't connect to \\FuncTests\ADMIN$
[exec] Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again
感谢您的及时回复。
答案 0 :(得分:3)
您是否尝试使用“net use”查看连接列表(是否有效)?
C:\> net use
New connections will be remembered.
Status Local Remote Network
-------------------------------------------------------------
OK N: \\...
Disconnected X: \\... Microsoft Windows Network
The command completed successfully.
然后您可以使用“net use ... / delete”删除冲突的连接:
C:\> net use X: /delete
X: was deleted successfully.