>Hello All
>
>I'm stumped - please can you help?
>
>I have code I'm using to post some XML data to a client's site as part of an overnight scheduled task running on a server.
>
>The exe runs fine from my desktop (Win7, 64 bit), but from the server (Server 2008 R2 64 bit) it produces the error:
>
>"OLE error code 0x8007045a: A dynamic link library (DLL) initialization routine failed"
>
>The offending line of code is:
>
>oXMLHTTP = CREATEOBJECT("MSXML2.ServerXMLHTTP")
>
>I believe this is using the appropriate (latest) DLL (MSXML3.DLL) on both the server and desktop (date modified 6/3/2016 - ver 8.110.7601.23373).
>
>I've compared Dependency Walker and Process Monitor on both the server and desktop and can see nothing that explains the difference in behavior.
>
>Does anyone have a clue please?
>
>Thanks
>
>Graham
I would advise your client to reinstall MSXML.
----------------------------------
António Tavares Lopes