<div>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.</div><div><br></div><div>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.</div>
<div><br>Error below,</div><div><br></div><div>- Frank</div><div><br></div><div><br></div><div><br></div><div>System.Configuration.ConfigurationErrorsException: Unrecognized attribute 'targetFramework'. (/var/www/vhosts/site//httpdocs/Web.config line 1)</div>
<div>  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 </div>
<div>  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 </div><div>
  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 </div><div>  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 </div>
<div>  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 </div><div>
  at System.Configuration.Configuration.GetSection (System.String path) [0x0006a] in /root/mono-2.10.9/mcs/class/System.Configuration/System.Configuration/Configuration.cs:261 </div><div>  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 </div>
<div>  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 </div>
<div>  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 </div>
<div>  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 </div><div>  at System.Web.Compilation.AppCodeCompiler.Compile () [0x000bb] in /root/mono-2.10.9/mcs/class/System.Web/System.Web.Compilation/AppCodeCompiler.cs:666 </div>
<div>  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 </div>