We are using the MSXML2.XMLHTTP component to send xml via post to a parent website and retreive results back. This gets called hundreds to thousands times a day.
The code works great for a while, but about once a week, sometimes two weeks the MSXML2.XMLHTTP object seems to shut down and fails on the .send call
The exact error is - An exception occurred: 'objXMLhttp.send'
Here is the code -
Public Function GetResponse
gXML = "<?xml version=""1.0"" encoding=""UTF-8""?>"&gXML
Set objXMLhttp = server.Createobject("MSXML
objXMLhttp.Open "POST", "http://url
r "Content-Type", "application/x-www-form-ur
GetResponse = objXMLhttp.responsetext
It is very hard to troubleshoot and it only seems to happen on our live server, and when it does we dont have time to test and troubleshoot so we usually just restart the server, which always fixes the problem.
I have done alot of searches on google and this seems to be a common problem, have found alot of similar cases but no answer as to why the object will be fine for a while then suddenly stop working across the board and throw the above error.
Thanks in advance :)