Hi, I want to change the codebehind in the forum, but what ever i do i does not changing.
Simply, to test it forum/default.aspx page i am doing
<script runat="server">
public void Page_Error(object sender,System.EventArgs e)
{
Response.Write("111" ) ;
Exception x = Server.GetLastError();
string exceptionInfo = "";
while ( x != null )
{
exceptionInfo += DateTime.Now.ToString( "g" );
exceptionInfo += " in " + x.Source + "\r\n";
exceptionInfo += x.Message + "\r\n" + x.StackTrace + "\r\n-----------------------------\r\n";
x = x.InnerException;
}
yaf.DB.eventlog_create( forum.PageUserID, this, exceptionInfo );
yaf.Utils.LogToMail(x);
}
</script>
and hitting f6 to compile and i am going to page but nothing happens.
any idea?