Getting Started with Adobe After Effects - Part 6: Motion Blur
Ask
Ask questions, discuss or help others by answering
Related Posts · View All
SQL Server 145
TSQL 76
SSRS 70
SSIS 67
XML 57

Top Categories · View All
SQL Server 145
TSQL 76
SSRS 70
SSIS 67
XML 57

Session Timeout

Dec 29 2011 12:00AM by Vipul   

I am using the Crystal Report and I got an Error like this.

System.Web.UI.ViewStateException
Inner Exception Type: System.Web.UI.ViewStateException
Inner Exception: Invalid viewstate.
Inner Source: 
Exception Type: System.Web.HttpException
Exception: The client disconnected.
Source: DefaultPage
Stack Trace: 
   at System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError)
   at System.Web.UI.ViewStateException.ThrowMacValidationError(Exception inner, String persistedState)
   at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString)
   at System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Deserialize(String serializedState)
   at System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter, String serializedState)
   at System.Web.UI.HiddenFieldPageStatePersister.Load()
   at System.Web.UI.Page.LoadPageStateFromPersistenceMedium()
   at System.Web.UI.Page.LoadAllState()
   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(HttpContext context)
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at ASP.adminfcinvoicereportaspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c86c318b\35f0b30d\AppWebfcinvoicereport.aspx.fdf7a39c.k3etzzhq.0.cs:line 0
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Base Error : Invalid viewstate. 

What should I do for this error ?

Submitted under: C#.NET ·  ·  ·  · 


Vipul
526 · 0% · 71

2 Replies

  • Hi Vipul,

    If you use the CrystalReportViewer control to perform both roles (report display and object model), ViewState persists both of them, and you do not need any additional persistence mechanisms.

    Please make sure

    -Not Using ViewState Compression
    -Not Handling Viewstate optimizations in basepage class
    -Page ViewState is enabled
    

    You can also use Session, or Cache as replacement of ViewState

    Here is the link

    http://msdn.microsoft.com/en-us/library/ms225516(v=vs.80).aspx

    commented on Dec 31 2011 5:39AM
    Robert Dennyson
    11 · 14% · 4420

Your Reply


Sign Up or Login to post a comment.

    Copyright © Rivera Informatic Private Ltd Contact us      Privacy Policy      Terms of use      Report Abuse      Advertising      [ZULU1097]