开发者

Redeploy Solution to SharePoint 2007 using STSADM

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜