Atualmente estou desenvolvendo o novo recurso WorkFolder da Microsoft, o que parece muito promissor para abandono do recurso de redirecionamento de pasta desordenado. Então eu instalei o recurso usando o ServerManager em "Arquivo e iSCSI Services" e passei pelo assistente.
No entanto, quando tento criar o compartilhamento que recebo:
Create sync share failed: The WS-Management service cannot process the request. The service cannot find the resource identified by the resource URI and selectors.
Em seguida, tentei realizar a tarefa usando o powershell:
PS > New-SyncShare WorkFolderTest C:\WorkFolderTest -User "MYDOMAIN\Domain Users"
Isso falha com o seguinte erro intrigante:
New-SyncShare : Not found
At line:1 char:1
+ New-SyncShare WorkFolderTest C:\WorkFolderTest -User "MYDOMAIN\Domain Users"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Msft_SyncShare:Root/Microsoft/.../Msft_SyncShare) [New-SyncShare], CimE
xception
+ FullyQualifiedErrorId : HRESULT 0x80041002,New-SyncShare
De acordo com algumas postagens no technet, as pessoas podem resolver isso compartilhando previamente a pasta (C: \ WorkFolderTest no meu caso). No entanto, isso não funcionou para mim. O que eu estou fazendo errado aqui? Desde já, obrigado.
[Adendo]
O log de eventos do aplicativo mostra os seguintes erros. Então, isso está de alguma forma relacionado ao IIS WebCore.
Source: HostableWebCore
EventID: 2276
Details: The worker process failed to initialize correctly and therefore could not be started. The data is the error.
Source: HostableWebCore
EventID: 2269
Details: The worker process for app pool 'SyncSharePool', PID='3916', failed to initialize the http.sys communication when asked to start processing http requests and therefore will be considered ill by W3SVC and terminated. The data field contains the error number.
Source: MsiInstaller
EventID: 1002
Details: Unexpected or missing value (name: 'x8633', value: '甅닔ă') in key 'HKLM\Software\Classes\Installer\ComponentsEAFA0B8A4403B428FDE038B252C621'
Além disso, não consigo iniciar o serviço "Windows Sync Share". Ele falha com:
Windows could not start the Windows Sync Share on local computer. For more information, review the system event log. If this is a non-microsoft service, contact the service vendor, and refer to service-specific error code **-2147024713**.
O log de eventos do sistema diz:
Source: Service Control Manager
EventID: 7024
Details: The Windows Sync Share service terminated with the following service-specific error:
Cannot create a file when that file already exists.