Turnkey Linux ASP .NET on Apache with Mod error in Mono product

cntrlweb's picture

Hi, I am using Turnkey Linux ASP .NET on Apache with Mod Mono as mentioned in the title, but I get the error mentioned on the link.

Link : https://ibb.co/ip6UB5

The line tells the Web.config file to have the <customErrors mode = "Off"> expression appended.
But as in the picture (see work with sublime text) the <customErrors mode = "Off"> expression is added in the Web.config file and the file is saved as in the picture.

I demand your help.

(Windows system main system, turnkey linux asp.net mono virtual server)



Jeremy Davis's picture

Hi there. Sorry for such a slow response. I actually thought that I had already responded to this last week, but I must have forgot to click "save"... Doh!

Anyway, I don't know much about Mono so I'm not much help really. But I can tell you that TurnKey installs Apache-Mod-Mono direct from Xamarin (the mono developers).

The only thing that might be worth trying is restarting Apache after changing the code. I.e.:

service apache2 restart

TBH, I'm not 100% sure whether that is required though. I did a quick google and found a SeverFault question; one answer says you do; the other says you shouldn't have too...!

Post new comment