title: I'm getting an XML error messages for JSON?
body: <p><strong>UPDATE 2:</strong></p>
  
  <p>I did not mention that I do not get the error below in Chromium, but I do get it in IE8.</p>
  
  <p><strong>UPDATE 1:</strong></p>
  
  <pre><code>Response Headers:
  HTTP/1.1 200 OK
  Date: Fri, 20 May 2011 15:40:23 GMT
  Server: Microsoft-IIS/6.0
  X-Powered-By: ASP.NET
  X-AspNet-Version: 2.0.50727
  Cache-Control: private
  Content-Type: application/json; charset=utf-8
  Content-Length: 85
  </code></pre>
  
  <p><strong>ORIGINAL QUESTION:</strong></p>
  
  <p>I have a serverside page which generates json data, which works perfectly well when accessed by jquery.  However, when i navigate to the webpage which actually generates the json data, I get the following clientside error message in the browser:</p>
  
  <pre><code>The XML page cannot be displayed 
  Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later. 
  
  
  --------------------------------------------------------------------------------
  
  Invalid at the top level of the document. Error processing resource 'http://companyname.com/json/data.aspx?id=7
  
  [{"key":7,"value":"Default"}]
  </code></pre>
  
  <p>Why does that happen and how can I stop the error message from appearing?</p>