Dotaz Visual Studio 2010 and SharePoint timeouts

  • 14. června 2012 18:24
     
     

    I am developing a solution within Visual Studio 2010 for SharePoint 2010.  Once of my eventReceivers creates about 2000 KeyValuePairs, so I get (and would expect with the default timeout of 120) the SharePoint process timeouts when deploying.

    (ref: http://msdn.microsoft.com/en-us/library/ee471440.aspx)

    HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\ exists in my environment, but SharePointTools does not.  If I create this, and then the REG_DWORD, it does not seem to have any affect.

    I have found another similar registry entry at HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0_Config\SharePointTools (it previously existed here), but when I add the Timeout REG_DWORD, it is wiped out when I restart Visual Studio.

    Which should I be adding the REG_DWORD to - 10.0 (as article says) or 10.0_Config (where SharePointTools existed)?

Všechny reakce

  • 14. června 2012 19:05
    Moderátor
     
     
    Is it the Application Pool that is timing out on you?

    http://sharepoint.nauplius.net

  • 14. června 2012 21:15
     
     

    My deployments always fail during the feature activiation of the features which creates these large lists.  Exact error message is:

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

  • 25. prosince 2012 13:37
     
     
    Hello!

    I had the same problem.
    Try to find all "SharePointTools" keys in registry and create ChannelOperationTimeout (of DWORD type) (and apply needed value) in each of them.

    My contributions: SharePoint 2010 Solution Installer