I have been chasing this one down for a week and have narrowed it down to a
machine issue.
I have the following code:
webBrowser.Navigate(http://finao.net/post_dkp.php?database=40);
Basically all this script does is create an xml output file.
After the navigate, the function stops and is triggered again when
webbrowser_DocumentCompleted fires and then the XML file is read by the
program
Here is the odd thing... DocumentCompleted ALWAYS fires (as if the navigate
fires).
On machine one, everything works fine, the post_dkp.php script is run, and a
new xml file is created. I know this because in the XML file i embedded a
timestamp so i know the data is fresh.
On machine two, the navigate fires because DocumentCompleted fires, but the
script hasn't executed because the XML file contains stale information.
My question: How do I debug this as webBrowser.Navigate does not return any
detailed status's.
The client seems to think the script is being executed but obviously it is
not.
Im thinking the 2nd machine might have a firewall issue preventing the
navigate but when DocumentCompleted fires a Dataset.ReadXML() ALWAYS works
(the xml file is read 100% of the time despite being stale or not). This
leads me think it might NOT be a firewall issue.
To confuse things even more... Sometimes it works on machine two, but 90% of
the time I get the stale info.
Please help. I am unfamiliar with all the little tools in the suite to debug
this kind of stuff but I would really appreciate some help or some guidance
to how to do this better.
Ryan