473,287 Members | 1,880 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

Help Please -- "Error Message :Invalid character in a Base-64 string."

Hi to all....

I have spent some time browsing for a solution to the following error but have unfortunatly not found any solution yet ,Please any help would be much appreciated....
-------------------------------------------------------------------------------------------------
This is the full error description...

"Error Message :Invalid character in a Base-64 string."

Error Source :mscorlib
Error Stack Trace : at System.Convert.FromBase64String(String s)
at System.Web.UI.ObjectStateFormatter.Deserialize(Str ing inputString)
at System.Web.UI.ObjectStateFormatter.System.Web.UI.I StateFormatter.Deserialize(String serializedState)
at System.Web.UI.Util.DeserializeWithAssert(IStateFor matter formatter, String serializedState)
at System.Web.UI.HiddenFieldPageStatePersister.Load()

Error TargetSite :Byte[] FromBase64String(System.String)
----------------------------------------------------------------------------------------------
I am using qurry string and view state in the same page, Is this error related with these, what will the good solution to solve this.. Any help please.......


Regards @shraf
Jul 31 '08 #1
5 4987
Plater
7,872 Expert 4TB
Are you doing the FromBase64String yourself somewhere? It's very strange.
Jul 31 '08 #2
Are you doing the FromBase64String yourself somewhere? It's very strange.
I am a newbie to this .net, could me pls let me know where we need to use "FromBase64String", u mean to use this methode in request.querrysting methode, If you have a sample code snip pls.............
Jul 31 '08 #3
Plater
7,872 Expert 4TB
No I was asking if you are ALREADY using it.
I am going to guess no. I am also thinking it is related to the viewstate settings.
Jul 31 '08 #4
No I was asking if you are ALREADY using it.
I am going to guess no. I am also thinking it is related to the viewstate settings.
Thanks for ur reply ...Yes,I am not using the "FromBase64String" in my page,

If its related to the ViewState, Let me say my problem, I have a dataList in my page , inorder to sort the List, I am using the view state to store datas, Any way How can i solve the ViewState problem(if its related to the ViewState)..

Please let me know
Jul 31 '08 #5
Frinavale
9,735 Expert Mod 8TB
Thanks for ur reply ...Yes,I am not using the "FromBase64String" in my page,

If its related to the ViewState, Let me say my problem, I have a dataList in my page , inorder to sort the List, I am using the view state to store datas, Any way How can i solve the ViewState problem(if its related to the ViewState)..

Please let me know
It sounds like you are Encrypting your ViewState. Try removing this encryption and see if the error goes away. I've seen this error before...I remember something in my ViewState was being corrupted (interpreted as such anyways).

-Frinny
Aug 1 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Fred Gravel | last post by:
I have a Windows app that I have installed on 3 client machines (all win2k) thatreturn an un-handled error message when starting up. I have placed 'Try/Catch/Finally' blocks in the 'sub main' and...
1
by: Dan | last post by:
I can't figure out this error message. Could someone please help. I have a text file in Notepad with the following 4 fields (Cont, Code, List, and Numb)all of which are single tab delimited, and a...
5
by: Fred Gravel | last post by:
I have a Windows app that I have installed on 3 client machines (all win2k) thatreturn an un-handled error message when starting up. I have placed 'Try/Catch/Finally' blocks in the 'sub main' and...
1
by: Allerdyce.John | last post by:
I need some help in reading error message: which line has problem? line 233? or line 37? Thank you. $ ./read2.py log.xml Traceback (most recent call last): File "./read2.py", line 233, in ?...
5
by: Bible Bob | last post by:
I can not get Access to load. It starts and then pops up an error message that says "A problem occured while Microsoft Office access was communicating with the OLE server or ACtiveX Control. ...
5
by: Giacomo | last post by:
Hi, I’ve the following error message: --------------- ALTER TABLE . ALTER COLUMN varchar(10) Go Server: messaggio 4929, livello 16, stato 1, riga 1
4
by: news.microsoft.com | last post by:
I am using a library class that creates an entry in the Windows Task Scheduler. After saving the task, I am getting the following error message when I close the task, An unhandled exception of...
4
by: cpptutor2000 | last post by:
Could someone please help me? I have the following C struct. typedef struct _FIREWALL_RULE_INFO { ULONG Precedence; BOOL bEnabled; BOOL ...
4
by: sigkill9 | last post by:
I'm trying to create a script that will accept a user entered integer and find only one set of prime numbers that add up to that integer but need some help. The script is supposed to only accept...
1
by: brian | last post by:
I have the code below in my code behind file and it generates a warning Warning 1 sub 'Button1_Click' shadows an overloadable member declared in the base class 'SO_210'. If you want to overload...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.