Execute powershell can't start Bartender engine when deployed 追蹤
when running the following script below as a User besides System I get the error found after the script. The User used can login to the integration server and open bartender designer, there are no other bartender processes on the system.
So looks like 1. can run as system so not it 2. ditto 3.no bartend.exe processes found in task manager. 4. Account can open bartend.exe
I would greatly appreciate any insight into why this is happening
Add-Type -LiteralPath "C:\Program Files\Seagull\BarTender Suite\SDK\Assemblies\Seagull.BarTender.Print.dll"
$btApp = New-Object Seagull.BarTender.Print.Engine -ArgumentList [$true]
Exception calling ".ctor" with "1" argument(s): "The BarTender engine could not be started. Possible reasons are:
1) BarTender is not properly installed.
2) BarTender is not properly registered on the computer (e.g bartend.exe /register).
3) There are too many process instances of BarTender running. Stop a few bartend.exe instances and try again. Also see SDK Engine.Start method documentation for information about how to allow more BarTender processes to run on your computer by increasing your "non-interactive" shared desktop heap.
4) The user account does not have permission to run BarTender."
Allen Arthur Cook