使用 VSeWSS 部署 SharePoint 解决方案

发布于 2024-08-02 08:29:29 字数 380 浏览 10 评论 0原文

我有一个开发 WSS 3.0 站点,我想将其移至生产服务器。我正在使用 VSeWSS 1.2 进行部署。我使用 SharePoint Solution Generator 2008 生成了该网站的 SharePoint 解决方案。在本地部署它时,它工作正常,但当我尝试将它部署到远程生产服务器时,它无法部署。

然后,由于时间限制,我必须在生产服务器上安装 VS 和 VSeWSS 并从那里进行部署。我看过一些参考资料,其中生成的 SharePoint 解决方案能够很好地部署到远程服务器。

在 VSeWSS 1.2 中使用 SharePoint Solution Generator 2008 时,应使用哪些策略将 SharePoint 解决方案有效地部署到具有生成的 SharePoint 解决方案的远程服务器?

I have a development WSS 3.0 site that I wanted to move to a Production server. I am using VSeWSS 1.2 to do my deployment. I generated the SharePoint solution of the site with SharePoint Solution Generator 2008. When deploying it locally it works fine, but when I tried to deploy it to the remote Production server it would not deploy.

I then had to install VS and the VSeWSS on the Production server and deploy from there because of time constraints. I have seen references where the generated SharePoint solutions are able to deploy fine to remote servers.

What strategies should be used to effectively deploy SharePoint solutions to remote servers with the generated SharePoint solutions when using SharePoint Solution Generator 2008 in VSeWSS 1.2?

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

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

发布评论

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

评论(2

欢烬 2024-08-09 08:29:29

据我所知,解决方案生成器仅适用于本地计算机。然后,您可以将生成的 Visual Studio 解决方案打包在 WSP 文件中,并使用 STSADM 将其部署到服务器。

你说

我已经看到生成的 SharePoint 解决方案能够生成远程服务器的精细信息。

您能否提供一个指向您在哪里看到此内容的链接?

To my knowledge, THe solution generator works only on local machine. You can then package the resulting Visual Studio solution in a WSP file and deploy that to the server using STSADM.

You state

I have seen reference of the generated SharePoint solutions being able to generate fine to remote servers.

Could you please provide a link to where you have seen this?

坏尐絯 2024-08-09 08:29:29

您必须将 WSP 单独移动到服务器,您不应该在生产服务器中安装任何东西,甚至更不用说 Visual Studio!

安装它:

stsadm -o addsolution -filename C:\mysolution.wsp
stsadm -o deploysolution -name mysolution.wsp -immediate -allowgacdeployment
stsadm -o execadmsvcjobs

*allowgacdeployment 正如它所说,仅适用于 GAC 安装

了解解决方案部署不会像 Visual Studio 那样激活功能非常重要,您必须使用命令行激活还是访问“场功能”, “Web应用程序功能”、“网站集功能”或“网站功能”页面,具体取决于您的功能范围

对于一个漂亮的安装程序界面,可以检查许多要求并可能找出您的部署可能会中断的原因,请使用免费的 < a href="http://www.codeplex.com/sharepointinstaller" rel="nofollow noreferrer">SharePoint 解决方案安装程序

You have to move the WSP to the server alone, you are not suppose to install anything in the production server, even more visual studio!.

Install it with:

stsadm -o addsolution -filename C:\mysolution.wsp
stsadm -o deploysolution -name mysolution.wsp -immediate -allowgacdeployment
stsadm -o execadmsvcjobs

*allowgacdeployment as it says, its for GAC installations only

It is very important to understand that solution deploy does not activate features like Visual Studio does, you have to whether activate then with the command line or access the 'Farm Features', 'WebApplication Features', 'Site Collection Features' or 'Site Features' pages depending on your feature Scope

For a pretty installer interface that checks for many requirements and might find out why your deploys might be breaking, use the free SharePoint Solution Installer

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