473,508 Members | 2,283 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

36 New Member
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 5002
Plater
7,872 Recognized Expert Expert
Are you doing the FromBase64String yourself somewhere? It's very strange.
Jul 31 '08 #2
mvmashraf
36 New Member
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 Recognized Expert Expert
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
mvmashraf
36 New Member
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 Recognized Expert Moderator Expert
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
287
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
1559
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
1299
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
1210
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
1770
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
4078
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
4494
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
1815
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
2150
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
1382
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...
0
7224
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7323
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7380
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7039
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7494
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5626
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3192
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3180
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1553
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.