I get this error when I run orcascr170.exe via the tfs 2017 build server:
Appeon (R) OrcaScript interpreter version 17.0
Using ANSI source file _build_2017.dat.
Start Session
scc get connect properties "..\pbl125\log4pb.pbw"
scc set connect property logfile "build.log"
scc connect
Orca error in 'scc connect '. Result Code -26.
SCC Open Project failed for project
Scc OpenProject failed.
Last Command Failed.
scc close
You must successfully issue scc connect before you can call this method.
End Session
The "build.log" file looks like this:
2018-02-12 10:54 Source Management Initialization...
Nonspecific Error performing SccOpenProject.
Source control is in offline mode.
When I run it "manually" from a cmd window it works fine. I can even run it as the same user that runs the TFS service.
I have upgraded my (very small = 1 pbl) application to PB 2017.
Someone who has a clue? What does Code -26 mean exactly?
Have you tried with the latest version/build of PowerBuilder? The build 1666 is not the latest one. You can download PowerBuilder 2017 R2 from your User Center at https://www.Appeon.com or you can download the latest build for PowerBuilder 2017 (build 1681).
Please let us know if this worked for you.
Regards,
I still get the same error when triggering my build from Tfs 2017.
I have also tried to set up a task with the Task Scheduler in Windows and running the same orca command from there and still getting the same error.
Running from a cmd window still works fine.
Hi Chris,
1) I have upgraded to build 1681 of PB 2017
2) I work with TFS 2017 (MSSCCI provider and Team Explorer 2013 installed on the build server)
3) I am running ORCAScript on a build server where I only installed the Autocompiler.
It works fine when I am logged in to the server and run orcascr170.exe manually. But when I run through the tfs build job I get the error I described earlier.
So my question is: Is it not possible to run orascr70 on a tfs server? I also wonder if it is possible to get a more describing error message than "Code -26". It doesn't say why the project can't be opened.