Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Classic ASP XML Using ASP 3 and XML. See also the XML category for more XML discussions not relating to ASP. NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP XML section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old October 24th, 2003, 04:45 AM
Registered User
 
Join Date: Oct 2003
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default msxml3.dll error '80072f78'

Hi

I´m having truble with msxml3.
I have an asp page that post to a cgi-script on a apache
server.

The cgi-script is on a selfsigned SSL page.

It works fine most of the time but if i dont use the page
fore some tim then try to use it i get

msxml3.dll error '80072f78'
The server returned an invalid or unrecognized response

if i reload it works again.

My asp server is a win 2003 server so i should have all
the latest sp for msxml.

i dont get the error everytime so it´s hard to reproduce.

Any one got any idea?
/bjorn

My code looks like this.

Dim myhttp
Set myhttp = Server.CreateObject("MSXML2.ServerXMLHTTP")
myhttp.setOption(2) = (myhttp.getOption(2) -
SXH_SERVER_CERT_IGNORE_ALL_SERVER_ERRORS )
    strxmlurl="http://myserver.xx.xx/cgi-
bin/setPasswd?username=xx"
    myhttp.open "GET", strxmlurl, False
    myhttp.send

set strxml=myhttp.responseXml ' get the XMLDOM object
Set root = strxml.documentElement

RESULT = strxml.getElementsByTagName("RESULT").item
(0).text
Reply With Quote
  #2 (permalink)  
Old December 10th, 2003, 06:36 PM
Registered User
 
Join Date: Dec 2003
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Im getting the same thing, ever find a solution?

Reply With Quote
  #3 (permalink)  
Old September 21st, 2004, 09:35 PM
Registered User
 
Join Date: Sep 2004
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Any update with this? I am having similar problems with Win 2003 connecting to an Apache PHP script. My code is similar and I've tried connecting to Apache SSL servers using multiple CAs.

The problem happens randomly but enough to cause problems. Thanks for any help you can provide.

Reply With Quote
  #4 (permalink)  
Old September 24th, 2004, 03:46 PM
Registered User
 
Join Date: Sep 2004
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I believe we found a fix for this. We were having random problems connecting to a script on an Apache web server via SSL. Apache has created a fix to deal with some Microsoft SSL connection problem in Internet Explorer (see http://httpd.apache.org/docs-2.1/ssl/ssl_faq.html#msie). It is handled by adding the following to your apache configuration file:

SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0

The XML component used in ASP must use the same SSL connection/handshaking code and has a similar problem, however, the UserAgent (which is used to fix this bug in apache) does not contain the phrase "MSIE". Therefore, we were able to prevent this problem by adding the following to our apache conf (in addition to the statement above):

SetEnvIf User-Agent ".*WinHttp.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0

The UserAgent passed by the XML code is "Mozilla/4.0 (compatible; Win32; WinHttp.WinHttpRequest.5)". Therefore we picked WinHttp to be used for the detection of the XML connection.

We have being running for a few hours without a problem (we usually have problems within minutes). I'm not completely convinced this did the trick but I'm crossing my fingers. I know this doesn't solve the problem for people who are connecting to Apache webservers outside of their control but hopefully this helps some.



Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
"msxml3.dll error '80072ee7' kamn98 XML 5 June 21st, 2013 09:13 PM
msxml3.dll error '800c0008' a.verta Classic ASP XML 3 June 5th, 2008 11:27 AM
msxml3.dll error '800c0014' prakharbirla XML 0 March 24th, 2007 10:35 PM
msxml3.dll error '800c0014' Harry P XML 1 January 31st, 2007 11:18 AM
xml DOM saving error (msxml3.dll) BrendonMelville XML 0 March 2nd, 2006 09:33 AM



All times are GMT -4. The time now is 03:22 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.