[Mono-list] ASP.NET App breaks with Mono 0.30

Gonzalo Paniagua Javier gonzalo@ximian.com
Tue, 24 Feb 2004 17:02:00 +0100


El mar, 24-02-2004 a las 15:32, Clayton Harbour escribió:
> Hi Tracy,
> I came across this the other day to.  It is caused by this section(s)
> (there were 2 in mine) in your web.config file:
>     <mono.aspnet>
>         <acceptEncoding>
> 	    <!-- Change disabled to 'no' to enable gzip content encoding
> -->
> 	    <add encoding="gzip" type="Mono.Http.GZipWriteFilter,
> Mono.Http" disabled="no" />
> 	</acceptEncoding>
>     </mono.aspnet>
> 
> 
> Cheers,
> 
> Clayton
> 
> 
> I installed Mono 30.0 and mod-mono 0.7 and my ASP.NET application 
> crashes with the following error message. I had originally compiled it 
> under Mono 0.29, I recompiled it with Mono 30.0, and it crashes with the
> 
> same error message.
> The app works fine if I reinstall Mono 0.29 and mode-mono 0.6.
> 
> Server error in '/' application
> Description: Error processing request.
> Error Message: HTTP 500.
> Stack Trace:
> System.TypeLoadException: Cannot load type 
> 'Mono.Http.AcceptEncodingModule, Mono.Http'

Remove the references to Mono.Http from web.config or use
'Mono.Http.Modules.AcceptEncodingModule'. That Type moved to another
namespace.

-Gonzalo