跨域部署发布管理代理错误 [英] Release Management agent error with cross-domain deployment

查看:113
本文介绍了跨域部署发布管理代理错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在部署在单独域中的计算机上使用Visual Studio 2015的发布管理部署软件时遇到错误。代理在Windows事件日志中记录以下错误:

I am getting errors deploying software using Release Management for Visual Studio 2015 on machines that are deployed in a separate domain. The agent logs the following error in the Windows event log:

消息:无法完成请求的操作。必须信任计算机以进行委派,并且必须将当前用户帐户配置为允许委派。

:\\\\\\\

服务器堆栈跟踪:

  在System.Security.Cryptography.CryptographicException.ThrowCryptographicException(Int32 hr)

  在System.Security.Cryptography.Utils._CreateCSP(CspParameters param,Boolean randomKeyContainer,SafeProvHandle& hProv)

  在System.Security.Cryptography.Utils.CreateProvHandle(CspParameters parameters,Boolean randomKeyContainer)

  在System.Security.Cryptography.Utils.GetKeyPairHelper(CspAlgorithmType keyType,CspParameters parameters,Boolean randomKeyContainer,Int32 dwKeySize,SafeProvHandle& safeProvHandle,SafeKeyHandle& safeKeyHandle)

  在System.Security.Cryptography.RSACryptoServiceProvider.GetKeyPair()

  在Microsoft.TeamFoundation.Release.Data.Service.SecureSoapHelper.GetSigningKey()

  在Microsoft.TeamFoundation.Release.Data.Service.SecureSoapHelper.GetXmlDigitalSignature(XmlDocument doc)

  在Microsoft.TeamFoundation.Release.Data.Service.FileTransferServiceInspector.BeforeSendRequest(消息和请求,IClientChannel频道)

  在System.ServiceModel.Dispatcher.ImmutableClientRuntime.BeforeSendRequest(ProxyRpc& rpc)

   at System.ServiceModel.Channels.ServiceChannel.PrepareCall(ProxyOperationRuntime operation,Boolean oneway,ProxyRpc& rpc)

   at System.ServiceModel.Channels.ServiceChannel.Call(String action,Boolean oneway,ProxyOperationRuntime operation,Object [] ins,Object [] outs,TimeSpan timeout)

   在System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall,ProxyOperationRuntime operation)

  在System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Message: The requested operation cannot be completed. The computer must be trusted for delegation and the current user account must be configured to allow delegation.
: \r\n\r\n
Server stack trace:
   at System.Security.Cryptography.CryptographicException.ThrowCryptographicException(Int32 hr)
   at System.Security.Cryptography.Utils._CreateCSP(CspParameters param, Boolean randomKeyContainer, SafeProvHandle& hProv)
   at System.Security.Cryptography.Utils.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
   at System.Security.Cryptography.Utils.GetKeyPairHelper(CspAlgorithmType keyType, CspParameters parameters, Boolean randomKeyContainer, Int32 dwKeySize, SafeProvHandle& safeProvHandle, SafeKeyHandle& safeKeyHandle)
   at System.Security.Cryptography.RSACryptoServiceProvider.GetKeyPair()
   at Microsoft.TeamFoundation.Release.Data.Service.SecureSoapHelper.GetSigningKey()
   at Microsoft.TeamFoundation.Release.Data.Service.SecureSoapHelper.GetXmlDigitalSignature(XmlDocument doc)
   at Microsoft.TeamFoundation.Release.Data.Service.FileTransferServiceInspector.BeforeSendRequest(Message& request, IClientChannel channel)
   at System.ServiceModel.Dispatcher.ImmutableClientRuntime.BeforeSendRequest(ProxyRpc& rpc)
   at System.ServiceModel.Channels.ServiceChannel.PrepareCall(ProxyOperationRuntime operation, Boolean oneway, ProxyRpc& rpc)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

推荐答案

您好Jcsharp,   ;

感谢您的回复。

您使用的是内部部署RM 2015服务器吗?

如果您无法在构建代理计算机上通过HTTPS手动执行相同的命令来获取放置位置,我认为您应首先解决此命令行问题。

你是如何在构建代理机器上使用https获取放置位置的?

我们建议您在RM客户端中创建组件
来源选项卡,选中使用应用构建部分,然后设置
路径包 = [构建放置位置] \ _PublishedWebsites \\ \\ solutionname

We suggest you create the component in RM Client, in the component Source tab, checked the Builds with application section, and set Path to package = [Build Drop Location]\_PublishedWebsites\solutionname.


这篇关于跨域部署发布管理代理错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆