Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

invalid length for a Base-64 char array error

Status
Not open for further replies.

IjumpOverU

Technical User
Jul 31, 2003
43
US
I get this error when trying to run the page on a windows mobile device. I did some research and it seems to say that I will get this error if my viewstate exceeds 2k. This probably does occur since I am using drop down controls.

Is there any way to avoid this or manually manipulate the view state so that I can get rid of this error??

Thanks for all and any help.
 
Just another note, this only occurs when I reload the page with my second drop down populated. The inital load of the page works fine.
 
Do you need to have the viewstate? If not you can turn it off. e.g.

Code:
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="Page1.aspx.vb" Inherits="MyTest.Page1" EnableViewState="false" %>

----------------------------------------------------------------------

Need help finding an answer?

Try the search facilty ( or read FAQ222-2244 on how to get better results.
 
That was a thought but I need the view state so that my page will remeber the first drop down selection and populate the second drop down with related data.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top