MSBuild error " MSB5003: Failed to create a temporary file. "

I'm setting up Bamboo for my first build. I have an MSBuild project that runs successfully when I run it from a windows command prompt. It fails with MSB5003 error when running it from Bamboo.

Bamboo Version 3.3.3 Build 2719 running on Windows Server 2008 R2 6.1 with Sun Java 1.6.0_29.

Bamboo Temporary Directory is C:\Windows/Temp (note mixed forward and back slashes).

Bamboo is running as windows service using local SYSTEM account.


4 answers

I resolved the issue by creating a new user account named "Bamboo" on the server. This account was given administrator priviledges. The Bamboo service was reconfigured to run under this user account rather than under the SYSTEM account.

From reading other questions/answers, I gather that this is necessary when running Bamboo on Windows Server 2008 R2.

Sure would be nice to have had this in the FAQ and/or installation manual...

Richard, sorry to hear that you had issues getting your msbuild build running when Bamboo is running as a Windows service. I've opened up an issue to change our recommendation for how this should be setup.

C:\Windows\Temp exists.

It is *not* full of tmp0000.tmp throu tmpFFFF.tmp files.

I changed wrapper.conf to read:\Temp

which resolves to C:\Windows\Temp (all backslashes),

but still no joy.

Deleted everything in C:\Windows\Temp - still no joy

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

5,372 views 21 17
View question

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you