When I add my provider and consumer web parts to a web part page (following Walkthrough: Creating Connectable Web Parts in SharePoint Foundation) I find that the 'Connections' option on my webpart is disabled. I hover over the option to see the tooltip
The Web Part you are connecting from does not allow authoring of connections.
What causes this message to appear, and how can I fix it?