Prev: Get an ArgumentOutOfRangeException when added a new row in my DataGridView and shift select one of the new cell
Next: Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime ... Please, how to solve this
From: Peter Duniho on 26 Apr 2010 19:23 saurabh srivastava wrote: > [...] > but when I serializing the object it is giving the exception. > > ****** XmlSerializer ser = new > XmlSerializer(configSection.GetType());-->this line throwing the > exception > > "You must implement a default accessor on > System.Configuration.ConfigurationLockCollection because it inherits > from ICollection." > > Any Solution *** The error message seems pretty clear to me. Implement a default accessor. Pete |