Content Deployment执行之前是否需要开启feature? 安装dll到GAC?
2010-04-21 20:09
295 查看
feature要安装, 但是不要开启.
web.config文件要改.
dll要装到gac中.
准备Content Deployment目的站点集的具体步骤:
1. 创建一个空的站点集. 你需要使用stsadm –o createsite 命令来创建空站点集. 注意, 空站点集与空白站点集是不同的.
2. 添加并部署所有的sharepoint solution package(wsp)文件到目的服务器场. 一般来说, 部署wsp文件会安装feature到目的服务器场. 如果你没有使用wsp, 那么你需要确保所有的feature被安装到服务器场上, 但是不被开启.
3. 进行必要的文件系统的修改. 比如说, 修改web.config文件, 安装或者部署没有被wsp部署包括进去的.net程序集到GAC中.
原文如下:
=============
To prepare the destination site collection Create an empty site collection in the production farm. This is where the content will be deployed. An empty site template differs from a blank site template in that it contains no content, libraries, or activated features. A blank site contains some content and has some features that are activated. The only way to create an empty site collection is with the following STSADM command: STSADM.EXE -o createsite -url <url-to-site-collection> -ownerlogin domain\user -owneremail <email-address>
Add and deploy all the SharePoint Solution Packages (WSP) to the production farm. Typically, deploying the WSP should install all features to the production farm. However, if you are not using WSPs or if you have an exceptional case, ensure that all features are installed but not activated. Make any necessary file system changes. For example, modify the Web.config files and install or place in the global assembly cache any .NET Framework assemblies that were not included in the WSP deployment.
Do not activate any of the features in the empty site collection. The content deployment process handles feature activation.
资料来源:
Understanding Publishing and Content Deployment
http://msdn.microsoft.com/en-us/library/ee413986.aspx
web.config文件要改.
dll要装到gac中.
准备Content Deployment目的站点集的具体步骤:
1. 创建一个空的站点集. 你需要使用stsadm –o createsite 命令来创建空站点集. 注意, 空站点集与空白站点集是不同的.
2. 添加并部署所有的sharepoint solution package(wsp)文件到目的服务器场. 一般来说, 部署wsp文件会安装feature到目的服务器场. 如果你没有使用wsp, 那么你需要确保所有的feature被安装到服务器场上, 但是不被开启.
3. 进行必要的文件系统的修改. 比如说, 修改web.config文件, 安装或者部署没有被wsp部署包括进去的.net程序集到GAC中.
原文如下:
=============
To prepare the destination site collection Create an empty site collection in the production farm. This is where the content will be deployed. An empty site template differs from a blank site template in that it contains no content, libraries, or activated features. A blank site contains some content and has some features that are activated. The only way to create an empty site collection is with the following STSADM command: STSADM.EXE -o createsite -url <url-to-site-collection> -ownerlogin domain\user -owneremail <email-address>
Add and deploy all the SharePoint Solution Packages (WSP) to the production farm. Typically, deploying the WSP should install all features to the production farm. However, if you are not using WSPs or if you have an exceptional case, ensure that all features are installed but not activated. Make any necessary file system changes. For example, modify the Web.config files and install or place in the global assembly cache any .NET Framework assemblies that were not included in the WSP deployment.
Do not activate any of the features in the empty site collection. The content deployment process handles feature activation.
资料来源:
Understanding Publishing and Content Deployment
http://msdn.microsoft.com/en-us/library/ee413986.aspx
相关文章推荐
- Content Deployment执行之前是否需要开启feature? 安装dll到GAC?
- Content Deployment执行之前是否需要开启feature? 安装dll到GAC?
- 使用spring声明式事务,spring使用AOP来支持声明式事务,会根据事务属性,自动在方法调用之前决定是否开启一个事务,并在方法执行之后决定事务提交或回滚事务。
- Linux安装MySQL的两种方法{linux系统mysql安装之前需要先检查是否已经安装,把已经有的库文件卸载掉,否则会出现覆盖错误}
- ARC开启的情况下是否需要对GCD对象dispatch_release ?
- ubuntu16.04安装配置tensorflow以后,每次开启都显示错误,需要设置变量
- centos7 最小化安装后无法上网,需要先开启网络服务
- 安装好ipvsadm后需要查看是否加载了ip_vs模块儿,没有需要手动加载。
- 如何将程序集(dll)安装到全局程序集缓存(GAC)中 收藏
- 如何在全局程序集缓存 (GAC) 中安装 DLL 文件
- RAC安装时需要执行4个脚本及意义
- 安装 CORD 之前需要了解的术语
- js判断浏览器是否安装Flash插件,并提示安装或开启
- 当GridView处于编辑状态时,需要判断是否继续,并根据判断执行下一步操作
- 安装JDK出现"Windows Installer程序包有问题,此安装需要的DLL不能运行"解决方法
- ARC开启的情况下是否需要对GCD对象dispatch_release ?
- 开启服务器,自动加载类是否需要开辟新的线程研究
- VS2010 "缺少dlmgr.dll 无法继续执行代码。重新安装程序可能会解决此问题"解决方案
- sql server2008 检查是否需要挂起计算机重新启动。挂起重新启动会导致安装程序失败。
- 安装 Xposed for Lollipop 之前,你需要知道的 4 个注意事项