Consuming web service in classic ASP. (Server 2003)

Posted on 2009-04-20
Last Modified: 2013-11-18
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

Question by:pankajgharge
    1 Comment
    LVL 4

    Accepted Solution

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Suggested Solutions

    Title # Comments Views Activity
    Update Stored Procedure question 8 34
    Snap images to the bottom of a div 5 57
    ASP Classic - Load test 2 30
    SP to delete duplicates 15 46
    Most of the sites are being standardized with W3C Web Standards. W3C provides lot of web standard services to the web. They have the web specification, process and documentation for all the web standards. You can apply HTML, CSS and Accessibility st…
    Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL ( several years ago, it seemed like now was a good time to updat…
    Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
    The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now