[Mono-dev] Mono fails (randomly?) with this error message

Frank Cohen frankenspank at gmail.com
Sun Nov 25 17:34:14 UTC 2012


I am running Mono 2.10.9 under mod_mono/cent os.  I am getting this
error, seemingly at random.  When I restart Apache, the error goes away.

Should I upgrade to another version of Mono? I upgraded to 2.10.9 because I
was having issues with a previous stable release, this issue only appeared
since the update to 2.10.9.

Error below,

- Frank



System.Configuration.ConfigurationErrorsException: Unrecognized attribute
'targetFramework'. (/var/www/vhosts/site//httpdocs/Web.config line 1)
  at System.Configuration.ConfigurationElement.DeserializeElement
(System.Xml.XmlReader reader, Boolean serializeCollectionKey) [0x0046d] in
/root/mono-2.10.9/mcs/class/System.Configuration/System.Configuration/ConfigurationElement.cs:408
  at System.Configuration.ConfigurationSection.DoDeserializeSection
(System.Xml.XmlReader reader) [0x000d7] in
/root/mono-2.10.9/mcs/class/System.Configuration/System.Configuration/ConfigurationSection.cs:183
  at System.Configuration.ConfigurationSection.DeserializeSection
(System.Xml.XmlReader reader) [0x00000] in
/root/mono-2.10.9/mcs/class/System.Configuration/System.Configuration/ConfigurationSection.cs:189
  at System.Configuration.Configuration.GetSectionInstance
(System.Configuration.SectionInfo config, Boolean createDefaultInstance)
[0x000e3] in
/root/mono-2.10.9/mcs/class/System.Configuration/System.Configuration/Configuration.cs:305
  at System.Configuration.ConfigurationSectionCollection.get_Item
(System.String name) [0x00032] in
/root/mono-2.10.9/mcs/class/System.Configuration/System.Configuration/ConfigurationSectionCollection.cs:68
  at System.Configuration.Configuration.GetSection (System.String path)
[0x0006a] in
/root/mono-2.10.9/mcs/class/System.Configuration/System.Configuration/Configuration.cs:261
  at System.Web.Configuration.WebConfigurationManager.GetSection
(System.String sectionName, System.String path, System.Web.HttpContext
context) [0x001d4] in
/root/mono-2.10.9/mcs/class/System.Web/System.Web.Configuration_2.0/WebConfigurationManager.cs:503
  at System.Web.Configuration.WebConfigurationManager.GetSection
(System.String sectionName, System.String path) [0x00000] in
/root/mono-2.10.9/mcs/class/System.Web/System.Web.Configuration_2.0/WebConfigurationManager.cs:418
  at
System.Web.Configuration.WebConfigurationManager.GetWebApplicationSection
(System.String sectionName) [0x0002c] in
/root/mono-2.10.9/mcs/class/System.Web/System.Web.Configuration_2.0/WebConfigurationManager.cs:670
  at System.Web.Compilation.AppCodeAssembly.Build (System.String[]
binAssemblies) [0x0011f] in
/root/mono-2.10.9/mcs/class/System.Web/System.Web.Compilation/AppCodeCompiler.cs:203
  at System.Web.Compilation.AppCodeCompiler.Compile () [0x000bb] in
/root/mono-2.10.9/mcs/class/System.Web/System.Web.Compilation/AppCodeCompiler.cs:666
  at System.Web.HttpApplicationFactory.InitType (System.Web.HttpContext
context) [0x00078] in
/root/mono-2.10.9/mcs/class/System.Web/System.Web/HttpApplicationFactory.cs:422
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20121125/ac51f3e3/attachment.html>


More information about the Mono-devel-list mailing list