使用VSeWSS部署SharePoint解决方案 [英] Deploying SharePoint Solution using VSeWSS

查看:128
本文介绍了使用VSeWSS部署SharePoint解决方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个WSS 3.0开发站点,我想移至生产服务器.我正在使用VSeWSS 1.2进行部署.我使用SharePoint Solution Generator 2008生成了站点的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.

然后由于时间限制,我不得不在生产服务器上安装VS和VSeWSS并从那里进行部署.我看到了一些参考,其中所生成的SharePoint解决方案可以将它们很好地部署到远程服务器.

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.

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

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?

推荐答案

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

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!.

通过以下方式安装:

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

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

*allowgacdeployment as it says, its for GAC installations only

了解解决方案部署不会像Visual Studio一样激活功能非常重要,您必须使用命令行激活然后访问农场功能","WebApplication功能",网站集"功能"或站点功能"页面,具体取决于您的功能范围

对于一个漂亮的安装程序界面,它可以检查许多需求并可能弄清您的部署为何会中断,请使用免费的 SharePoint解决方案安装程序

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

这篇关于使用VSeWSS部署SharePoint解决方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆