Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
GitHub or Developer Community with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Whenever I run one of my .net sites on my apache server (local iMac machine), I get
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, email@example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
The apache2 error log has following info:
System.TypeLoadException: A type load exception has occurred.
at Mono.WebServer.ModMonoWorker.Run (System.Object state) [0x00000] in <filename unknown>:0
[Fri Nov 15 22:58:39 2013] [error] (70014)End of file found: read_data failed
I tested my configuration with `sudo apachectl -t` and it says `Syntax OK`.
I just republished the app to my server and that did not help.
Note that I had to reinstall modmono after upgrading to Maverick.
This might well be caused by my installation, but I would like your expert opinion as well as advise about how to proceed.
You can try running with the MONO_LOG_LEVEL environment variable set to 'debug', that might print out more information to the log file.
Now I get
Error deserializing configuration section compilation: Unrecognized attribute 'targetFramework'. (/Users/guivho/www/mocash/web.config line 1)
The web.config installed by Xamarin Studio is:
Web.config file for Go2.
The settings that can be used in this file are documented at
<compilation defaultLanguage="C#" debug="true" targetFramework="4.0">
<add assembly="System.Data.DataSetExtensions, Version=18.104.22.168, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add assembly="System.Web.ApplicationServices, Version=22.214.171.124, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<add assembly="System.Web.DynamicData, Version=126.96.36.199, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<add assembly="System.Web.Extensions, Version=188.8.131.52, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<add assembly="System.Xml.Linq, Version=184.108.40.206, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<customErrors mode="RemoteOnly" />
<authentication mode="None" />
<allow users="*" />
<trace enabled="false" localOnly="true" pageOutput="false" requestLimit="10" traceMode="SortByTime" />
<sessionState mode="InProc" cookieless="false" timeout="20" />
<globalization requestEncoding="utf-8" responseEncoding="utf-8" />
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID" />
This site runs without any problems from within Xamarin Studio. It is the version deployed to my local apache server that doesn't.
Could you please at least suggest where I can get any support from Xamarin!
This ticket has been open for almost a month now.
I got this resolved using instructions at http://www.mono-project.com/AutoHosting