Very, very simple asp.net page takes forever to load
Posted
by
John Hoge
on Server Fault
See other posts from Server Fault
or by John Hoge
Published on 2011-11-04T23:08:41Z
Indexed on
2014/05/29
21:35 UTC
Read the original article
Hit count: 151
I've got a page that couldn't be more simple:
<%@ Page Trace="true" %>
<html>
<head></head>
<body>
<h1>Hello World</h1>
<a href="/OtherPage.aspx"/>Other Page</a>
<p><%=DateTime.Now.ToString()%>
</body>
</html>
... but it takes forever to load. There is no database or web service call to slow it down. The trace command reveals that the time from Begin PreInot to End Render is .000049 seconds, but the page itself takes several seconds to load. It is a new web site I just created for this test, and just has a web.config & two test files. The only thing in the web.config is access control:
<authorization><allow users="domain\me" /><deny users = "*"/></authorization>
What else could IIS be doing with all of that time?
© Server Fault or respective owner