Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. CreateInstance("Msxml2.XMLHTTP.4.0") fails

CreateInstance("Msxml2.XMLHTTP.4.0") fails

Scheduled Pinned Locked Moved C / C++ / MFC
sysadmin
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Ash_VCPP
    wrote on last edited by
    #1

    Hi All, while doing CreateInstance("Msxml2.XMLHTTP.4.0"); it thows exception. In my local system it is working fine but when i deployed it on server it thows me exception, any suggestion would be helpful for me.....

    Thanks A Ton Ash_VCPP walking over water is just knowing where the stones are.....

    D L 2 Replies Last reply
    0
    • A Ash_VCPP

      Hi All, while doing CreateInstance("Msxml2.XMLHTTP.4.0"); it thows exception. In my local system it is working fine but when i deployed it on server it thows me exception, any suggestion would be helpful for me.....

      Thanks A Ton Ash_VCPP walking over water is just knowing where the stones are.....

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      Ash_VCPP wrote:

      ...but when i deployed it on server it thows me exception, any suggestion would be helpful for me.....

      Does it exist?

      "Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

      "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

      A 1 Reply Last reply
      0
      • D David Crow

        Ash_VCPP wrote:

        ...but when i deployed it on server it thows me exception, any suggestion would be helpful for me.....

        Does it exist?

        "Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

        "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

        A Offline
        A Offline
        Ash_VCPP
        wrote on last edited by
        #3

        Hi David, Thanks for the reply... but i didnt get you... about what you are asking? is it msxml dlls in system 32 or what...please make the point clear.

        Thanks A Ton Ash_VCPP walking over water is just knowing where the stones are.....

        D 1 Reply Last reply
        0
        • A Ash_VCPP

          Hi All, while doing CreateInstance("Msxml2.XMLHTTP.4.0"); it thows exception. In my local system it is working fine but when i deployed it on server it thows me exception, any suggestion would be helpful for me.....

          Thanks A Ton Ash_VCPP walking over water is just knowing where the stones are.....

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          CreateInstance returns an HRESULT. What is the value? Best Wishes, -David Delaune

          1 Reply Last reply
          0
          • A Ash_VCPP

            Hi David, Thanks for the reply... but i didnt get you... about what you are asking? is it msxml dlls in system 32 or what...please make the point clear.

            Thanks A Ton Ash_VCPP walking over water is just knowing where the stones are.....

            D Offline
            D Offline
            David Crow
            wrote on last edited by
            #5

            If the ProgID does not exist on the machine (i.e., MSXML has not been installed), CreateInstance() is obviously going to fail, hence why I asked if it existed.

            "Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

            "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups