Error occurred in deployment step 'Activate Features': Cannot start service SPUserCodeV4 on computer

793 단어 SharePoint
When you first use VS2010 to deploy a sandboxed solution project (default project) , you may see this error:
Error	1	Error occurred in deployment step 'Activate Features': Cannot start service SPUserCodeV4 on computer ''.
		0	0	MySharePointProject1
Resolution:

Go to Central Administration-->select System Settings-->select Manage services on server-->Find the 'Microsoft SharePoint Foundation Sandbox Code Service' and click Start.
 
 
 
이 오류에 부딪히면 반나절이 걸려서 철저한 해결 방법을 찾지 못했습니다. 절충점은 먼저 vs에서 deploy를 하고 다음 install-spsolution 명령을 실행하고 다시 배치하면 배치됩니다.
PS> install-spsolution -identity suveryeventreceiverproject1.wsp -gacdeployment

좋은 웹페이지 즐겨찾기