batch file fails to execute from build forge on the first ru
![](http://jazz.net/_images/myphoto/fb7b1752536de8fa84c092cf7fab1de1.jpg)
Hi,
I configured new windows 2003 server for build purpose. Builds are running good on the new server.
I executed the same batch file which does component build from Build Forge. like "call build.bat" , the step failed to execute actual build.bat.
I tried again running from command prompt directly on the server, it was successful.
Then I tried again from Build Forge then It executes properly.
I am confused why is it not executing while first run? , only if I build directly on machine and then execute from build forge it works.
Request your help
I configured new windows 2003 server for build purpose. Builds are running good on the new server.
I executed the same batch file which does component build from Build Forge. like "call build.bat" , the step failed to execute actual build.bat.
I tried again running from command prompt directly on the server, it was successful.
Then I tried again from Build Forge then It executes properly.
I am confused why is it not executing while first run? , only if I build directly on machine and then execute from build forge it works.
Request your help
One answer
![](http://jazz.net/_images/myphoto/fb7b1752536de8fa84c092cf7fab1de1.jpg)
this depends on why the build failed the first time.
I would guess that there was a directory or file that couldn't be created from the build user, but when you logged in you had more permissions than your build user and when running the bat file created those objects. Then the build user used those when the build succeeded. Just guessing though.
I would guess that there was a directory or file that couldn't be created from the build user, but when you logged in you had more permissions than your build user and when running the bat file created those objects. Then the build user used those when the build succeeded. Just guessing though.