mod_mono is a module for the Apache HTTP Server that allows for hosting of ASP.NET pages and other assemblies on multiple platforms by use of the Mono development platform.
Questions tagged [mod-mono]
158 questions
3
votes
2 answers
mod_mono asp MVC4 error: System.Security.SecurityException - Couldn't impersonate token
I have developed an small webapp in ASP.net MVC4, framework version 4.5. It all works like a charm when debugging with Visual Studio 2015. However I do not have an Windows server, but a Linux (Ubuntu 14.04 VPS) and I wish to deploy there.
I have…

Frederik
- 57
- 6
3
votes
1 answer
How do I deploy ASP.NET 5 / .NET Core in Linux / Mac?
With the recent release of ASP .NET 5 features it is quite evident that MS is now targeting more on cross-platform .NET App development (also increasing its bond with Mono).
I would like to know the best practices to deploy an ASP .NET 5 code in…

Karthik
- 3,075
- 3
- 31
- 61
3
votes
1 answer
How to resolve Failed running '/usr/lib/pkgconfig/../../bin/mod-mono-server2 --filename /tmp/mod_mono_server_global --nonstop --master
I'm trying to get mod_mono working on CentOS 6.5. I have many failed attempts where either something does not compile at all or fails when trying to run a website. I've tried both latest from git, tarball from git releases, and tarballs of different…

crazysnake
- 451
- 2
- 7
- 18
3
votes
1 answer
JsonServiceClient not using cookie placed in cookiecontainer
I've posted a couple of questions previously to get where I am now:
Reconnecting to Servicestack session in an asp.net MVC4 application
and
nullreference exception when adding session cookie to ServiceStack
Quick background on the app: This is an…

SeanH
- 584
- 3
- 18
3
votes
1 answer
How to prevent memory leak in Mono MVC3 application?
Mono MVC 3 shopping cart Web applications are running under Apache in Mono.
In top output below there are 3 applications with pids 31398, 30851, 30854
Processes are sorted by %MEM.
After some time there is lot of mono processes which take all on…

Andrus
- 26,339
- 60
- 204
- 378
3
votes
2 answers
Unable to host ASP.NET MVC 4 app using mod_mono
I'm trying to host an ASP.NET MVC 4 application in apache with mod_mono but I keep getting the following error:
An exception has occurred while generating HttpException page:
System.NullReferenceException: Object reference not set to an instance of…

Anathema
- 31
- 4
3
votes
1 answer
How to deploy an ASP.Net Web Forms on Apache with mono mod
I made an ASP.Net Web Forms application and it's working in debug mode in Visual Studio 2012. But when I uploaded the application folder into my Apache with mod_mono I got an Error that indicates I should do this in my web.config:
…

user2157063
- 49
- 2
- 10
3
votes
1 answer
Installing Mono and mod_mono on CentOS with Yum
I've been trying to find a way to get Mono into Yum, There's a similar question here:
Install Mono on Centos 5.5 using YUM
However this is out of date - the following repositories no longer…

Alasdair McLeay
- 2,572
- 4
- 27
- 50
2
votes
3 answers
mod_mono: Random CompilationException errors
After a server restart I sometimes get random CompilationException errors like this:
CompilationException: CS0006: Metadata file `/tmp/apache-temp-aspnet-0/ca373c84/assembly/shadow/10cad1cb/02cb7ade_1201ab15_00000001/ZedGraph.dll' could not be found…

Santiago Corredoira
- 47,267
- 10
- 52
- 56
2
votes
1 answer
How to install mod_mono on Debian 10
I want to run ASP.NET MVC application in Debian 10 with Apache.
I have installed latest mono from mono Debian 10 repository using apt.
Trying to install mod_modo using
apt install libapache2-mod-mono
throws error
> Reading package lists... Done…

Andrus
- 26,339
- 60
- 204
- 378
2
votes
0 answers
Stopping apache with running mod-mono-server application takes several minutes
I run a ASP.NET Application on a CentOS 7.5 Host via Apache and the mod-mono-server4
Basically the Application runs fine. But if it is required to stop apache it takes several minutes until apache is stopped. This happens only if a web client is…

velok
- 21
- 3
2
votes
0 answers
Deploy asp .Net MVC Project on Apache 2.4 mod mono
I have some trouble to configure my apache 2.4 web server to host an asp .Net MVC project. The project is designed for the .Net framework 4.5. I have installed the mono framework (version 4.6.2), xsp and mod mono.
My problem is that the server…

Alucard
- 317
- 1
- 3
- 15
2
votes
1 answer
Using mono with ssl in apache
I have the following problem:
I want to access a mono application via ssl. I want it to be not accessible without ssl.
I am using apache2.4 and mod-mono-server4.exe 3.0.0.0
At the moment I have a working configuration like this:
…

Simon Zyx
- 6,503
- 1
- 25
- 37
2
votes
0 answers
How to separate static content on ASP.NET MVC in Apache mod-mono
I have already a project that built top of the ASP.NET MVC 2.0 and it's working.
I tried to run it on Ubutuntu 10.4 Server on Apache2 and Mod mono.
As you know, when you created a new project on VS.NET it creates a Content folder for holds static…

fyasar
- 3,996
- 2
- 42
- 55
2
votes
3 answers
MySQL Connector with mod_mono and mono 2.6.7
I've been having quite a bit of trouble getting an MVC2 web application to find the MySQL connector. I am running CentOS 5.
I've installed the DLL into the GAC using the 2.0 version of the tool
$ mono /usr/local/lib/mono/2.0/gacutil.exe -i…

GuyWIthAQuestion
- 61
- 1
- 5