We are migrating CruiseControl.NET from a Windows Server 2003 and
Visual Source Safe Installation to a Windows Server 2008 and
Subversion (VisualSVN). We had no problems setting up and running
CCNET under Windows Server 2003 and VSS but we are running into all
kinds of problems with Windows Server 2008 and Subversion.

We believe the problems relate to weird security settings in Server
2008. The user account under which CCNET is run is the local system
account.

Currently, we are getting the following errors as listed below. It
appears that Windows Workflow Foundation is either unable to create
and/or read files. The Directory listed exists and the system account
has full access.

We also thought there might be a problem with the TEMP or TMP
environment variables not pointing to the right directory. However,
when we checked the variables, these appeared to be fine. The value of
both variables was "%USERPROFILE%\AppData\Local\Temp".

CCNET appears to have no trouble downloading the files from
subversion.

Our build scripts use NANT. When we run the NANT script (RUNNANT.BAT)
from the command prompt with administrator permissions, the build
completes successfully.

Does anyone have any suggestions on how to fix this issue? Any help is
very much appreciated.

Thank you!

Anthony




:\Program Files (x86)\MSBuild\Microsoft\Windows Workflow Foundation
\v3.5\Workflow.Targets(127,5): error MSB4018: The
"CompileWorkflowTask" task failed unexpectedly.C:\Program Files
(x86)\MSBuild\Microsoft\Windows Workflow Foundation
\v3.5\Workflow.Targets(127,5): error MSB4018:
System.IO.DirectoryNotFoundException: Could not find a part of the
path 'C:\Windows\system32\config\systemprofile\AppData\Local\Temp
\_evbabow.tmp'.C:\Program Files (x86)\MSBuild\Microsoft\Windows
Workflow Foundation\v3.5\Workflow.Targets(127,5): error MSB4018:    at
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)C:
\Program Files (x86)\MSBuild\Microsoft\Windows Workflow Foundation
\v3.5\Workflow.Targets(127,5): error MSB4018:    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)C:\Program Files (x86)\MSBuild\Microsoft
\Windows Workflow Foundation\v3.5\Workflow.Targets(127,5): error
MSB4018:    at System.IO.FileStream..ctor(String path, FileMode mode,
FileAccess access)C:\Program Files (x86)\MSBuild\Microsoft\Windows
Workflow Foundation\v3.5\Workflow.Targets(127,5): error MSB4018:    at
System.CodeDom.Compiler.TempFileCollection.EnsureTempNameCreated()C:
\Program Files (x86)\MSBuild\Microsoft\Windows Workflow Foundation
\v3.5\Workflow.Targets(127,5): error MSB4018:    at
System.CodeDom.Compiler.TempFileCollection.AddExtension(String
fileExtension, Boolean keepFile)C:\Program Files (x86)\MSBuild
\Microsoft\Windows Workflow Foundation\v3.5\Workflow.Targets(127,5):
error MSB4018:    at
System.CodeDom.Compiler.TempFileCollection.AddExtension(String
fileExtension)C:\Program Files (x86)\MSBuild\Microsoft\Windows
Workflow Foundation\v3.5\Workflow.Targets(127,5): error MSB4018:    at
System.Workflow.ComponentModel.Compiler.CompileWorkflowTask.Execute()C:
\Program Files (x86)\MSBuild\Microsoft\Windows Workflow Foundation
\v3.5\Workflow.Targets(127,5): error MSB4018:    at
Microsoft.Build.BuildEngine.TaskEngine.ExecuteInstantiatedTask
(EngineProxy engineProxy, ItemBucket bucket, TaskExecutionMode
howToExecuteTask, ITask task, Boolean& taskResult)C:\Program Files
(x86)\MSBuild\Microsoft\Windows Workflow Foundation
\v3.5\Workflow.Targets(127,5): error MSB4018: The
"CompileWorkflowTask" task failed unexpectedly.C:\Program Files
(x86)\MSBuild\Microsoft\Windows Workflow Foundation
\v3.5\Workflow.Targets(127,5): error MSB4018:
System.IO.DirectoryNotFoundException: Could not find a part of the
path 'C:\Windows\system32\config\systemprofile\AppData\Local\Temp
\_evbabow.tmp'.C:\Program Files (x86)\MSBuild\Microsoft\Windows
Workflow Foundation\v3.5\Workflow.Targets(127,5): error MSB4018:    at
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)C:
\Program Files (x86)\MSBuild\Microsoft\Windows Workflow Foundation
\v3.5\Workflow.Targets(127,5): error MSB4018:    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)C:\Program Files (x86)\MSBuild\Microsoft
\Windows Workflow Foundation\v3.5\Workflow.Targets(127,5): error
MSB4018:    at System.IO.FileStream..ctor(String path, FileMode mode,
FileAccess access)C:\Program Files (x86)\MSBuild\Microsoft\Windows
Workflow Foundation\v3.5\Workflow.Targets(127,5): error MSB4018:    at
System.CodeDom.Compiler.TempFileCollection.EnsureTempNameCreated()C:
\Program Files (x86)\MSBuild\Microsoft\Windows Workflow Foundation
\v3.5\Workflow.Targets(127,5): error MSB4018:    at
System.CodeDom.Compiler.TempFileCollection.AddExtension(String
fileExtension, Boolean keepFile)C:\Program Files (x86)\MSBuild
\Microsoft\Windows Workflow Foundation\v3.5\Workflow.Targets(127,5):
error MSB4018:    at
System.CodeDom.Compiler.TempFileCollection.AddExtension(String
fileExtension)C:\Program Files (x86)\MSBuild\Microsoft\Windows
Workflow Foundation\v3.5\Workflow.Targets(127,5): error MSB4018:    at
System.Workflow.ComponentModel.Compiler.CompileWorkflowTask.Execute()C:
\Program Files (x86)\MSBuild\Microsoft\Windows Workflow Foundation
\v3.5\Workflow.Targets(127,5): error MSB4018:    at
Microsoft.Build.BuildEngine.TaskEngine.ExecuteInstantiatedTask
(EngineProxy engineProxy, ItemBucket bucket, TaskExecutionMode
howToExecuteTask, ITask task, Boolean& taskResult)External Program
Failed: C:\Windows\Microsoft.NET\Framework\v3.5\msbuild.exe (return
code was 1)

Reply via email to