I'm trying to run a regular ASP.NET 4 application under Mono 2.10.2 (after upgrading from 2.8), and whenever I try to request a page, I get a 500 server error. The server log indicates that it is a null reference error in the configuration handler:
-------------- [notice] Apache/2.2.16 (Ubuntu) mod_mono/2.10 PHP/5.3.3-1ubuntu9.4 with Suhosin-Patch mod_ssl/2.2.16 OpenSSL/0.9.8o configured -- resuming normal operations Exception caught during reading the configuration file: System.NullReferenceException: Object reference not set to an instance of an object at Mono.WebServer.Apache.Server+ApplicationSettings..ctor () [0x00000] in <filename unknown>:0 -------------- Each instance of the error above is followed by: -------------- System.Configuration.ConfigurationErrorsException: Unrecognized configuration section <system.web> [stack trace omitted for brevity] -------------- I've verified that my web.config is valid, and it only has a <system.web> tag with a <customErrors> tag within it. The error may be a mod_mono / ASP.NET error, but it might also be a general error, because I tried to run a Mono console app and got a similar configuration error: -------------- System.Configuration.ConfigurationErrorsException: Error Initializing the configuration system. ---> System.Configuration.ConfigurationErrorsException: Unrecognized configuration section <startup> -------------- What might this be and how can I fix it? Thanks! -- View this message in context: http://mono.1490590.n4.nabble.com/Configuration-error-on-mod-mono-startup-under-2-10-2-tp3494949p3494949.html Sent from the Mono - ASP.NET mailing list archive at Nabble.com. _______________________________________________ Mono-aspnet-list mailing list Mono-aspnet-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-aspnet-list