Search This Blog

Tuesday, March 06, 2007

Deploying WSS 3.0 Full Templates Part 2

Emm... I just relized I have added another option in the deploysolution part with a "-allowgacdeployment". This may be necessary for some installations.

Ok, back to my problem. I have Deployment Status : Error now in my solution if you check under Administration portal, Central Administration->Operations->Solution Management->Properties.

If I try to deploy again, I get the error :

"A deployment or rectraction is already under way for the solution "applicationtemplatecore.wsp", and only one deployment or retraction at a time is supported."

This is bad. We need to cancel the deployment. Trying retraction option will give the same error. The right thing to do is to canceldeployment. First make sure the Administrative service is running. See details in the previous post.

Then do this :
1. stsadm -o enumdeployments. You should see a id with some number.
2. stsadm -o canceldeployment -id
3. Run again Step 1 to see no more deployment. Then this is correct.

You should see succesful now. VERY IMPORTANT. There was a mistake in the previous post. One of the step was WRONG. You should deploy the application core again with :

stsadm -o deploysolution -name ApplicationtemplateCore.wsp -allowgacdeployment -local

Notice to use "-local" instead of "-immediate". Looks like the suggested parameter by Microsoft was the thing that got us into this trouble in the first place. And also before you run this, be very sure you have the Administrative Service running or else its back to square one again.

Only 1 last step remains to complete the core template :

stsadm -o copyappbincontent

Just to verify, you can run enumdeployment again.

Phew, thats only the first step to deploying the templates. We will move on to the site admin templates from here.

No comments:

Amazon Gift Cards!

Thanks for viewing!

Copyright © 2008 nemesisv.blogspot.com, All rights reserved.