[Mono-list] TypeLoadException with ASP.NET

Igor Shmukler igor.shmukler at gmail.com
Tue Jan 13 08:29:48 UTC 2015


Hello Andres,

Thank you for your message.

>> I installed mono [and apache2.4] from Ubuntu repositories using apt-get
>> install.
>> I am unsure what you mean by full error. I pasted the stack trace and
>> the entire error message.
>
> What version of Ubuntu? What version of Mono comes in this version of
> Ubuntu?

The Ubuntu version from dmesg:
Linux version 3.13.0-32-generic (buildd at kissel) (gcc version 4.8.2
(Ubuntu 4.8.2-19ubuntu1) )  #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC
2014 (Ubuntu 3.13.0-32.57-generic 3.13.11.4)
I understand that it is also known as 14.04 LTS.
The mono version is below:
$ mono --version
Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-4ubuntu1)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors.
www.mono-project.com
TLS:           __thread
SIGSEGV:       altstack
Notifications: epoll
Architecture:  amd64
Disabled:      none
Misc:          softdebug
LLVM:          supported, not enabled.
GC:            sgen

> First thing I would try is get your web app to run with xsp. If it works with xsp, then the problem is in mod_mono itself. If it doesn't work with
> xsp, then you have reduced your testcase already. Keep reducing it.

What would running my code with XSP prove? XSP is not recommended for
production. I already know that my code runs fine [on Mac]. I also
know that Mono is able to run regular .NET executables.

I need to figure out how to configure apache2 to correctly run
ASP.NET/Mono. As a start, debugging would be very helpful. In my
opinion, confirming that my code runs on XSP is completely orthogonal
to the fact that I cannot enable debugging. How come I get an error
with a stack trace on the web page, and nothing in the apache log?

Thank you,

Igor Shmukler


More information about the Mono-list mailing list