Status -150 after activate OSCOMMAND
Author: lammersma@hotmail.com (lammersma)
Hi all, One my old Uniface relations asked me to help with a strange problem they are having. A couple of years ago I built a small comp to convert the default Uniface postscript output to pdf, png and txt. I used Ghostscript for this. Just a simple activation of OSCommand was enough and it works for many years and produced about a 10.000 pdf's, png's and txt's per day.... After lots of (badly documented) changes to the system (virtualized) this comp returns an error. It turns out the OSCOMMAND only works when the user has administrator rights. The component (with the activation of OSCOMMAND) is processed in the batch: USERVER (with the minimum of the userver rights). I don't want to run the userver as an administrator. Even a simple "cmd /C dir c: > result.txt" return a -150.... We use Uniface 9202. Is there anyone who has a clue what is happening here? best regards, Peter




