Consuming web service in classic ASP. (Server 2003)

On Server 2003 machine following code is not working. I have installed SOAP Toolkit 3.0.
Code fails at Set oSOAP = Server.CreateObject("MSSOAP.SoapClient30")
Error: Microsoft VBScript runtime (0x800A01AD) ActiveX component can't create object.
         Dim oSOAP      
         Dim objDOMDoc
         Dim objResponse
         Set oSOAP = Server.CreateObject("MSSOAP.SoapClient30")
         oSOAP.ClientProperty("ServerHTTPRequest") = True
         Set objDOMDoc = Server.CreateObject("Msxml2.DOMDocument.4.0")
         objResponse = objDOMDoc.loadXML(CStr(oSOAP.AuthenticateCiscoUser(1,"USERNAME","PASSWORD")))

Open in new window

Who is Participating?
Your problem probably lies in folder/file permissions:  In Windows Explorer, browse to the following folder:  C:\Program Files\Common Files\MSSoap\Binaries

Right-click, choose Sharing & Security.  Click the Security tab.  Click the add button.  Add the following users:  IUSR (click check names), then add IIS (click check names), then add network services.  On all three, give read/write permissions.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.