an entry with the same key already exists asp net

Code Example - an entry with the same key already exists asp net

                
                        In my case i was using an ad rotator and one of the properties in the xml
file was redundant. Hence the error.