Thursday 2 August 2007

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

While trying to deploy an Infopath form, we came across this error:

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

The code built and deployed locally without any issues, but when I tried to associate the workflow to list, I was seeing an error:

C:\>stsadm -o execadmsvcjobs
Executing .Executing SharePoint Worker Process Group Update2849f6c6-fdb5-48a1-a1b1-f3cab0bd3e76.The SharePoint Worker Process Group Update2849f6c6-fdb5-48a1-a1b1-f3cab0bd3e76 job failed with the following error. This job will be skipped. Failed to connect to an IPC Port: Access is denied.
Operation completed successfully.


It turned out that the system account who is accessing the database needed to be marked as a sysadmin in SQL2005 on all system and SharePoint/WSS databases. Once marked, everything worked fine.

1 comment:

H. L. said...

I solved this by starting the Windows SharePoint Services Administration service in the services MMC. That is the service that is involved here I believe, not the Windows SharePoint Services Timer service. I'm not sure why that service wasn't started to begin with. FWIW, the Administration service out-of-the-box was configured to run under Local System account, which seems fine since the jobs aren't failing now.