Microsoft KB Archive/308565

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

Article ID: 308565

Article Last Modified on 11/18/2005

-

APPLIES TO


 * Microsoft XML Core Services 4.0
 * Microsoft XML Parser 3.0 Service Pack 1
 * Microsoft XML Parser 3.0 Service Pack 2

-



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



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: &quot;Access is denied&quot; 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(&quot;MSXML2.ServerXMLHTTP.3.0&quot;) sxh.setOption SXH_OPTION_URL_CODEPAGE, 936

URL=&quot;URL string here with some Unicode characters&quot; sxh.Open &quot;GET&quot;, URL, False sxh.send Response.CharSet=&quot;GB2312&quot; 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:   Save and install the following page as Server.asp under the default Web application: <%   Response.Write Request.QueryString %>                     Save the following script as Client.js and test it: var sxh = new ActiveXObject(&quot;MSXML2.ServerXMLHTTP.3.0&quot;); sxh.setOption(1, true); sxh.open(&quot;GET&quot;, &quot;http://localhost/server.asp?hello%world&quot;, false); sxh.send; WScript.Echo(sxh.responseText); 

