HI All,
Generally while you are developing SharePoint Solutions in VS 2010/2012/2013.Our Most
Important Job is Deploying the Solutions , rite. There will be a rare cases
that after deploying solution while activating the feature you will get below
error.
Error occurred in deployment step 'Activate Features': A timeout has occurred while invoking commands in SharePoint host process.
This will happen only while activating feature through VS
Only. As it is taking lot of time to activate the feature.
To Resolve the above issue we need to follow the below
Procedure.
Open Window Run and type regedit and click on OK.
Navigate to below mentioined path in registry.
VS 2010
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\SharePointTools
VS 2013
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0\SharePointTools
After Pointing to SharePointTools , right click on it and
create one new DWORD(32-bit) entry
Provide the “ChannelOperation Timeout” as and Value is
600(10 min) in my case.You can give as per your wish.
Close the VS to effect and reopen it and try now.
Hi, i try doing the same for Sharepoint 2016 and visual studio 2017 but i can't found this path :
ReplyDeleteHKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0\SharePointTools
Thanks for the nice article!!!
ReplyDeletehttp://trickycoder.com