.net - Unhandled Exception: System.Configuration.ConfigurationErrorsException: Unrecognised element 'services'. Nested ConfigurationElementCollection -


मेरे पास App.Config में एक निम्न configSection है।

  & lt;? Xml संस्करण = "1.0" एन्कोडिंग = "यूटीएफ -8"? & Gt; & LT; विन्यास & gt; & LT; configSections & gt; & Lt; अनुभाग नाम = "servicesConfig" प्रकार = "Admin.Config.ServicesConfig, TestConsole" / & gt; & Lt; / configSections & gt; & LT; servicesConfig & gt; & LT; serviceGroups & gt; & Lt; services group = "group1" & gt; & Lt; add name = "Service1" host = "localhost" / & gt; & Lt; add name = "Service2" host = "localhost" / & gt; & Lt; / सेवाओं & gt; & Lt; सेवा समूह = "समूह" & gt; & Lt; add name = "Service1" host = "localhost" / & gt; & Lt; add name = "Service2" host = "localhost" / & gt; & Lt; / सेवाओं & gt; & Lt; / serviceGroups & gt; & Lt; / servicesConfig & gt; & Lt; / विन्यास & gt;  

यह निम्नलिखित वर्गों में सी #

के लिए मैप किया गया है: मुझे निम्न त्रुटि मिल रही है

अप्रयुक्त अपवाद: System.configuration.ConfigurationErrorsException: अपरिचित तत्व 'सेवाएं'

  सार्वजनिक वर्ग सेवा: कॉन्फ़िगरेशन एलेमेंट  

सेवा बदलें सेवाओं के लिए।


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -