you have the wrong connector. a fan will either have 3/4 pin FEMALE connector or a 4 Pin Molex connector.
if it's 3/4 pin male then u have the wrong end of an extension / adapter.
trace the cable back. start from the FAN and follow the connector.
post pics if u still have problems.