使用 STSADM 将解决方案重新部署到 SharePoint 2007

发布于 2024-08-16 09:26:48 字数 244 浏览 2 评论 0原文

因此,我使用以下命令将解决方案部署到 SharePoint,因为我是 SharePoint 开发的新人。

stsadm -o addsolution -filename Demo.wsp

我使用 WSPBuilder 构建了仅包含一个 Web 部件的 wsp 文件。我该如何部署新的 wsp 文件。当我尝试使用上面相同的命令时,我收到错误。

解决方案存储中已存在同名“Demo.wsp”或 ID“blahblah”的解决方案

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" or id "blahblah" already exists in the solution store

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

猫卆 2024-08-23 09:26:48

使用 stsadm -o Upgradesolution -filename; -name-- 但请记住,新 WSP 和当前 WSP 的解决方案 ID 必须相同(通常情况就是这种情况,除非您正在做一些有点奇怪的事情。)

-Oisin

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文