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

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

$
0
0

Hi Trudy,

 

Thank you very much for pointing me to these websites.

 

After following the below steps I am successfully able to run the script from command prompt:

 

To start a 32-bit command prompt, follow these steps:

* Click Start, click Run, type %windir%\SysWoW64\cmd.exe, and then click OK.

Then type  %windir%\SysWoW64\cmd.exe

cscript vbscriptfile.vbs

 

VBScript Ran Fine.png

 

From Here I understood that SAClient dll is registered correctly.

 

However the when I am running the same script included in c# .Net web application from IIS I am recieving the below error message.

 

Unable to cast COM object of type 'System.__ComObject' to interface type 'SACLIENTLib.SAapi'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{8D8FA2DE-1AAC-48D1-A1D4-FF6D66C62E4A}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
ERROR2014-01-08 03:59:51 – System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'SACLIENTLib.SAapi'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{8D8FA2DE-1AAC-48D1-A1D4-FF6D66C62E4A}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
at AccessRequester._Default.AssignQCAccess() in C:\Projects\QCAccessSite\Default.aspx.cs:line 751
at AccessRequester._Default.verifyUserTrainings() in C:\Projects\QCAccessSite\Default.aspx.cs:line 664
at AccessRequester._Default.Submit_Click(Object sender, EventArgs e) in C:\Projects\QCAccessSite\Default.aspx.cs:line 206

 

Same C#. Net code when ran from IIS from same machine worked fine for Quality Center.

 

Why is the same code giving error message when we replaced Quality Center with ALM application?

 

Please advise.

 

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>