Article ID: 308565 - Last Review: November 18, 2005 - Revision: 1.2

INFO: List of Issues Fixed in Microsoft XML 3.0 Service Pack 2 (Part 3 of 4)

This article was previously published under Q308565
Expand all | Collapse all

SUMMARY

This article is part 3 of 4 in the series of articles documenting the bugs fixed in MSXML 3.0 Service Pack 2 (MSXML 3.0 SP2).


For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:
308480  (http://support.microsoft.com/kb/308480/EN-US/ ) INFO: How to Obtain the Latest Microsoft XML 3.0 Service Pack

MORE INFORMATION

BUG: ServerXMLHTTP does not resend cookies when the cookies have Expires or Domain properties set

ServerXMLHTTP does not resend cookies when the cookies have Expires or Domain properties set because the date tokens are not being parsed properly in the WinHTTP layer.

BUG: ServerXMLHTTP send method sporadically fails with error 0x80072efd while requests are sent to same server

When you use ServerXMLHTTP to send multiple requests (one at a time) to the same host, the method may start failing randomly and you may receive the following error message:
0x80072efd A connection with the server could not be established
The problem is related to resolving the Domain Name System (DNS) server host names.

BUG: "Access is denied" error message when HTTPS requests are made with ServerXMLHTTP

For more information on this bug, see the following Knowledge Base article:
302080  (http://support.microsoft.com/kb/302080/EN-US/ ) BUG: 'Access is denied' Error Message When Making HTTPS Requests with ServerXMLHTTP

BUG: URLs cannot be converted into different code page by using the setOption method of ServerXMLHTTP

The setOption method does not convert the code page of the URL strings. For example, the following Active Server Pages (ASP) code sample attempts to convert the code page to GB2312 (936), but the page is sent as UTF-8:
<%@ Language=VBScript %>
<%
const SXH_OPTION_URL_CODEPAGE=0
Set sxh = CreateObject("MSXML2.ServerXMLHTTP.3.0")
sxh.setOption SXH_OPTION_URL_CODEPAGE, 936  

URL="URL string here with some Unicode characters"
sxh.Open "GET", URL, False
sxh.send
Response.CharSet="GB2312"
Response.Write sxh.responseText
%>
				

BUG: ServerXMLHTTP setOption(1, true) does not work when the URL has special characters

Setting the SXH_OPTION_ESCAPE_PERCENT_IN_URL option to True by using the setOption method should allow the percent (%) character to be escaped. However, when this option is set and the URL string contains a percent (%) symbol, you may receive the following error message:
msxml3.dll: The parameter is incorrect
Steps to Reproduce Behavior:
  1. Save and install the following page as Server.asp under the default Web application:
    <%
    	Response.Write Request.QueryString
    %>
    					
  2. Save the following script as Client.js and test it:
    var sxh = new ActiveXObject("MSXML2.ServerXMLHTTP.3.0");
    sxh.setOption(1, true);
    sxh.open("GET", "http://localhost/server.asp?hello%world", false);
    sxh.send();
    WScript.Echo(sxh.responseText);
    					

REFERENCES

308563  (http://support.microsoft.com/kb/308563/EN-US/ ) INFO: List of Issues Fixed in Microsoft XML 3.0 Service Pack 2 (Part 1 of 4)
308564  (http://support.microsoft.com/kb/308564/EN-US/ ) INFO: List of Issues Fixed in Microsoft XML 3.0 Service Pack 2 (Part 2 of 4)
308566  (http://support.microsoft.com/kb/308566/EN-US/ ) INFO: List of Issues Fixed in Microsoft XML 3.0 Service Pack 2 (Part 4 of 4)

APPLIES TO
  • Microsoft XML Parser 3.0
  • Microsoft XML Parser 3.0 Service Pack 1
  • Microsoft XML Parser 3.0 Service Pack 2
Keywords: 
kbbug kbinfo KB308565
 

Article Translations