views:

298

answers:

1

We have an automated build server that produces builds using Visual Studio 2005 and CruiseControl.NET (on Windows XP x64). Normally nobody is logged into the system, but occasionally we have to log in via Remote Desktop in order to perform maintenance.

We have noticed that if cl.exe is running (Microsoft's C++ compiler) at the instant we log out from remote desktop, then cl.exe will terminate with error result 4:

Project : error PRJ0002 : Error result 4 returned from 'C:\Program Files (x86)\Microsoft Visual Studio 8\VC\bin\cl.exe'.

This obviously causes the current build to fail with a pretty mysterious message. Does anyone know how to prevent this from happening?

A: 

Did you try to run ccnet service under some other, non-admin, account.

dmajkic
The service runs under a valid user account on the domain. It isn't a local system account. The user I am logging in as through remote desktop is a different account again.
pauldoo