I am using the below script for section access. The issue is that the script works fine on desktop but fails in QMC Task even though I am appeding the service acccount 'VS\SR_QVTEST' to the security file.
The error I get is
" Error: Document open call failed. The document might require username and password"