Display problem when loading from XML

I have an ASP page that creates the XML and does a Response.Write and outputs the XML to load the scheduler. In some cases it works fine and in other cases I get a popup that says “The page at xyz says:” and then all of the XML.

Any idea how to fix this?

Hello,

Such alert is displayed when there is something wrong with the xml file. Please check that

  1. xml is returned as xml content type
  2. Open link which returns xml simply in the browser, does browser report some errors?

Kind regards,
Ilya

The XML reports no errors in firebug.

here is the link to the page that produces the XML:

r2d2d.com/calendar_sql.asp?selectedID=1001

The odd thing is that it works fine in IE, never in Chrome, and hit or miss depending on the computer in firefox.

Response contains next headers

Cache-Control:private
Content-Length:2039
Content-Type:text/html

To work correctly, content type need to be changed to text/xml

That did it!

Thanks…