[MonoDevelop] ConfigurationException in mono for the asp.net webservice
Tony Gu
tonyxgu at yahoo.com
Fri Aug 4 15:16:22 EDT 2006
I have installed mono 1.1.13 & 1.1.16 and publiched my ASP.NET2 webService application into it.
The functions do not work under mono 1.1.13 because WebConfigurationManager is not implemented yet, but the pront pages could be load up.
When I tried under mono 1.1.16 (I've tried 1.1.14 & 1.1.15 too, same error), got the ConfigurationException error as the following. Did anybody else get this problem? Is there a way to workaround?
Here is the webServices section in my web.config:
<webServices>
<protocols>
<add name="HttpGet"/>
<add name="HttpPost"/>
</protocols>
</webServices>
Thanks!
Tony
System.Configuration.ConfigurationException: Duplicate element in collection ()
in <0x0011d> System.Configuration.ConfigurationElementCollection:BaseAdd (System.Configuration.ConfigurationElement element, Boolean throwIfExists)
in <0x00033> System.Configuration.ConfigurationElementCollection:BaseAdd (System.Configuration.ConfigurationElement element)
in <0x001e2> System.Configuration.ConfigurationElementCollection:OnDeserializeUnrecognizedElement (System.String elementName, System.Xml.XmlReader reader)
in <0x004a2> System.Configuration.ConfigurationElement:DeserializeElement (System.Xml.XmlReader reader, Boolean serializeCollectionKey)
in <0x0052d> System.Configuration.ConfigurationElement:DeserializeElement (System.Xml.XmlReader reader, Boolean serializeCollectionKey)
in <0x0017a> System.Configuration.ConfigurationSection:DeserializeSection (System.Xml.XmlReader reader)
in <0x00190> System.Configuration.Configuration:GetSectionInstance (System.Configuration.SectionInfo config, Boolean createDefaultInstance)
in <0x000a3> System.Configuration.ConfigurationSectionCollection:get_Item (System.String name)
in <0x00142> System.Configuration.Configuration:GetSection (System.String path)
in <0x0001a> System.Web.Configuration.WebConfigurationManager:GetWebApplicationSection (System.String sectionName)
in <0x0000f> System.Web.Services.Configuration.WebServicesSection:get_Instance ()
in <0x00008> System.Web.Services.Configuration.WebServicesSection:IsSupported (WebServiceProtocols proto)
in <0x0006a> System.Web.Services.Protocols.WebServiceHandlerFactory:GetHandler (System.Web.HttpContext context, System.String verb, System.String url, System.String filePath)
in <0x001da> System.Web.HttpApplication:GetHandler (System.Web.HttpContext context)
in <0x00b23> System.Web.HttpApplication+<Pipeline>__5:MoveNext ()
---------------------------------
Do you Yahoo!?
Next-gen email? Have it all with the all-new Yahoo! Mail Beta.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20060804/c5875fc3/attachment.html
More information about the Monodevelop-list
mailing list