I've got a (lightly used) ASP.Net service that is deployed under Mono that runs fine. All of a sudden though beta testers report errors and when I hit the service from a browser, I get the error (below).
Can someone get me some debugging steps to try and identify the problem? ----------------- ERROR ------------------- The section <authentication> can't be defined in this configuration file (the allowed definition context is 'MachineToApplication'). (/var/www/html/Services/Web.config line 38) Description: HTTP 400. Error processing request. Stack Trace: System.Configuration.ConfigurationErrorsException: The section <authentication> can't be defined in this configuration file (the allowed definition context is 'MachineToApplication'). (/var/www/html/Services/Web.config line 38) at System.Configuration.SectionInfo.ReadData (System.Configuration.Configuration config, System.Xml.XmlReader reader, Boolean overrideAllowed) [0x0007d] in /root/mono-142439/mcs/class/System.Configuration/System.Configuration/SectionInfo.cs:182 at System.Configuration.SectionGroupInfo.ReadContent (System.Xml.XmlReader reader, System.Configuration.Configuration config, Boolean overrideAllowed, Boolean root) [0x0014b] in /root/mono-142439/mcs/class/System.Configuration/System.Configuration/SectionGroupInfo.cs:324 at System.Configuration.SectionGroupInfo.ReadData (System.Configuration.Configuration config, System.Xml.XmlReader reader, Boolean overrideAllowed) [0x00018] in /root/mono-142439/mcs/class/System.Configuration/System.Configuration/SectionGroupInfo.cs:277 at System.Configuration.SectionGroupInfo.ReadContent (System.Xml.XmlReader reader, System.Configuration.Configuration config, Boolean overrideAllowed, Boolean root) [0x0014b] in /root/mono-142439/mcs/class/System.Configuration/System.Configuration/SectionGroupInfo.cs:324 at System.Configuration.SectionGroupInfo.ReadRootData (System.Xml.XmlReader reader, System.Configuration.Configuration config, Boolean overrideAllowed) [0x00007] in /root/mono-142439/mcs/class/System.Configuration/System.Configuration/SectionGroupInfo.cs:269 at System.Configuration.Configuration.ReadConfigFile (System.Xml.XmlReader reader, System.String fileName) [0x000ec] in /root/mono-142439/mcs/class/System.Configuration/System.Configuration/Configuration.cs:511 at System.Configuration.Configuration.Load () [0x0004a] in /root/mono-142439/mcs/class/System.Configuration/System.Configuration/Configuration.cs:472 at System.Configuration.Configuration.Init (IConfigSystem system, System.String configPath, System.Configuration.Configuration parent) [0x00065] in /root/mono-142439/mcs/class/System.Configuration/System.Configuration/Configuration.cs:121 at System.Configuration.Configuration..ctor (System.Configuration.InternalConfigurationSystem system, System.String locationSubPath) [0x0005c] in /root/mono-142439/mcs/class/System.Configuration/System.Configuration/Configuration.cs:83 at System.Configuration.Configuration..ctor (System.Configuration.InternalConfigurationSystem system, System.String locationSubPath) [0x0003b] in /root/mono-142439/mcs/class/System.Configuration/System.Configuration/Configuration.cs:78 at System.Configuration.InternalConfigurationFactory.Create (System.Type typeConfigHost, System.Object[] hostInitConfigurationParams) [0x0000e] in /root/mono-142439/mcs/class/System.Configuration/System.Configuration/InternalConfigurationFactory.cs:42 at System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration (System.String path, System.String site, System.String locationSubPath, System.String server, System.String userName, System.String password, Boolean fweb) [0x0006b] in /root/mono-142439/mcs/class/System.Web/System.Web.Configuration_2.0/WebConfigurationManager.cs:322 ________________________________ Version information: Mono Runtime Version: tarball Thu Dec 9 06:33:31 CST 2010; ASP.NET Version: 2.0.50727.1433 _______________________________________________ Mono-aspnet-list mailing list [email protected] http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
