Error occurred in deployment step 'Add Solution': Operation is not valid due to the current state of the object. RRS feed

  • Question

  • Hi All,

    I am getting this error while deploying my site workflow from visual studio 2010.

    I didn't made any changes in the project created default by visual studio still i am getting this error.

    I googled for it, and tryed some solution, but no luck..

    1. IIS Rest

    2. Kill vssphost4.exe

    3. Restart Visual Studio

    Any suggestions?

    Arvind Gehlot

    Wednesday, April 25, 2012 9:46 AM


  • Hi Arvind,

    From the above desciption it is very difficult to find what exactly went wrong with your deployment. There are various processes to deploy the workflows depending on whether you are deploying a VS workflow or SharePoint Desgner workflow. Please follow the link to understand the deployment process for workflows. Hope it will help you.



    Please remember to click "Mark As Answer" if a post solves your problem or "Vote As Helpful" if it was useful. It'll help other users who are visiting your thread for the similar problem.

    • Marked as answer by Entan Ming Friday, May 4, 2012 10:34 AM
    Wednesday, April 25, 2012 10:04 AM