KNOWN ISSUE: Error: "Value cannot be null..." when DS security is disabled and code does not include DSCredentialsHeaderValue.

Article:TECH40974  |  Created: 2008-12-05  |  Updated: 2009-04-02  |  Article URL
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


Error: "Value cannot be null..." when DS security is disabled and code does not include DSCredentialsHeaderValue.

Here is the full error:
System.Web.Services.Protocols.SoapException was unhandled
  Message="System.Web.Services.Protocols.SoapException: Value cannot be null.\nParameter name: name ---> Altiris.ASDK.ASDKException: Value cannot be null.\nParameter name: name\n   at Altiris.ASDK.DS.JobManagement.GetJob(Int32 jobID)\n   at Altiris.ASDK.DS.Web.JobManagementService.GetJob(Int32 jobID)\n   --- End of inner exception stack trace ---\n   at Altiris.ASDK.DS.Web.JobManagementService.GetJob(Int32 jobID)"
       at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at JobManagement.DSJobManagement.JobManagementService.GetJob(Int32 jobID) in C:\work\JobManagement\Web References\DSJobManagement\Reference.cs:line 499
       at JobManagement.Program.Main(String[] args) in C:\work\JobManagement\Program.cs:line 29
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()


DS 6.9 SP1 (build 355)
ASDK 1.4.207
DS security disabled


The DS code is looking for values in the DSCredentialsHeader.  If this has not been set to either valid or invalid values, the GetJobIDs method fails.  With DS security disabled, the DSCredentialsHeader values should not matter and the method should finish successfully.


This issue has been resolved in DS 6.9 SP2

Supplemental Materials

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

Legacy ID


Article URL

Terms of use for this information are found in Legal Notices