I have a piece of ASP that takes some XML generated by a DLL. The XML contains a line to apply an XSL stylesheet to render it. The code hasn't changed at all in months, and suddenly yesterday it stopped working.
IE comes up with the following error:
The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
Catastrophic failure Error processing resource 'http://server/eseries/test-conxml.asp?sid=377282'
To add insult to injury, when I refresh, sometimes it works, sometimes it doesn't (works about 35% of the time?!!)
Yesterday I came up with a temporary fix that writes an XML file as I noticed the XML file worked when I saved it manually and viewed it, however I'm having other issues relating to writing the file to the local hard drive.
The original code is attached, and would be grateful if anyone can help with this!!!!
Response.Buffer = False
MySID = Request.Querystring("SID")
If (IsNumeric(MySID) And Len(MySID) > 0) Then
Set ESeries = Server.CreateObject("ESeries.Consumer")
Response.ContentType = "application/xml"
Response.Write CStr(ESeries.GetSearchXML(CDbl("0" & MySID), "test-consumer.xsl")) & ""
Set ESeries = Nothing