Despite some preliminary evidence that low levels of Vitamin D along with a calcium deficiency in postmenopausal women may play a role in joint pain, it now appears that there might not be a correlation. The results of a study involving nearly 2000 women, with have being given D and calcium supplements and the other half taking a placebo over a two year period showed that there was no improvement in joint pain in those taking the supplements.
However, the results of this study should not result in anyone stopping their current supplement intake without first talking with their doctor as each supplement can still be helpful in treating a variety of other conditions. You can read the abstract of this study for additional information.