KNOWN ISSUE: Method failed. Exception: Permission Denied: Deployment Server Role-Based Security is enabled.

Article:TECH40973  |  Created: 2008-12-05  |  Updated: 2009-01-02  |  Article URL http://www.symantec.com/docs/TECH40973
NOTE: If you are experiencing this particular known issue, we recommend that you Subscribe to receive email notification each time this article is updated. Subscribers will be the first to learn about any releases, status changes, workarounds or decisions made.
Article Type
Technical Solution

Issue



Method failed. Exception: Permission Denied: Deployment Server Role-Based Security is enabled.  Authentication is required. --> Permission Denied: Deployment Server Role-Based Security is enabled.  Authentication is required.

Here is a sample of a VBScript that will trigger this bug:

server = "server"
domain =  "domain"
username = "username"
password = "password"
tempJobID = 2000153

set JobManagement = CreateObject("Altiris.ASDK.DS.JobManagement")
JobManagement.TargetServer = server
JobManagement.UserName = username
JobManagement.Password = password
JobManagement.DomainName = domain
JobManagement.Authenticate()

Wscript.StdOut.WriteLine("Attempting DSAuthentication with """ & server & """ as """ & domain & "\" & username & """")
call JobManagement.DSAuthenticate(username, password, domain)

tempJobXML = JobManagement.GetJob(tempJobID)
WScript.Echo tempJobXML
WScript.Echo Err.Description


Environment



DS 6.9 SP1 (build 355 and build 364)
ASDK 1.4.207

Cause



The AxDsDm.dll is not registered in the GAC.


Solution



This issue has been resolved in DS 6.9 SP1 MP1 (build 6.9.365)


Supplemental Materials

SourceDEFECT
ValueLB 75160
DescriptionLogged in Littlebuggy (Altiris - Lindon, Plymouth) database

Legacy ID



44649


Article URL http://www.symantec.com/docs/TECH40973


Terms of use for this information are found in Legal Notices