Asp Net Viewstate Error Serializing Value
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you asp net viewstate c# might have Meta Discuss the workings and policies of this site
Asp Net Viewstate Decoder
About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or
Asp Net Disable Viewstate
posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of
Asp Net Viewstate Security
4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Error serializing for view state up vote 2 down vote favorite I am having problems serialising data for the view state. I am using VS2010 and when trying to add a property to the view state asp net viewstate session I get the following error message: Error serializing value 'System.Collections.Generic.List`1[Access.ARW.Business.Filters.Parameters.Parameter]' of type 'System.Collections.Generic.List`1[[Access.ARW.Business.Filters.Parameters.Parameter, Access.ARW.Business, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].' I have added a [Serializable] attribute above the classes I am trying to serialise but I still get this error...any ideas Here is the property declaration which is in Class A: private List
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn asp net ajax viewstate more about Stack Overflow the company Business Learn more about hiring developers or asp net viewstate tutorial posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community asp net viewstate vs session Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Error serializing value up vote -1 down vote favorite http://stackoverflow.com/questions/9116481/error-serializing-for-view-state how to know where is this thing realy happen? my abject are complicate for track and test each one , im sure there is a way to find the line of this problam no? in my case im using viewstate that make this serialize , in my object there are some enum that are out of the class it might also made that issue? PropertyInfo[] properties = GetType().GetProperties(); http://stackoverflow.com/questions/9886272/error-serializing-value foreach (PropertyInfo property in properties) { object[] attributes = property.GetCustomAttributes(typeof(PersistToViewState), true); if (attributes.Length > 0) ViewState[property.Name] = property.GetValue(this, null); } return base.SaveViewState(); c# serialization viewstate share|improve this question edited Mar 27 '12 at 9:08 slugster 34.9k868107 asked Mar 27 '12 at 8:58 roy.d 3442522 2 Does the compiler generate an error message? If so, please post it. If the error is that something doesn't work at run-time, please state what you expected to happen and what actually happened. –JTeagle Mar 27 '12 at 9:02 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote accepted With serialisation errors, you need to see the inner exception for the actual detail. The real detail could be deep 4-5 levels but is always descriptive enough to find out what is wrong. Put the full error stack if you need more help. share|improve this answer answered Mar 27 '12 at 9:06 Aliostad 59.2k10107158 thanks i was in updatepanel and mask error so i couldnt see the exception –roy.d Mar 27 '12 at 9:44 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up usin
Marketing Community Engagement Ideas Answers Discussions Groups Wikis Events Mobile ReadyEvoq Intranet Governance Employee Portal Collaboration Gamification User Profiles Personalization Document Management Analytics IntegrationsEvoq: CMS FeaturesEvoq OnDemandProduct DemosCompare ProductsCompare DNN Platform to Evoq Solutions Customer EngagementMarketing & ECommerceCustomer SupportProduct http://www.dnnsoftware.com/forums/threadid/449504/scope/posts/error-serializing-value DevelopmentMember EngagementEmployee IntranetOur Customers Learn More Test DrivesSchedule A DemoWebinarsWhite PapersProduct ManualsRequest PricingData SheetsCase StudiesVideosEvoq Preferred https://social.msdn.microsoft.com/Forums/en-US/bacc7787-de59-4fac-bb6f-acd9f8267ae6/error-serializing-value-aspusercontrolscucombo-of-type-aspusercontrolscucombo?forum=asmxandxml Products Content Management Ecommerce Forms Identity Management and Authentication Site Management Social Themes Partners DNN Partners Partner Directory Become a DNN Partner Community Participate Community Exchange Community asp net Voice Community Showcase Community Forums Working Groups Members Module ContestLearn Project History Documentation Center Community Blog Video Library Wiki Development Online Help RoadmapConnect DNN MVP Community Leaderboard Community Newsletters Community Events Community HangoutDownload DNN Forge Language Packs Manuals Nightly BuildsSecurity Policies Security Center Blog About Leadership Management InvestorsNews Press Releases News Coverage Press KitCareersContact DNN Download DNN Platform Whitepapers Manuals Support Store asp net viewstate DNN Modules DNN Themes Store Blog Evoq Preferred Services Login REGISTERBecome a DNNizen > Submit DNN Products Evoq Content Overview Content Creation Workflow Asset Management Mobile Responsive Personalization Content Analytics SEO Integrations Security Website Performance Evoq Engage Overview Community Management Gamification Advocate Marketing Community Engagement Mobile Ready Evoq Intranet Governance Employee Portal Collaboration Gamification User Profiles Personalization Document Management Analytics Integrations Evoq: CMS Features Evoq OnDemand Product Demos Compare Products Compare DNN Platform to Evoq Solutions Customer Engagement Marketing & ECommerce Customer Support Product Development Member Engagement Employee Intranet Our Customers Learn More Test Driv