[Mono-dev] mod_mono, ASP.net 2.0 (was: xsp2 on debian)

Matt Dockerty matt at beyondinternet.net
Mon Sep 4 07:30:07 EDT 2006


On 1/9/06 03:00, "Michael Schurter" <michael at synthesyssolutions.com> wrote:
> As of yesterday I still couldn't get xsp2 to work on Debian Etch which
> is why today I built everything Mono related from source.  I'm happy to
> report xsp2 from the svn-trunk seems to work fine.

I'm also happy to report the 1.1.17 binary installer works fine. xsp2 is
working standalone now, but I get a new error trying to run it with apache2.

I wrote a little ASP.net 2.0 app under VS2005 which creates 1000 numbered
anchors and adds them to a placeholder. I compiled and deployed it to the
mono server. It runs fine under standalone xsp2 but produces a strange error
running under mod_mono which I compiled from source (1.1.17). I'm fairly
sure I've configured it properly.

System.Exception: Compiler failed to produce the assembly. Stderr='

** (/opt/mono-1.1.17/lib/mono/1.0/mcs.exe:2822): WARNING **: The class
System.Web.Profile.DefaultProfile could not be loaded, used in System.Web,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Stacktrace:

  at (wrapper managed-to-native)
System.Reflection.MonoMethodInfo.get_method_info
(intptr,System.Reflection.MonoMethodInfo&) <0x00004>

  at (wrapper managed-to-native)
System.Reflection.MonoMethodInfo.get_method_info
(intptr,System.Reflection.MonoMethodInfo&) <0xffffffff>

  at System.Reflection.MonoMethod.get_Attributes () <0x00025>

  at System.Reflection.MethodBase.get_IsVirtual () <0x0000c>

  at Mono.CSharp.MemberCache.AddMethods
(System.Reflection.BindingFlags,System.Type) <0x00194>

    [... Lots more down to]

  at System.Web.HttpApplication+<Pipeline>__1.MoveNext () [0x00000]


I can't find anything on Google. Does anybody know why this error is being
thrown?

Thanks,
Matt




More information about the Mono-devel-list mailing list