I have a web.config in ASP.net giving me configuration error.
If you override the ToString() method then this will work. Looks like the configuration mechanism uses that to check if something already exists in the collection