[Mono-list] mod_mono, and "Abnormal string size" again

Michael Elsdörfer elsdoerfer@gmail.com
Fri, 4 Feb 2005 18:20:27 +0100


Hi everybody,

I think I wrote to this list ago with the same problem a few month ago, but
it remained unsolved. I'm trying to get mod_mono running on my debian server
using Apache 2. It never worked, and I just decided to give it a new shot.

I deleted everything with "mono" in the name. Then I downloaded the 1.0.5
packages of mono, xsp and mod_mono, compiled and installed them. I started
XSP manually under the www-data account, so that I could see the log
messages.

Now, everytime I request an aspx file, I get

"In ModMonoWorker.Run: Abnormal string size"

So, I had a look at the source code. The exception is thrown in the first
call to ReadString() in GetInitialData(). I added a couple of WriteLines()
to ReadString() to output some debug information, and here it is:

Size queried from reader: 50331648
MAX_STRING_SIZE: 10240

{MAX_STRING_SIZE} bytes read:
GET/demoHTTP/1.Hostprivate.devforge.de
User-AgentTMozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.5)
Gecko/20041108
Firefox/1.0Acceptctext/xml,application/xml,application/xhtml+xml,text/html;q
=0.9,text/plain;q=0.8,image/png,*/*;q=0.5Accept-Languagede,en;q=0.7,en-us;q=
0.3Accept-Encoding
gzip,deflateAccept-CharsetISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive300
Connection
80.128.56.128?239.209.84P

Is there perhaps some issue with the line endings? 
I hope this is useful to one of developers - I *really* want to get mod_mono
running.

Any help is very much appreciated.

Thanks,

Michael Elsdoerfer