xmlhttp40 problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kuser
    New Member
    • Jun 2010
    • 2

    xmlhttp40 problem

    Hello, the following code does not work in C#:
    First this namespace is imported:
    using MSXML2;
    Then inside a method these are the 1st 2 lines:
    HttpContext.Cur rent.Response.B uffer = true;
    XMLHTTP40 mxml = new XMLHTTP40();
    here is the error msg caused by the 2nd line:
    Retrieving the COM class factory for component with CLSID {88D969C5-F192-11D4-A65F-0040963251E5} failed due to the following error: 80040154

    There is a COM reference to msxml3.dll in the project.

    Thanks for any help.
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    You must register the msxml3.dll on the web server that is hosting your web application. (You should use the regsvr32 tool to do this unless this DLL is part of a package that includes an installation program).

    You also need to make sure that the ASPNET user account is allowed to access (has permissions to) this file.

    -Frinny

    Comment

    Working...