Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MSXML: Runs OK on some PC's / not others.
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00953102
Message ID:
00953614
Views:
9
Thanks for the info Rick. What we're actually doing is using a pretty well known HTTP Hotmail email-sending facility (I think we found the source on FoxWiki and adapted it a bit) so that we could send HTML formatted email via an (almost) always available SMTP server from within our VFP app, doing so without dependency on a given client's institutional mail server configuration. The app builds an XML message per Hotmail's expectations and sends it off to hotmail, which then plays the role of outbound post office using a client's "private" account we've established on hotmail for them. Works great, except on some PC's that I mentioned. Everything is done with XMLHTTP. We instantiate:
oMSXML = server.creatobject("MSXML2.ServerXMLHTTP.3.0")
and use this object to do the work. It could well be that the machines causing problems are on a subnet using an uncooperative proxy server or are more firewall-restricted than other parts of the client's network. Any additional suggestions you can provide would be much appreciated.

>Hi Mark,
>
>>I cannot understand why MSXML will not work correctly on some PC's but does work on others. Basically we're constructing an XML message and sending it off to a server. I get this error message: "The requested header was not found". Using version MSXML3. The problem seems to be linked to the Internet config of the PC (maybe a proxy-server problem?) or how MSXML is installed/configured, as it only happens on some PCs in the facility. Help please!
>
>MSXML's built in Load functionality has very little configurability which makes it very difficult to fix problems should they occur in the connection. A better approach might be to use some other component to handle the HTTP functionality. You can use XMLHTTP (part of MSXML) as it has a few more options or WinHTTP (works only on Win2k) or a third party solution like wwHTTP to retrieve your content and then feed it to the XML parser with LoadXml.
>
>Fromt he message it seems the call's getting hung up at a proxy server or firewall.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform