Quantcast
Channel: MSBuild forum
Viewing all articles
Browse latest Browse all 2763

MSBuild Failure - What Permissions Are Needed To Build Workflow Projects? [CompileWorkflowTask]

$
0
0

I get the following error when running our MSBuild service (via CruiseControl.NET) as Local System.  However, it does not occur when running the service as me.  Please let me know if this is something that has been seen before and what resolution I might find.  Specifically, what permissions requirements are needed to compile Workflow projects using MSBuild?

 

C:\Program Files\MSBuild\Microsoft\Windows Workflow Foundation\v3.5\Workflow.Targets (127,5):

                             errorMSB4018: The"CompileWorkflowTask" task failed unexpectedly.

System.IO.DirectoryNotFoundException:Could not find a part of the path 'C:\Windows\system32\config\systemprofile\AppData\Local\Temp\n8gmcgnr.tmp'.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)

   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)

   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)

   at System.CodeDom.Compiler.TempFileCollection.EnsureTempNameCreated()

   at System.CodeDom.Compiler.TempFileCollection.AddExtension(String fileExtension, Boolean keepFile)

   at System.Workflow.ComponentModel.Compiler.CompileWorkflowTask.Execute()

   at Microsoft.Build.BuildEngine.TaskEngine.ExecuteInstantiatedTask(EngineProxy engineProxy, ItemBucket bucket, TaskExecutionMode howToExecuteTask, ITask task, Boolean& taskResult)

 

Environment: Windows Server 2008, 64-bit


Thanks,
Jonathan



Viewing all articles
Browse latest Browse all 2763

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>