Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
4
Answers
Getting error as Invalid length for base 64 array
Rp Singh
7y
225
1
Reply
Hi,
Below is the stack trace:
message:
'An unhandled exception occurred.'
-------------------------- Stack Trace -------------------------------
System.FormatException: Invalid length
for
a Base-64
char
array.
at System.Convert.FromBase64String(String s)
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()
-------------------------End Stack Trace -----------------------------
I dont know what is causing this. I am using viewstate to have almost 17k records and later using this in a grid display function.
Help to resolve.
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
Bootstrap Template For Admin Portal
Update Operation for Country ,State And City in MVC