EndOfStreamException caused by spammer (c#/asp.net)

Posted by maxp on Stack Overflow See other posts from Stack Overflow or by maxp
Published on 2011-01-06T09:51:12Z Indexed on 2011/01/06 9:53 UTC
Read the original article Hit count: 140

Filed under:
|
|

I have a contact page on my site that seems to have been latched on to by a spammer.

The error itself is:

    System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at System.IO.BinaryReader.ReadByte()
at System.Web.UI.ObjectStateFormatter.DeserializeIndexedString(SerializerBinaryReader reader, Byte token)
at System.Web.UI.ObjectStateFormatter.DeserializeValue(SerializerBinaryReader reader)

Google turns up little.

I assume they are submitting an invalid viewstate, but the exception has no line number so im stumped.

© Stack Overflow or respective owner

Related posts about c#

Related posts about exception