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

    Question

  • 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?
    Thursday, February 11, 2010 6:52 AM

Answers

  • 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”

     


    Tuesday, June 08, 2010 11:27 AM

All replies

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


    Satheesh
    Thursday, February 11, 2010 3:06 PM
  • 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”

     


    Tuesday, June 08, 2010 11:27 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?
    Monday, November 01, 2010 6:28 AM
  • 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. 

    Wednesday, January 26, 2011 7:53 PM
  • Open Central Admin

    Goto Services on Servers

    Start "Microsoft SharePoint Foundation Sandboxed Code Service "

    Friday, March 23, 2012 9:44 PM
  • The usercode service has been renamed as Microsoft SharePoint Foundation Sandboxed Code Service
    Monday, June 18, 2012 10:25 PM