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

Hi I am getting timeout error while trying to deploy my sp solution via visual studio 2010. It happens when my a particular feature is trying to activat. The generic error message I get goes something like this:

Error occurred in deployment step 'Activate Features': A timeout has occurred while invoking commands in SharePoint host process.

I've tried increasing the timeout in the IIS console for the SharePoint website (via the Advanced settings Dialog).

How can I solve this problem?

share|improve this question

There is a registry value that doesn't exist by default, that can be added to change the timeout of the server, I think on development machines the default SP settings dont allow for deployment of large .WSP solutions, or could also be slower platforms.

Goto the following regustry key: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\SharePointTools

Add the following as a DWORD (wont be there by default)


REG_DWORD that specifies the time, in seconds, that Visual Studio waits for a SharePoint command to execute. If the command does not execute in time, a SharePointConnectionException is thrown. The default is 120 seconds.

This explains at the bottom some registry keys that can be added for debugging, which includes the one mentioned.

share|improve this answer

it could be related to ChannelOperationTimeout

Also, don't forget to restart Visual Studio

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.