This is perhaps the most common cause of odor that won't go away.
Anal sacs are two small scent-sacs in the area of the anus.
When a dog has a bowel movement, these sacs are normally squeezed and a very smelly, oily secretion is released with the feces.
Many people associate this smell with rotting fish.