1

在我们的新网络应用程序的测试版中,我从我们的一位测试用户那里收到了下面这个混乱的页面。

用户在 Mac 上使用 FF。该站点建立在 asp.net (.NET 4.0) 之上,它使用 AJAX 并在使用动态压缩的 Windows 2008 服务器上运行。这些页面采用 XHTML 1.0 Strict 并且标记经过验证。

此用户是唯一报告此错误的用户(我们已经测试了一段时间,但可能是第一个在 Mac 上使用 FF 的用户)。他无法系统地再现它,但它时常发生。

我不知道这里发生了什么,有人见过吗?

在此处输入图像描述

让我知道是否应该提供有关我们的服务器设置或用户设置的更多信息。

4

1 回答 1

0

I believe I have found a fix for this:

I did some testing and to my surprise experienced the same error myself on Firefox and Safari for windows.

Somewhere here on SO I found a suggestion to disable GZIP compression. I had both dynamic and static compression installed on the Windows Web Server 2008 R2 (iis7). First I uninstalled static which did not solve the problem. But after uninstalling both I have not seen the error. The error pages were (as far as I can tell) all with AJAX calls returning json involved.

All error pages started with something like this:

HTTP/1.1 200 OK Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Encoding: gzip Vary: Accept-Encoding Server: Microsoft-IIS/7.5 X-AspNet-Version: 4.0.30319 X-Powered-By: ASP.NET Date: Tue, 29 Nov 2011 21:45:06 GMT Content-Length: 7534 ‹í½<code>I–%&/mÊ{JõJ×àt¡€</code>$Ø

于 2011-11-29T22:23:18.523 回答