25 Eylül 2012 Salı

Infopath form stuck on deleting status

Hi,


If you have an Infopath form which stucks on "Deleting" status and even you try to retract the corresponding wsp file, it stucks on "Retracting" you should delete the solution using stsadm.

People keep saying that I should restart the admin jobs using the "stsadm -o execadmsvcjobs" command but it was not helping.. But please try this before removing everything : ) It s worth to try..

So, since the command was not solving my issue, I ve decided to remove everything and reupload the form from scratch.

To remove the form, you should do 3 things.

1. Cancel the Retracting job
2. Delete the corresponding solution.
3. Delete the form template

Important !!
After cancelling the retraction you should first delete the solution and then you should delete the form template, otherwise it stucks.


Here we go:

Retracting the job:
Central Admin - System Settings - Under Farm Management - Manage farm solutions - Find your solution and Cancel Retracting Job

Then:

Start cmd as Admin, Go to the 14 hive and type the commands below:

DELETE SOLUTION on STSADM
stsadm -o deletesolution -name YOUR_WSP_NAME.wsp -override

REMOVE FORM TEMPLATE on STSADM
stsadm -o removeformtemplate -formid FORM_ID

To see the form id of your form:

Central Administration - Manage Form Templates - Go to Properties of the desired .xsn form
Get the text in Form ID: section (it starts with urn:schemas-microsoft-com: ...)

Now you are good to go..

Try to reupload and publish your form.

Cheers

edit:
Actually, reuploading the  form did not resolve my problem, there is something really weird going on on my machine.. I ll share the resolution if I can find any.

Hiç yorum yok:

Yorum Gönder