Control Room & Scheduler

Expand all | Collapse all

Automation: Access Denied

  • 1.  Automation: Access Denied

    Posted 07-18-2019 17:14
    Hi,

    I'm trying to run an automation and we have 2 identical VDIs to run them on (ideally identical but 1 is not working... trying to figure out why).  When running the automation on "Machine 1" it works no problems and goes through all the stages to completion.  When running on "Machine 2" when launching the application it terminates with the error (ERROR: Internal: Could not execute code stage because exception thrown by code stage: Access is Denied).  Oddly enough, using RDP, if I log in as the user running the automation and watch it the process also completes no problem.  So it seems to be only an issue when running using login agent (which completes successfully) and then kicking off the process.

    Things I've checked:
    -In system/credentials tab the credentials are setup and the Access rights are setup to run on that resource
    -Login agent works fine
    -Exact same process followed on "Machine 1" and it works
    -Done some comparison of the 2 machines and they appear to have same software/version/etc. on them.

    ------------------------------
    Levi Henderson
    Sr. Systems Analyst
    Xcel Energy
    America/Denver
    ------------------------------


  • 2.  RE: Automation: Access Denied

    Posted 07-18-2019 17:16
    Edited by David Morris 07-18-2019 17:16
    Do you know what code stage it is hitting that error on?

    Edit: I just realized you said it's when launching the app. Hmm...

    ------------------------------
    Dave Morris
    3Ci @ Southern Company
    Atlanta, GA
    ------------------------------



  • 3.  RE: Automation: Access Denied

    Posted 07-18-2019 17:20
    Edited by David Morris 07-18-2019 17:19
    Have you looked at this Support article? http://portal.blueprism.com/customer-support/support-center#/path/1169167262

    ------------------------------
    Dave Morris
    3Ci @ Southern Company
    Atlanta, GA
    ------------------------------



  • 4.  RE: Automation: Access Denied

    Posted 07-18-2019 17:29
    Hey David,

    Yeah, I had not looked at that yet; however, went through the suggestions and am not sure that they relate directly to what I'm experiencing... 
    -The windows account does NOT have full admin rights, but it also has the exact same rights on the working VDI
    -I am running Blue Prism as a local admin so that likely isn't issue (launched process same way on both machines)
    -I can get it to run if I am logged into RDP as the "user" running the automation and watch the bot do the work.
    -The one thing that I need to do some digging on is the GPO as 1 machine is sitting in a different data center.  It could be there is a difference.

    ------------------------------
    Levi Henderson
    Sr. Systems Analyst
    Xcel Energy
    America/Denver
    ------------------------------



  • 5.  RE: Automation: Access Denied

    Posted 07-18-2019 18:46
    When you RDP'd into the machine and watched it run, was the Runtime Resource running as a public or a private resource? Like, did you open Blue Prism and run it from Control Room on that machine or did you simply RDP in and kick it off the same as before using Scheduler or however you started it before?

    ------------------------------
    Dave Morris
    3Ci @ Southern Company
    Atlanta, GA
    ------------------------------



  • 6.  RE: Automation: Access Denied

    Posted 07-18-2019 19:14
    I logged into Blue Prism using an interactive client (as admin), and then did RDP into the runtime resource as the user that would normally run the automation.  From the interactive client machine, I ran the job from the control room as I normally would if i were not logged into the runtime resource.

    ------------------------------
    Levi Henderson
    Sr. Systems Analyst
    Xcel Energy
    America/Denver
    ------------------------------



  • 7.  RE: Automation: Access Denied

    Posted 07-19-2019 06:28

    Check this thread out, hopefully it helps

    https://community.blueprism.com/communities/community-home/digestviewer/viewthread?MessageKey=6032691f-1f81-4db7-b68d-f486ba1b064c&CommunityKey=3b501789-976c-4cfa-b9db-88307c6a0a86&tab=digestviewer#bm6032691f-1f81-4db7-b68d-f486ba1b064c



    ------------------------------
    Gopal Bhaire
    Analyst
    Accenture
    ------------------------------