Running ASP.NET MVC under Mono / Linux with xsp

I am migrating an existing ASP.NET MVC application to Mono. I'm actually trying to run it under Fedora Linux 11.

After a few tricks, I managed to compile the solution in MonoDevelop.

When I try to execute it with the xsp web server, I get the following output:

Exception Type Handling ConfigurationErrorsException
Error Message Initializing the Configuration System
IsTerminating is set to True

I believe the problem is in my web.config, but I can not find more information about the exception. Is there a magazine somewhere that may contain any additional information?

Thanks!

+3
source share
2 answers

Woo hoo!

I managed to get it to work. As expected, the problem was in web.config. To understand this, I had to test the same code on Windows using Visual Studio.NET.

It is not possible to find out what happened with web.config in XSP, but it no longer blocks me.

+1
source

try removing the node and see if everything seems to be working fine again.

perhaps you can check here for more details: ( http://fedoraproject.org/wiki/SELinux ).

0
source

Source: https://habr.com/ru/post/1717846/


All Articles