Sharepoint 2007, Standard "custom" web part feature.
When I try to deploy the feature using the stsadm command, the command reports a success, but in Central Admin it is not deployed.
"%SPAdminTool%" -o deploysolution -name "%PackageName%" -local -allowGacDeployment -url %TargetWebUrl%
Trying to then activate the feature reports a "cannot be activated"
Output from standard setup.bat
Validating the content of solution webPart.wsp ...
Adding solution webPart.wsp to SharePoint ...
Operation completed successfully.
Deploying solution webPart.wsp ...
Operation completed successfully.
Activating feature webpart.myWebPart ...
Feature '{GUID}' is not installed in this farm, and can not be added to this scope.
If I go to Central Admin and manually "Deploy Solution", then either run the activate command manually or through the "Activate Site Features" the feature is activated correctly, and can be used.
My question:
How do I get the equivalent stsadmn command as whatever was run from Central Admin, so that I can update my setup.bat?
Thanks in advance,
Lodlaiden
You've got questions and source code. We want both!
There's a whole lot of Irish in that one.
When I try to deploy the feature using the stsadm command, the command reports a success, but in Central Admin it is not deployed.
"%SPAdminTool%" -o deploysolution -name "%PackageName%" -local -allowGacDeployment -url %TargetWebUrl%
Trying to then activate the feature reports a "cannot be activated"
Output from standard setup.bat
Validating the content of solution webPart.wsp ...
Adding solution webPart.wsp to SharePoint ...
Operation completed successfully.
Deploying solution webPart.wsp ...
Operation completed successfully.
Activating feature webpart.myWebPart ...
Feature '{GUID}' is not installed in this farm, and can not be added to this scope.
If I go to Central Admin and manually "Deploy Solution", then either run the activate command manually or through the "Activate Site Features" the feature is activated correctly, and can be used.
My question:
How do I get the equivalent stsadmn command as whatever was run from Central Admin, so that I can update my setup.bat?
Thanks in advance,
Lodlaiden
You've got questions and source code. We want both!
There's a whole lot of Irish in that one.