[Mono-list] TypeLoadException with ASP.NET
igor.shmukler at gmail.com
Tue Jan 13 08:29:48 UTC 2015
Thank you for your message.
>> I installed mono [and apache2.4] from Ubuntu repositories using apt-get
>> 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
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 126.96.36.199)
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.
LLVM: supported, not enabled.
> 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?
More information about the Mono-list