[Mono-list] TypeLoadException with ASP.NET

Peter Hagen peter at willow-media.nl
Fri Jan 16 07:02:44 UTC 2015


Hi Igor,

I was reading through your messages, and noticed one small thing:

> On 13 Jan 2015, at 08:01, Martin Thwaites <monoforum at my2cents.co.uk> wrote:
> 
> Debugging is enabled in web.config, so I get the stack trace. It is
> not useful for my purposes, all line numbers are missing, i.e.:
> at System.Web.UI.WebControls.Button.OnClick (System.EventArgs e)
> [0x00000] in <filename unknown>:0

If you want to see a full stacktrace with line numbers in your log, you shouldn’t enable debugging in web.config for this. You have to deploy a debug build of your site. Then the line-numbers will also appear in the logs.

Like Martin wrote: don’t give up. I have been running Mono with Apache in production for about 5 years.

Grz

Peter Hagen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20150116/b4a6146c/attachment.html>


More information about the Mono-list mailing list