1

I have a WSP that contains a web part. It's being built using WSPBuilder. Most of the time, the WSP deploys perfectly. However, in two of our test environments (and sadly, in production, too) the WSP doesn't deploy properly to all the web front ends.

The assemblies make it into the GAC, and the .webpart files get provisioned. The problem is that a tool part that the web part relies on for configuration simply fails to appear. I've determined that every time this has happened, it has been isolated to a single web front end.

I've been able to resolve the issue by doing an stsadm -o deploysolution to re-deploy the solution, and in one instance it was resolved by the end user deactivating/reactivating the feature. Unfortunately, though, this has made it impossible to determine if the control isn't being deployed properly, or if it's some other issue.

Any thoughts on this? Could it be a problem with the WSP, or is it likely to be environmental?

1
  • The partial deployment was very frequent on our environnements too.
    – rds
    Sep 1, 2011 at 15:45

3 Answers 3

1

Make sure the timer job service is running consistently on that WFE. It's not necessarily intuitive, but deploying solutions is actually a "pull" done by the WFE.

Also, if activating/deactivating a feature works on a given WFE, that means it must already have the bits deployed to it that it needs, which means the solution deployment worked.

If you want a more specific answer, you may need to be a little more specific about the "tool" that "fails to appear".

0

Additionally, try manually running the admin service jobs to finish off sluggish deployments to multiple web apps.

stsadm -o execadmsvcjobs

0

Run the following troubleshooting steps to resolve this problem:

  1. Execute 'stsadm -o execadmsvcjobs' on your Central Administration server.

If the first step does not fix it, try:

  1. Execute 'stsadm -o execadmsvcjobs' on all the servers in the SharePoint farm.
  2. Restart the SharePoint Timer Service on all servers in the SharePoint farm.
  3. Check that all the servers in the SharePoint farm are using the same time zone.
  4. Delete the deployment timer job that is causing the problem.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .