Mittwoch, 11. August 2010

Deployment: Failed to connect to an IPC Port: Access is denied.

Today I deployed a wsp file on a new machine, and got the following error info:

E:\wsps>stsadm -o deploysolution -name xxxxxCORE.wsp -immediate -allowGacDeployment -allowCasPolicies -url http://localhost:4712/
Timer job successfully created.
E:\wsps>stsadm -o execadmsvcjobs
Executing .Executing solution-deployment-xxxxxxcore.wsp-0.The solution-deployment-bdfkmcore.wsp-0 job completed successfully, but could not be properly cleaned up. This job may execute again on this server.Executing SharePoint Worker Process Group Update4c6b5f51-434a-4536-8699-4420fe5ca118.The SharePoint Worker Process Group Update4c6b5f51-434a-4536-8699-4420fe5ca118 job failed with the following error. This job will be skipped. Failed to connect to an IPC Port: Access is denied.

It seems that the SharePoint Service Timer has no access to run the task. Go to Compenonts Services--> Service(Local). I check the logon accout in the service timer property and found that the account is "network service", which has no access for our sharepoint system. When I change the logon to "Local system account " and restart the timer agian. Then I try to update the wsp again and it works prefect! The problem is resolved.

Keine Kommentare:

Kommentar veröffentlichen