PDA

View Full Version : menupanel event error



aristor
Mar 18, 2011, 7:30 AM
hello friends

I get an error event menupanel

I wrote the event

<ext:MenuItem ID="MenuCikis" runat="server" Text="Güvenli Çıkış" Icon="Cancel">
<DirectEvents>
<Click OnEvent="MenuCikis_Click" />
</ DirectEvents>
</ Ext: menuitem>

got error

Server Error in '/' Application.
The state information is invalid for this page and might be corrupted.
Description: An Unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: The state information is invalid for this page and might be corrupted.

Source Error:

The source code that can only be generated this Unhandled exception when compiled in debug mode, Shown. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug = true" directive at the top of the file that generated the error. Example:

<% @ Page Language = "C #" Debug = "true"%>

or:

2) Add the Following section to the configuration file of your application:

<configuration>
<system.web>
<compilation debug="true"/>
</ System.web>
</ Configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory / performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Stack Trace:

[FormatException: Base-64 is not a character, filling more than two non-whitespace character or a character between the characters contained in the filling of a Base-64 string is not valid for entry. ]
System.Convert.FromBase64String (String s) +0
System.Web.UI.ObjectStateFormatter.Deserialize (String inputString) +77
System.Web.UI.ObjectStateFormatter.System.Web.UI.I StateFormatter.Deserialize (String serializedState) +4
System.Web.UI.Util.DeserializeWithAssert (IStateFormatter Formatter, String serializedState) +37
System.Web.UI.HiddenFieldPageStatePersister.Load () +147

[ViewStateException: Invalid Viewstate.
Client IP::: 1
Port: 8921
Referer: http://localhost:151/Yonetim/Panel.aspx
Path: / Government / Panel.aspx
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-us; rv: 1.9.2.15) Gecko/20110303 Firefox/3.6.15 GTB7.1
ViewState: / wEPDwULLTEwNDM ...]

[HttpException (0x80004005): The state information is invalid for this page and might be corrupted.]
System.Web.UI.ViewStateException.ThrowError (Exception inner, String persistedState, errorPageMessage String, Boolean macValidationError) +198
System.Web.UI.ViewStateException.ThrowViewStateErr or (Exception inner, String persistedState) +14
System.Web.UI.HiddenFieldPageStatePersister.Load () +251
System.Web.UI.Page.LoadPageStateFromPersistenceMed ium () +106
System.Web.UI.Page.LoadAllState () +43
System.Web.UI.Page.ProcessRequestMain (Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +8431
System.Web.UI.Page.ProcessRequest (Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +253
System.Web.UI.Page.ProcessRequest () +78
System.Web.UI.Page.ProcessRequestWithNoAssert (HttpContext context) +21
System.Web.UI.Page.ProcessRequest (HttpContext context) +49
ASP.yonetim_panel_aspx.ProcessRequest (HttpContext context) in c: \ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ Temporary ASP.NET Files \ root \ 676a4a8f \ 1b4dd52f \ App_Web_dqgtrsky.2.cs: 0
System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication.IExecutionStep.Execute () +100
System.Web.HttpApplication.ExecuteStep (IExecutionStep step, Boolean & completedSynchronously) +75


Version Information: Microsoft. NET Framework Version: 4.0.30319; ASP.NET Version: 4.0.30319.1