SharePoint Developer Center > SharePoint 2010 Forums > SharePoint 2010 - General Questions and Answers > error occured in deployment step 'retract solution' cannot start service SPUserCodeV4 on this computer

Answered error occured in deployment step 'retract solution' cannot start service SPUserCodeV4 on this computer

  • Thursday, February 11, 2010 6:52 AM
     
     
    While deploying a webpart in VS2010. i got this error - error occured in deployment step 'retract solution' cannot start service SPUserCodeV4 on this computer.

    How can i resolve it?

Answers

  • Tuesday, June 08, 2010 11:27 AM
     
     Answered

    You can do the following steps to resolve it.

    1. Go to Central Administration

    2. Open "System Settings"

    3. Open "Manage services on server"

    4. Locate the service “Microsoft SharePoint Foundation User Code Service”

    5. Start the service  “Microsoft SharePoint Foundation User Code Service”

     


All Replies

  • Thursday, February 11, 2010 3:06 PM
     
     

    Try restarting the Service 'Windows Sharepoint Service user code Host v4' in the Computer Management -> Services tab.


    Satheesh
  • Tuesday, June 08, 2010 11:27 AM
     
     Answered

    You can do the following steps to resolve it.

    1. Go to Central Administration

    2. Open "System Settings"

    3. Open "Manage services on server"

    4. Locate the service “Microsoft SharePoint Foundation User Code Service”

    5. Start the service  “Microsoft SharePoint Foundation User Code Service”

     


  • Monday, November 01, 2010 6:28 AM
     
     
    I have created a sandbox solution and deployed it, its working well and fine. 
     
    Again, I have logged the dev machine which a different user. Now i am able to build the solution successfully, but while deploying the same solution i am getting the error
     
    "Error occurred in deployment step 'Retract Solution': The local SharePoint server is not available. Check that the server is running and connected to the SharePoint farm."
     
    I have even tried changing the *.wsp file and deploying it manually and i am still getting the error.
     
    Thanks in advance?
  • Wednesday, January 26, 2011 7:53 PM
     
     Proposed Answer

    Actually service name is "Microsoft SharePoint Foundation Sandboxed Code Service " that needs to be activated

    To activate follow below step

    a)open central administrator on the server

    b) Look for Site Settings and click on it

    c) under Servers click on Manage Services on server

    now you would able to see above service. 

    • Proposed As Answer by raj7172 Tuesday, January 24, 2012 10:18 AM
    •  
  • Friday, March 23, 2012 9:44 PM
     
     Proposed Answer

    Open Central Admin

    Goto Services on Servers

    Start "Microsoft SharePoint Foundation Sandboxed Code Service "