SharePoint Foundation 웹 애플리케이션 서비스를 시작할 수 없습니다.

증상

Microsoft SharePoint Server 2013 또는 Microsoft SharePoint Server 2010에서는 SharePoint Foundation 웹 애플리케이션 서비스를 시작할 수 없습니다. 시작 중에 서비스가 중단되고 다음 오류 항목이 ULS 로그에 기록됩니다.

Provision of service failed. The process cannot access the file 'C:\inetpub\wwwroot\wss\VirtualDirectories\<web_app_name>\_app_bin\STSSOAP.DLL' because it is being used by another process. If this is a Web service, IIS must be restarted for the change to take effect. To restart IIS, open a command prompt window and type "iisreset /noforce".       

원인

바이러스 백신 검사로 인해 문제가 발생합니다.

해결 방법

참고

SharePoint Foundation 웹 애플리케이션 서비스가 중지되면 변경 내용 및 기타 사용자 지정에 web.config 손실될 수 있습니다. 이 수정 사항을 적용하기 전에 C:\inetpub\wwwroot\wss\VirtualDirectories 폴더를 백업하는 것이 좋습니다.

이 문제를 해결하려면 다음 단계를 따릅니다.

  1. KB 952167 지침에 따라 바이러스 백신 검사에서 특정 폴더를 제외합니다.

  2. 다음 PowerShell 명령을 실행하여 SharePoint Foundation 웹 애플리케이션 서비스를 중지합니다.

    $service = Get-SPServiceInstance -Server $server | where-object {$_.TypeName -eq "Microsoft SharePoint Foundation Web Application"}  
    Stop-SPServiceInstance $service
    
  3. SharePoint Foundation 웹 애플리케이션 서비스가 중지된 후 IIS 관리자에 SharePoint 사이트의 잔재가 있는지 여부를 검사 IIS 관리자에서 기존 사이트를 삭제합니다.

  4. SharePoint 구성 캐시를 지웁 수 있습니다. 이 작업을 수행하는 단계는 이 개발자 문서를 참조하세요.

  5. 다음 명령을 실행하여 서비스를 프로비전합니다.

    stsadm -o provisionservice -action start -servicetype spwebservice  
    

추가 정보

아직 해결되지 않았습니까? SharePoint 커뮤니티로 이동합니다.