Invalid length for a Base-64 char array.

A

abc

hi

I am getting 'Invalid length for a Base-64 char array '
while trying to decode previously encoded string.

Can any one help me out?

Thanks,
 
C

Curt_C [MVP]

You sure it was encoded properly? Have a sample?
We do this same thing quite often and will get that error as well when it's
trying to decode an un-encoded string, or encoding a blank.
 
K

Kevin Spencer

Some of your code would help.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top