472,128 Members | 1,654 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,128 software developers and data experts.

ASP.NET 2.0: unexpected exception after Page_Unload()

RAM
Hello,
I am learning .NET 2.0 and I have written simple application with
Default.aspx page and logging in Logon.aspx/Logon.aspx.cs.
After Page_Unload of Logon.aspx.cs (I have checked by debugging) I
receive error that I don't understand:

Message: Exception of type 'System.Web.HttpUnhandledException' was
thrown.
Stack: at System.Web.UI.Page.HandleError(Exception e) at
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest() at
System.Web.UI.Page.ProcessRequestWithNoAssert(Http Context context) at
System.Web.UI.Page.ProcessRequest(HttpContext context) at
ASP.default_aspx.ProcessRequest(HttpContext context) in
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET
Files\mimmagazyn\64a9e8a5\4b2f62e8\App_Web_bl9uers v.0.cs:line 0 at
System.Web.HttpApplication.CallHandlerExecutionSte p.System.Web.HttpApplication.IExecutionStep.Execut e()
at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step,
Boolean& completedSynchronously)
Source: System.Web

There's no error in my code - I have checked by debugging.
Please help. I cannot continue working.
/RAM/
Jul 18 '06 #1
2 2064
Please, ensure that you call the base Page_Unload, that is the Page_Unload
of the parent class at the end of your Page_Unload: maybe some cleanup code
is not performed correctly.

Otherwise, send the code in you Page_Unload; it's quite impossible to
understand what's going on only from the stack trace.

Regards,
Paolo.


"RAM" <r_********@poczta.onet.plwrote in message
news:uc********************************@4ax.com...
Hello,
I am learning .NET 2.0 and I have written simple application with
Default.aspx page and logging in Logon.aspx/Logon.aspx.cs.
After Page_Unload of Logon.aspx.cs (I have checked by debugging) I
receive error that I don't understand:

Message: Exception of type 'System.Web.HttpUnhandledException' was
thrown.
Stack: at System.Web.UI.Page.HandleError(Exception e) at
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest() at
System.Web.UI.Page.ProcessRequestWithNoAssert(Http Context context) at
System.Web.UI.Page.ProcessRequest(HttpContext context) at
ASP.default_aspx.ProcessRequest(HttpContext context) in
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET
Files\mimmagazyn\64a9e8a5\4b2f62e8\App_Web_bl9uers v.0.cs:line 0 at
System.Web.HttpApplication.CallHandlerExecutionSte p.System.Web.HttpApplication.IExecutionStep.Execut e()
at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step,
Boolean& completedSynchronously)
Source: System.Web

There's no error in my code - I have checked by debugging.
Please help. I cannot continue working.
/RAM/

Jul 20 '06 #2
RAM
On Thu, 20 Jul 2006 09:50:27 +0200, "Paolo"
<paolo_benetti@-NOSPAM-hotmail.comwrote:
>Please, ensure that you call the base Page_Unload, that is the Page_Unload
of the parent class at the end of your Page_Unload: maybe some cleanup code
is not performed correctly.
I added base.page_Load(), base.Page_unload() but it didn't help.
>
Otherwise, send the code in you Page_Unload; it's quite impossible to
understand what's going on only from the stack trace.
My Page_Load()/Page_Uload() are empty.
I attach mini-project.
/RAM/
Jul 26 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Robert Scheer | last post: by
19 posts views Thread by Heidi Hundåla | last post: by
reply views Thread by bburkhart | last post: by
4 posts views Thread by Larry Morris | last post: by
3 posts views Thread by Andrew Vickers | last post: by
7 posts views Thread by Cenk | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.