Just a reminder on how to enable tracing for an ASP.NET page. Easy, turn it on in the page directive, then can use Trace.Write, Trace.Warn, etc. throughout your page code.
<% @Page language="c#" Trace="true" %>
<%
Trace.Warn( "here" );
%>
Can also later view the output with the axd trace viewer.
See "Trace object [ASP.NET]" in MSDN help for more info.