If I click the product edit link in the Shopping cart, follow message displays "Cannot configure product."

This message only displays if the product I am trying to edit is a configurable product.

Anyone got any ideas how to fix?