About: The status information of this page is invalid. A possible solution is damaged.

Source: Internet
Author: User
Tags stack trace

Error message:The status information of this page is invalid and may be damaged.

The server error in the "/schoolwebui" application.

The status information of this page is invalid and may be damaged.

 

 

Note:
An error occurred while executing the current Web request. Check the stack trace information for details about the error and the source of the error in the code.

Exception details:System. Web. httpexception: The status information of this page is invalid and may be damaged.

Source error:

[No relevant source line]

Source file:C:/Windows/Microsoft. NET/framework/v2.0.50727/Temporary ASP. NET files/schoolwebui/50f66ba2/6cfe9dcf/app_web_skznrmav.0.csRow:
0

Stack trace:

[Formatexception: invalid characters in the base-64 string.] System. convert. frombase64string (string s) + 0 system. web. UI. objectstateformatter. deserialize (string inputstring) + 72 system. web. UI. objectstateformatter. system. web. UI. istateformatter. deserialize (string serializedstate) + 5 system. web. UI. util. deserializewithassert (istateformatter formatter, string serializedstate) + 37 system. web. UI. hiddenfieldpagestatepersister. load () + 142 [viewstateexception: The view status is invalid. Client IP: 127.0.0.1port: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; sv1; embeddedwb 14.52 from: http://www.bsalsa.com/embeddedwb 14.52 ;. net CLR 1.1.4322 ;. net CLR 2.0.50727) viewstate:/declare Authorization + i99l5m/gyh2c =,/assets/4/duhr2c2acl8clmnt9yw = Referer: http: // localhost: 1845/schoolwebui/Default. aspxpath:/schoolw Ebui/default. aspx] [httpexception (0x80004005): The status information of this page is invalid and may be damaged.] System. web. UI. viewstateexception. throwerror (exception inner, string persistedstate, string errorpagemessage, Boolean macvalidationerror) + 119 system. web. UI. hiddenfieldpagestatepersister. load () + 241 system. web. UI. page. loadpagestatefrompersistencemedium () + 80 system. web. UI. page. loadallstate () + 35 system. web. UI. page. processrequestmain (Boolean includestagesbeforeasyncpoint, Boolean includestagesafterasyncpoint) + 8003 system. web. UI. page. processrequest (Boolean includestagesbeforeasyncpoint, Boolean includestagesafterasyncpoint) + 202 system. web. UI. page. processrequest () + 85 system. web. UI. page. processrequestwithnoassert (httpcontext context) + 20 system. web. UI. page. processrequest (httpcontext context) + 110 ASP. default_aspx.processrequest (httpcontext context) in C:/Windows/Microsoft. net/framework/v2.0.50727/Temporary ASP. net files/schoolwebui/50f66ba2/6cfe9dcf/app_web_skznrmav.0.cs: 0 system. web. callhandlerexecutionstep. system. web. httpapplication. iexecutionstep. execute () + 390 system. web. httpapplication. executestep (iexecutionstep step, Boolean & completedsynchronously) + 65

Version:Microsoft. NET Framework Version: 2.0.50727.832; ASP. NET version: 2.0.50727.832

 

 

Running environment:

Vs2005

 

Solution:

View the source view:

<Form ID = form1 name = form1 runat = "server"> <Input
Id =__ viewstate type = hidden
Value =/wepdwujoduwotc3ndq4zgr5fken/4/duhr2c2acl8clmnt9yw = Name =__ viewstate>

A _ viewstate hidden control is found.

Note: This is a problem that occurs when the parsed code is copied directly to the new page.
Normal aspx pages do not have viewstate at all.

Delete all the controls (the red part above.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.