开发者

Redeploy Solution to SharePoint 2007 using STSADM

开发者 https://www.devze.com 2022-12-15 03:44 出处:网络
So I have used the following command to deploy a solution to SharePoint as I am a new commer to SharePoint developement.

So I have used the following command to deploy a solution to SharePoint as I am a new commer to SharePoint developement.

stsadm -o addsolution -filename Demo.wsp

I used WSPBuilder to build the wsp file which just contains one web part. What do I do deploy the new wsp file. When I try using the same command above I get the error.

a solution with the same name "Demo.wsp" 开发者_JS百科or id "blahblah" already exists in the solution store


Use stsadm -o upgradesolution -filename <localwsp> -name <solutionname> -- but remember that the solutionid must be the same for both the new and the current WSPs (this is normally the case unless you're doing something a bit weird.)

-Oisin

0

精彩评论

暂无评论...
验证码 换一张
取 消