跳至主內容

搜尋

搜尋

Cant Automate Bartender At Runtime

評論

5 條評論

  • Avatar
    Domingo Rodriguez
    版主

    I take it that if you open BarTender manually on this PC and initiate a print job, you get no error messages complaining that BT cannot find Seagull License Server on the network?

     

    For the Windows user which is running the application (or better said the Windows user which will try to start the BarTender engines), try to give this user full permissions over the following Windows registry keys:

     

    HKEY_CURRENT_USER\Software\Seagull Scientific

     

    and

     

    HKEY_LOCAL_MACHINE\SOFTWARE\Seagull Scientific --> for 32 bit OS

    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Seagull Scientific --> for 64 bit OS

    0
  • Avatar
    Legacy Poster

    Thanks but sadly that did''t change anything.   Added read/write permissions (and to sub-containers) for all those keys (no 64 bit).

     

    BTW I have tried unregistering, uninstalling, and re-installing/re-registering.

    0
  • Avatar
    Legacy Poster

    I have also tried the following as it seemed like a good idea:

     

    - deactivate bartender

    - uninstall bartender

    - delete all reg entries to bartender, seagull, and any file entries

    - reinstall bartender

    - re-activate bartender.

     

    No change, but I have noticed the following:

     

    On another dev machine that is set up the same (or should be) Bartender 10 SR4 bartend.exe does not prompt when run, but on my machine I get the UAC prompt  "Do you want to allow the program to make changes".  Our UAC are both set to the 2nd mark on the UAC console.  Both are Windows7 SP1, fully updated machines.

    0
  • Avatar
    Domingo Rodriguez
    版主

    I take it that if you open BarTender manually on this PC and initiate a print job, you get no error messages complaining that BT cannot find Seagull License Server on the network? You would obviously start BarTender while being logged with one of the Windows users you're having problems with when trying to print from the .NET SDK solution.

     

    Furthermore, as a test, you could try raising down UAC settings to a minimum and then give it another go...

    0
  • Avatar
    Legacy Poster

    I have confirmed that the problem is in fact a UAC one.  Even when I run bartender (the application) as my user (a local admin) I get prompted.  Reducing UAC to 0 results in no prompt.  I have confirmed that all bartender services are running as localsystem so frankly I am at a loss.

     

    For now though I am running built applications on my machine as Admin to test them, but its not ideal.  However, it works when built and rolled out so it doesn't matter that much. 

     

    When I have time I think a reinstall of Windows is needed!

    0

登入寫評論。