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



The information in this article applies to:

  • Microsoft XML 3.0
  • Microsoft XML 3.0 SP1
  • Microsoft XML 3.0 SP2

This article was previously published under Q308565

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 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 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 INFO: List of Issues Fixed in Microsoft XML 3.0 Service Pack 2 (Part 1 of 4)

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

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


Modification Type:MinorLast Reviewed:11/18/2005
Keywords:kbBug kbinfo KB308565