[Mono-devel-list] mono and .net web services

David Sheldon dave-monolist at earth.li
Sun Jan 18 06:43:32 EST 2004


Right, I now have a patch that throws the slightly more useful
System.FormatException. It is attached. Could someone have a look at it
before I check it in.

That said, I can't explain why the code was being given invalid Base64
data, so it doesn't solve the entire bug here.

David

On Fri, Jan 16, 2004 at 09:58:47AM +0000, David Sheldon wrote:
> 
> Hi,
> 
> I have bug reported this problem with the Base64 handling:
> http://bugs.ximian.com/show_bug.cgi?id=52928
> 
> David
> 
> On Wed, Jan 14, 2004 at 10:26:16PM -0500, Daniel Pinto de Mello e Silva wrote:
> > """
> > Server error in '/' application
> > Error restoring page viewstate. 
> > Description: Error processing request. 
> > Error Message: HTTP 500. Error restoring page viewstate. 
> > 
> > Stack Trace: 
> > 
> > System.IndexOutOfRangeException: Array index is out of range
> > in <0x003ea>
> > System.Security.Cryptography.FromBase64Transform:DoTransform
> > (byte[],int,int,byte[],int)
> > in <0x0012b>
> > System.Security.Cryptography.FromBase64Transform:TransformFinalBlock
> > (byte[],int,int)
> > in <0x00121> System.Convert:FromBase64CharArray (char[],int,int)
> > in <0x00056> System.Convert:FromBase64String (string)
> > in <0x00068> System.Web.UI.ObjectStateFormatter:Deserialize (string)
> > in <0x00017> System.Web.UI.LosFormatter:Deserialize (string)
> > in <0x000ad> System.Web.UI.Page:LoadPageStateFromPersistenceMedium ()
> > """
> 
> -- 
>  If you have an apple, and I have an apple, and we exchange appels, then you 
>  and I will each have one apple. But if you have an idea and I have an idea 
>  and we exchange these ideas, then each of us will have two ideas.
>    - George Bernard Shaw
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list

-- 
            "All extremists should be taken out and shot."
                    -- Robin Stevens, oxbridge.tat



More information about the Mono-devel-list mailing list