did you use the dvi cable before of was it the first time you tried that cable?
there might be various reasons to the problem you faced.
1st your cable might be faulty.
2nd either the dvi plug of your card or your monitor might be faulty.
you can try swaping one thing at a time to give you a better idea about what the problem is.