Issue 1 - The directory name is invalid
Exception Message: The directory name is invalid (type Win32Exception) Exception Stack Trace: Server stack trace: at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) at Microsoft.TeamFoundation.Build.Workflow.Activities.InvokeProcess.ProcessWrapper.Start() at Microsoft.TeamFoundation.Build.Workflow.Activities.InvokeProcess.InvokeProcessInternal.RunCommand(AsyncState state) at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink) Exception rethrown at [0]: at System.Activities.Statements.Throw.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
![1 1](http://lh6.ggpht.com/-gbZZpZ3evSk/VOSAW07GjII/AAAAAAAAED0/9qHAw8WoQAk/1_thumb%25255B1%25255D.png?imgmax=800)
How to resolve?
Install the VS Release Management Client in the build server and connect it to Release management server. The connecting user does not matter here.
Issue 2 - Release build failed
Exception Message: Release build failed (type Exception) Exception Stack Trace: at System.Activities.Statements.Throw.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
![2 2](http://lh3.ggpht.com/-pNh3RIXIWD8/VOSAZzwnhzI/AAAAAAAAEEE/fFtBQImHUmA/2_thumb%25255B1%25255D.png?imgmax=800)
How to solve?
As you can see in the image it says TFS Build service account needs to be added to Release Management server as a system user.
![3 3](http://lh5.ggpht.com/-SHemeEuBFsE/VOSAcDDsMxI/AAAAAAAAEEU/e1o5GRo9wCs/3_thumb%25255B1%25255D.png?imgmax=800)
Release can be now triggered from TFS build and succeeds.
![4 4](http://lh3.ggpht.com/-W3FP0qUwdBk/VOSAe2ffY9I/AAAAAAAAEEk/2m30crLKVr4/4_thumb%25255B2%25255D.png?imgmax=800)
1 comment:
Thank you; this is most helpful.
Post a Comment