Remote agent service accessing System32\config\systemprofile on 64bit machine

I have a remote agent running on the 64-bit machine, installed as a Windows service. When I compile a C# project by MSBuild it writesthe file

c:\Windows\SysWOW64\config\systemprofile\AppData\Local\Temp\.NETFramework,Version=v4.6.1.AssemblyAttributes.cs

However it tries to read the file

c:\Windows\System32\config\systemprofile\AppData\Local\Temp\.NETFramework,Version=v4.6.1.AssemblyAttributes.cs

 Hence, the build fails. I have a 64-bit JRE8. What might be the source of the problem?

 

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Tuesday in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

158 views 3 6
Read article

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