Error prompt when on Ubuntu + Apache + Mono

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
5/11/2014 5:12:10 AM
Gravatar
Total Posts 1

Error prompt when on Ubuntu + Apache + Mono

I am going to use Mojo Portal on Ubuntu, I have already installed Apache and Mono, I tested it and it has no problem to run asp.net in this platform. Mono version :  Mono-runtime 2.10.8.1.5, Mod-mono mono-apache-server2 2.10-2.1

When I open XXX/Setup/Default.aspx. the browser display a error which I can't find solution on google. Can someone help.

The error message is "The section <siteMap> can't be defined in this configuration file (the allowed definition context is 'MachineToApplication'). (/var/www/Mojo/wwwroot/Web.config line 737)"

Screen Capture: http://sharesend.com/wd4nxds6

Thanks.

5/12/2014 1:05:08 PM
Gravatar
Total Posts 18439

Re: Error prompt when on Ubuntu + Apache + Mono

Sorry, after many years of trying to support Mono we gave up on it because there are always bugs like this in Mono's implementation of ASP.NET.

You may find it works ok for very simple ASP.NET applications using very limited features of ASP.NET but there have always been problems trying to use Mono for more complex ASP.NET applications.

 

5/13/2014 11:01:56 AM
Gravatar
Total Posts 18439

Re: Error prompt when on Ubuntu + Apache + Mono

This post by Scott Hanselman gives hope that Mono may become a platform that just works in the future, that would be nice! Really the only kind of thing we should have to worry about to support Mono is things like file and url case sensitivity and always using Path.DirectorySeparatorChar instead of "\" in file system operations to be platform neutral. But historically there have always been many bugs to try to work around or try to report or create test cases for.

You must sign in to post in the forums. This thread is closed to new posts.