Friday, December 17, 2010

Failed to connect to an IPC Port: Access is denied

I was working on verify/uploading "Administrator-approved" Infopath form on MOSS. However, when i uploaded my form onto "Manage Form Template" page. Its status shown as "Installing" (instead of "Ready").

Doing some research for couple of days, i came to know that all forms are converted into jobs and all those jobs are executed by Timer service. So below command will run all pending sharepoint jobs on MOSS:
-- stsadm.exe -o execadmsvcjobs

Issue: Some how, maximum jobs got executed and few jobs failed with error: "Failed to connect to an IPC Port: Access is denied".

(After running above command, try to refresh page and check your form status. If its still in "Installing" Or "Upgrade" Or "Deleting" status, then you can read ahead...)

Again with my 2 days research, I got to know that jobs which failed needs to execute by Service Or System Account (Account which is created during Sharepoing installation). For me as a Sharepoint programmer at beginner level, I didn't got System account from my IT Service department. So, I thought to opt for another solution.

I found another solution: Solution Mangement Page on MOSS.

Now, every form template which is verify/uploaded onto server will generate unique ID and that ID will be stored in Solution Management. You can check it in Central Admin -> Operations.

This page will store all *.wsp (Sharepoint Solution Package) files.

If you are not sure which solution is associated with your uploaded form, then follow below steps:

  1. Open your server computer and check in "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES".
  2. You can find folder name with non-user friendly name like "FT-01-4f0153a1-906a-7d5e-0e93-2d469bc3d0e4".

After you know your solution file, Click on your solution file (.wsp) on Solution Management page and click on "Deploy Solution" link. Don't be greedy. Yet your status has not changed yet. Again this deployement job needs to be executed by above command. Now, check your .wsp file status on Solution Management page. It should be "deployed" status and Deployed To should be "Globally Deployed" status. After this time, a folder will be created with *.wsp name onto your Server file system ("C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES")

Now, you can check your infopath file status on "Manage Form Templates" page.

Hope this could help you with the solution.

Do send me your feedback and query.

- Chintan

No comments:

Post a Comment