SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 2 down vote accepted

This error simply means that the web part being edited does not support connections - it has not been coded correctly.

In this case I was receiving the error because I placed the ConnectionProvider and ConnectionConsumer attributes and methods on the UserControl objects inside the Web Parts, rather than the Web Parts themselves.

share|improve this answer

You also cannot have connectable web parts in a Sandbox solution. It will not throw any error, you will se the "Connections" menu but it will be always disabled.

To change this go to your Project properties window (F4) and change the Sandboxed Solution property to "False", in next deployment things will work fine.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.