I'm having trouble to identify this (presumably broken) part for replacement:
It was used in a broken LED power supply, with 220-240 V AC on the input and 120-200V DC on the output. I suspect this part is broken, because there is always 230 V across it. One side of it is attached directly to the mains input. Its resistance appears to be infinitely high (measured resistance up to 20M, max. range of my Ohmmeter).
It looks like a resistor, but wikipedia tells me it could be a capacitor as well (source: http://en.wikipedia.org/wiki/Electronic_color_code#Capacitor_color-coding)
I have tried to figure out the value and I came out at a 1000V - 0.05 Farads capacitor, but I find this hard to believe. Can anyone confirm? Thanks!