Hello Vince,
Thanks for posting in the group.
Based on my understanding, now the issue is: You developed web service in
IIS server side. When you debug it under VS 6.0, the response contains <!--
METADATA TYPE="ASP_DEBUG_INFO"> in the prefix of all responses, which makes
your client XMLHttp failed in parsing. Please feel free to post here if I
have misunderstood the problem.
Generally speaking, When we view or debug an Active Server Pages (ASP)
page, we may notice that the following tag is inserted into the resultant
HTML at the top of your page: <!-- METADATA TYPE="ASP_DEBUG_INFO" -->
When this tag is inserted into the resultant HTML, it may cause problems in
the following scenarios:
1) When you generate XML in your ASP page and send the XML to the client
rather than HTML. (that is your scenario)
2) When you use the Response.BinaryWrite method to stream binary data to
the client (for example, a Microsoft Excel document).
In fact, ASP sends down this tag when the following two conditions are met:
1) The Enable ASP client-side script debugging flag is enabled for the Web
application.
2) An ASPCLIENTDEBUG cookie is present on the client that makes the request.
Typically, when you use automatic debugging with Visual InterDev 6.0, both
of these conditions are met. The Visual InterDev debugger requires this tag
at run time to automatically map breakpoints in the client script.
To resolve this problem, we can use one of the following methods.
Method 1
Disable the Enable ASP client-side script debugging flag as follows:
In the Internet Services Manager, right-click the Web application with
which you are currently working, and then click Properties.
Click Configuration.
On the App Debugging tab, clear the Enable ASP client-side script debugging
check box.
Method 2
Delete the ASPCLIENTDEBUG cookie from your client computer as follows:
On your computer, search for a file named username@applicationname*. For
example, if the user name is "johndoe" and the application is named
"myapplication," search for the johndoe@myapplication* file.
After you locate the file, delete it.
For more details, please refer to
http://support.microsoft.com/?id=297995.
"PRB: "ASP_DEBUG_INFO" Tag Is Inserted into HTML When You Debug with Visual
InterDev 6.0".
Does that answer your question?
Best regards,
Yanhong Huang
Microsoft Community Support
Get Secure! ¨C
www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.