Quantcast
Channel: All Quality Center / ALM Practitioners Forum posts
Viewing all articles
Browse latest Browse all 14708

VB Script CreateObject Not Working on Windows 2008 R2 Server 64 bit

$
0
0

Hi All,

 

Below VBScript code is successfully running from Windows Vista/7 Machine After registering ALM Client/ALM Site Admin.


Strange thing script is failing when ran from windows 2008 R2 server 64 bit, I am not understanding why it is failing.

 

Dim objSAClient, resp
set objSAClient = CreateObject("SAClient.SaApi.9")   //   recieving ActiveX Component cant create object 'SAClient.SaApi.9'objSAClient.Login "http://almdev/qcbin", "svanumu", "DUMMY_PASSWORD"
WScript.Echo "Connected to the QC Site Admin"
WScript.Echo "Trying to create a site admin user"
objSAClient.CreateUserEx "USER_ID", "USER_NAME", "USER_ID@XXX.COM", "000-5795368", "Naveen Details","dummy","uniqueIdentifier=11111,ou=people,dc=Enterprise,dc=ORGINIZATION_NAME,dc=com"
WScript.Echo "User added to Site Admin

 SiteAdmin Error.png

 

I have registered the SAClient.dll manually using regsvr32, even registered the client and site admin dll's from addins page but no luck.

 

I have searched for "SAClient.SaApi.9" in regedit registry keys and it is present in the path C:\ProgramData\HP\ALM-Client\almdev\SAClient.dll

 

Please help me analyse where exactly the problem is.

 

Regards,

Srihari


Viewing all articles
Browse latest Browse all 14708

Trending Articles



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