Quantcast
Channel: Symantec Connect
Viewing all articles
Browse latest Browse all 22671

NS ASDK VBscript in DS Job not executing

$
0
0
I need a solution

Hi all,

environment: DS 6.9 SP5 MR2 and NS 7.1 SP2 installed on the same Win2008R2 server.

I am trying to use a vbscript in deployment server 6.9 which leverages the NS ASDK to add a newly deployed computer to an NS filter.

The code used is well known on connect and it is working if I execute it manually on the server.

If I use this script (embedded or referencing a vbs file) in a DS job (using 'run local on deployment server') it will stay in the running state forever. When adding some logging to the script the first lines are executed with no issue and the script hangs on the first line which uses the ASDK. More specifically on initializing Collection management ==> Set oCollectionManagement = CreateObject("Altiris.ASDK.NS.CollectionManagement"). The Altiris service is running with a 'priviliged' domain user account.

Has anyone seen this behaviour? I have read some post which states it might have to do with some COM assemblies not correctly registered.

I am seeing this in two different environments having the same setup (latest DS and NS versions on same 2008R2 machine)

 

Tnx for the response

kr, dawi_x


Viewing all articles
Browse latest Browse all 22671

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>