绝对奇怪的刷新延迟问题 [英] absolutely weird refresh delay problem

查看:38
本文介绍了绝对奇怪的刷新延迟问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我整个上午都在研究新闻组和知识库而不是

找到了解决问题的解决方案。我有一个ASP或

ASPX网页,它实现了一个计数器功能,并在该Windows 2003服务器上的MS Access数据库中读取/插入一些

数据。

奇怪的部分是,只要网页的大小非常短,我就可以点击刷新按钮,并且Internet Explorer会重新加载页面并显示

即时内容。但是,如果网页只是稍微大一点,那么在显示内容之前大约需要10秒。

此外,一旦更大的网页有了显示后,小页面也会有延迟问题。在我杀死w3wp.exe进程后,短页

会立即刷新,直到较大的页面至少打开
一次。这对我来说没有任何意义,并且已经研究了一些

知识库文章而没有找到任何东西,这将解决问题。

添加''DisableLazyContentPropagation' '到注册表没有解决

问题。


这是CounterPage.aspx网站的内容(仅用于测试目的):

-------------------------------------------- --------------------------------

<%@ Page Language =" vb" ; AutoEventWireup =" false"

Inherits =" Counter.CounterPage"%>

<!DOCTYPE HTML PUBLIC" - // W3C // DTD HTML 4.0 Transitional // EN">

< HTML>

< HEAD>

< title> Counter Test Page< / title>

< meta content =" Microsoft Visual Studio .NET 7.1" name =" GENERATOR">

< meta content =" Visual Basic .NET 7.1" name =" CODE_LANGUAGE">

< meta content =" JavaScript" name =" vs_defaultClientScript">

< meta content =" http://schemas.microsoft.com/intellisense/ie5"

name =" vs_targetSchema" ;>

< / HEAD>

< body bgcolor ="#000000"文本= QUOT;#FFFFFF"链接= QUOT;#FFFFFF" vlink =" #FFFFF"

alink =" #FFFFFF">

< form id =" CounterForm"方法= QUOT;交" runat =" server">

< table width =" 100%"边界=" 1 QUOT; CELLSPACING = QUOT; 0" cellpadding =" 0">

< tr>

< td>

< center>

< A HREF =" http://www.msn.com"> Hallo!< / A>< br>

< A HREF =" http:/ /www.msn.com">Hallo!</A><br>

< A HREF =" http://www.msn.com"> Hallo!< ; / A>< br>

< A HREF =" http://www.msn.com"> Hallo!< / A>< br>

< A HREF =" http://www.msn.com"> Hallo!< / A>< br>

< A HREF =" http ://www.msn.com"> Hallo!< / A>< br>

< A HREF =" http://www.msn.com"> Hallo !< / A>< br>

< A HREF =" http://www.msn.com"> Hallo!< / A>< br>

< A HREF =" http://www.msn.com"> Hallo!< / A>< br>

< A HREF =" ; http://www.msn.com"> Hallo!< / A>< br>

< A HREF =" http://www.msn.com"> ;喂<!/ A&克t;< br>

< A HREF =" http://www.msn.com"> Hallo!< / A>< br>

< A HREF =" http://www.msn.com"> Hallo!< / A>< br>

< A HREF =" http:/ /www.msn.com">Hallo!</A><br>

< A HREF =" http://www.msn.com"> Hallo!< ; / A>

< / center>

< / td>

< / tr>

< / table>

< P>< FONT face =" Verdana" size =" 2">该计数器是:

< asp:label id =" LblCounter"

runat =" server"> 62< / asp:label>< / FONT>< / P>

< / form>

< / body>

< / HTML>

------------------


这是绝对奇怪的部分:如果我删除所有< A HREF = ....>线路

但是2或3,网站将立即加载。


任何想法都将不胜感激!


谢谢,

沃尔夫冈

Hello All,

I have been researching newsgroups and knowledgebase all morning and not
found a solution that would solve the problem I have. I am having an ASP or
ASPX web page that implement a counter functionality and read/insert some
data in a MS Access database on that Windows 2003 server.
The weird part is, as long as the web page is very short in size, I can hit
the refresh button and Internet Explorer will reload the page and display
the content instantaneously. However, if the web page is just a little bit
bigger, it will take about 10 seconds before the content will be displayed.
Also, once the larger web page has been displayed, the small page will have
the delay problem as well. After I kill the w3wp.exe process, the short page
will refresh immediately, until the larger page has been opened at least
once. That just doesn''t make any sense to me and have researched some
knowledge base articles and not found anything, that would solve the issue.
Adding ''DisableLazyContentPropagation'' to the registry did not resolve the
problem.

Here is the CounterPage.aspx website''s contents (just for testing purpose):
----------------------------------------------------------------------------
<%@ Page Language="vb" AutoEventWireup="false"
Inherits="Counter.CounterPage"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>Counter Test Page</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5"
name="vs_targetSchema">
</HEAD>
<body bgcolor="#000000" text="#FFFFFF" link="#FFFFFF" vlink="#FFFFFF"
alink="#FFFFFF">
<form id="CounterForm" method="post" runat="server">
<table width="100%" border="1" cellspacing="0" cellpadding="0">
<tr>
<td>
<center>
<A HREF="http://www.msn.com">Hallo!</A><br>
<A HREF="http://www.msn.com">Hallo!</A><br>
<A HREF="http://www.msn.com">Hallo!</A><br>
<A HREF="http://www.msn.com">Hallo!</A><br>
<A HREF="http://www.msn.com">Hallo!</A><br>
<A HREF="http://www.msn.com">Hallo!</A><br>
<A HREF="http://www.msn.com">Hallo!</A><br>
<A HREF="http://www.msn.com">Hallo!</A><br>
<A HREF="http://www.msn.com">Hallo!</A><br>
<A HREF="http://www.msn.com">Hallo!</A><br>
<A HREF="http://www.msn.com">Hallo!</A><br>
<A HREF="http://www.msn.com">Hallo!</A><br>
<A HREF="http://www.msn.com">Hallo!</A><br>
<A HREF="http://www.msn.com">Hallo!</A><br>
<A HREF="http://www.msn.com">Hallo!</A>
</center>
</td>
</tr>
</table>
<P><FONT face="Verdana" size="2">That counter is:
<asp:label id="LblCounter"
runat="server">62</asp:label></FONT></P>
</form>
</body>
</HTML>
------------------

Here is the absolutely weird part: If I delete all the <A HREF=....> lines
but 2 or 3, the web site will load right aways.

Any ideas would be greatly appreciated!

Thank you,
Wolfgang

推荐答案

你好沃尔夫冈,


感谢您使用MSDN新闻组。我是卢克,我正在审查这个问题

目前。据我了解,您目前使用的是IIS 6.0。如果ASPX

或ASP文件很小,它将正常工作;如果它更大一点,

响应将延迟大约10秒。


HTML文件怎么样?如果它也工作不正常,问题应该是你的IIS的问题。您可以创建一个新的虚拟文件夹并将其中的文件复制

进行测试。您可以检查是否更改了

IIS上的任何默认混淆,例如,添加一些ISAPI文件管理器或扩展名。


Luke

Microsoft在线支持


安全! www.microsoft.com/security

(此帖子按原样提供,不作任何保证,并且不授予

权利。)

Hello Wolfgang,

Thank you for using MSDN Newsgroup. I am Luke and I am review this issue
currently. As I understand, you currently working with IIS 6.0. If a ASPX
or ASP file is small, it will work correctly; If it is a little bigger, the
response will delay about 10 seconds.

What about a HTML file? If it also work incorrectly, the problem should be
with your IIS. You may create a new virtual folder and copy the file in it
to test. You may check if you have changed any default configaration on the
IIS, for example, adding some ISAPI fileter or extension.

Luke
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


嗨Luke,


感谢您的想法。我之前尝试了所有这些,除了检查ISAPI过滤器的
。现在我已经删除了唯一一个ISAPI过滤器(我认为它是
表示asp net 1.1.4322的东西)而且我得到的只是一个大胖子服务

不可用消息,没有错误,没有任何东西,只是服务不可用在

大胖字母。


你能告诉我如何取回过滤器吗?什么文件以及如何设置

正确的优先级?


我尝试过一个简单的HTML,这很好。无论大小。是的,

你是对的。只要aspx文件非常小,我就会在

中刷新一秒钟。查询数据库,创建一个新条目等。我可以按照我想要的时间点击刷新按钮,新值将立即显示

。只要我添加一些非常简单的html行,它会延迟

大约10秒,没有错误消息,没有任何内容。只是坐在那里,思考

一段时间,然后做同样的事情。我绝对是困惑的。并且

是的,不同的目录,相同的结果。


感谢您的支持,

Wolfgang



" MSFT" <卢****** @ online.microsoft.com>在消息中写道

news:rN ************** @ cpmsftngxa07.phx.gbl ...
Hi Luke,

Thank you for your ideas. I have tried all of that before, except checking
the ISAPI filters. Now I have removed the only one ISAPI filter (I think it
said asp net 1.1.4322 something) and all I get is a big fat "Service
Unavailable" message, no error, no nothing, just "Service Unavailable" in
big fat letters.

Can you please tell me how to get the filter back? What file and how to set
the correct priority?

I have tried a simple HTML and that is fine. No matter what size. And yes,
you are right. As long as the aspx file is very small, I get the refresh in
a split of a second. The database is queried, a new entry made, etc. I can
hit the refresh button as often as I want and the new values will show
immediately. As soon as I add a few very simple html lines, it delays for
about 10 seconds, no error message, no nothing. Just sitting there, thinking
for a while, and then doing the same thing. I am absolutely puzzeled. And
yes, different directory, same result.

Thank you for your support,
Wolfgang


"MSFT" <lu******@online.microsoft.com> wrote in message
news:rN**************@cpmsftngxa07.phx.gbl...
Hello Wolfgang,

感谢您使用MSDN新闻组。我是卢克,我正在审查这个问题
目前。据我了解,您目前使用的是IIS 6.0。如果ASPX
或ASP文件很小,它将正常工作;如果它更大一点,
响应将延迟大约10秒。

HTML文件怎么样?如果它也工作不正常,问题应该是你的IIS。您可以创建一个新的虚拟文件夹并将其中的文件复制
进行测试。您可以检查是否更改了IIS的
上的任何默认混淆,例如,添加一些ISAPI文件管理器或扩展。

Luke
Microsoft在线支持
www.microsoft.com/security
(此帖已提供按原样,没有保证,也没有赋予
权利。
Hello Wolfgang,

Thank you for using MSDN Newsgroup. I am Luke and I am review this issue
currently. As I understand, you currently working with IIS 6.0. If a ASPX
or ASP file is small, it will work correctly; If it is a little bigger, the response will delay about 10 seconds.

What about a HTML file? If it also work incorrectly, the problem should be
with your IIS. You may create a new virtual folder and copy the file in it
to test. You may check if you have changed any default configaration on the IIS, for example, adding some ISAPI fileter or extension.

Luke
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)



" Wolfgang Kaml"写道:

:我一直在研究新闻组和知识库,而不是

:找到了解决问题的解决方案。我有一个ASP



:实现计数器功能的ASPX网页,读取/插入一些


ASP或ASPX?


这是经典的ASP,而不是.NET。如果您的问题与.aspx有关,那么

或许.NET NG可以获得更快的解决方案。但是,如果它这样做了所有页面,就像Luke所说的那样,那么inetserver NG可能是一个更好的

地方来提出这个问题吗?!


-

罗兰


这些信息的分发是希望它有用,但是

没有任何保证;甚至没有适销性的暗示保证

或特定用途的适用性。

-Technet知识库 -
http://support.microsoft .com / default ...& ln = EN-US& FR = 0

-Technet Script Center-
http://www.microsoft.com/technet/tre ... er / default.asp

-WSH 5.6文档下载 -
http://www.microsoft.com/downloads/d...displaylang=en

-MSDN Library-
http:// msdn.microsoft.com/library/defau lt.asp
"Wolfgang Kaml" wrote:
: I have been researching newsgroups and knowledgebase all morning and not
: found a solution that would solve the problem I have. I am having an ASP
or
: ASPX web page that implement a counter functionality and read/insert some

ASP or ASPX?

This is classic ASP, not .NET. If your issue is related to .aspx, then
perhaps a .NET NG would get a quicker solution. However, if it does this
will all pages, as Luke eluded to, then the inetserver NG might be a better
place to pose this question?!

--
Roland

This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose.
-Technet Knowledge Base-
http://support.microsoft.com/default...&ln=EN-US&FR=0
-Technet Script Center-
http://www.microsoft.com/technet/tre...er/default.asp
-WSH 5.6 documentation download-
http://www.microsoft.com/downloads/d...displaylang=en
-MSDN Library-
http://msdn.microsoft.com/library/default.asp


这篇关于绝对奇怪的刷新延迟问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆