Solving ASP.NET MVC project runtime errors on Mono

Monodevelop logo


In case we’re running an ASP.NET application on Mono using Monodevelop for the first time, we may receive the below error:

Could not launch ASP.NET web server

In some cases, the problem is incorrect installation of xsp4 server.

Install it using:

sudo apt-get install mono-xsp4

This solved the above error.

Optional: get it from Ubuntu software center by searching for xsp4

mono-xsp4 in Ubuntu software center

After the xsp4 server is installed and ready. The project will start running at

A directory access error saying Access to the path “/etc/mono/registry” is denied may also show up which can be solved by simply creating the folder using mkdir

sudo mkdir /etc/mono/registry

and setting the right permissions using chmod

sudo chmod uog+rw /etc/mono/registry


Nordible is a digital solutions provider helping organizations achieve their digital goals.

We develop and measure digital solutions, implement impactful brand promotion and SEO strategies and develop software driven by rigorous testing that help your business succeed online and beyond.

You can contact us at for business inquiries.

Follow us: