SamehMohamedEl-Sayed / elmah

Automatically exported from code.google.com/p/elmah
Apache License 2.0
0 stars 0 forks source link

"Internet Explorer cannot display this feed" error for both RSS FEED and RSS DIGEST #220

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Click on RSS FEED or RSS DIGEST in Internet Explorer 8 or 9.

What is the expected output? What do you see instead?
I expect to see the RSS feed or digest like I do in Firefox 4 or Chrome 12. 
Instead I see the following error in IE7:

Internet Explorer cannot display this feed 

    This feed contains code errors. 
     Go back to the previous page. 

     More information 

Switch from current encoding to specified encoding not supported.
 Line: 1 Character: 40

<?xml version="1.0" encoding="utf-16"?>

In IE9, I only see the following:

Internet Explorer cannot display this feed 

    This feed contains code errors. 

What version of the product are you using? On what operating system?
I am using ELMAH version 1.2.13202.2249. The client OS is Windows 7 Ultimate 64 
bit.

Please provide any additional information below.
The issue does not occur in the last stable release of elmah, version 
1.1.11517.2009.

Original issue reported on code.google.com by timothy....@gmail.com on 8 Apr 2011 at 3:07

Attachments:

GoogleCodeExporter commented 9 years ago
I once referenced IE7: "Instead I see the following error in IE7". This should 
be IE8, not IE7.

Original comment by timothy....@gmail.com on 8 Apr 2011 at 3:08

GoogleCodeExporter commented 9 years ago
I retested with ELMAH 1.2.13605.0 and the problem still exists. I'm using the 
.NET Framework 1.1 build of ELMAH.

Original comment by timothy....@gmail.com on 12 May 2011 at 5:32

GoogleCodeExporter commented 9 years ago
> I'm using the .NET Framework 1.1 build of ELMAH

Hadn't been able reproduce until now. The key bit of info missing was the 
target .NET Framework version. Now I can confirm the issue, even with the 1.2 
release.

Original comment by azizatif on 12 May 2011 at 5:57

GoogleCodeExporter commented 9 years ago
I apologize for not including that info earlier. I only noticed that I hadn't 
included it when I reviewed my initial post today.

Original comment by timothy....@gmail.com on 12 May 2011 at 6:10

GoogleCodeExporter commented 9 years ago
This seems to happen because the HTTP response content-type reads 
"application/xml; charset=utf-8", claiming a UTF-8 character set whereas the 
RSS/XML document in the response entity starts with:
<?xml version="1.0" encoding="utf-16"?>
IE rejects the document. I suppose other browsers are being more forgiving or 
take the documents encoding hint as an override.

Original comment by azizatif on 12 May 2011 at 6:29

GoogleCodeExporter commented 9 years ago

Original comment by azizatif on 31 May 2011 at 6:59

GoogleCodeExporter commented 9 years ago

Original comment by azizatif on 31 May 2011 at 8:24

GoogleCodeExporter commented 9 years ago
Fixed in r895.

Original comment by azizatif on 31 May 2011 at 8:24