Content Deployment执行之前是否需要开启feature? 安装dll到GAC?
来源:互联网 发布:成为简奥斯汀知乎 编辑:程序博客网 时间:2024/06/14 07:57
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
- Createan empty site collection in the production farm. This is where thecontent will be deployed. An empty site template differs from a blanksite template in that it contains no content, libraries, or activatedfeatures. A blank site contains some content and has some features thatare activated. The only way to create an empty site collection is withthe following STSADM command:
STSADM.EXE -o createsite -url <url-to-site-collection> -ownerlogin domain/user -owneremail <email-address>
- Addand deploy all the SharePoint Solution Packages (WSP) to the productionfarm. Typically, deploying the WSP should install all features to theproduction farm. However, if you are not using WSPs or if you have anexceptional case, ensure that all features are installed but notactivated.
- Make any necessary file system changes. Forexample, modify the Web.config files and install or place in the globalassembly cache any .NET Framework assemblies that were not included inthe 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?
- Winform 安装包 卸载 自动注册DLL到GAC
- Dynamics CRM 注册插件dll到GAC
- C# 注册DLL 到 GAC 目录
- 总结: 如何将程序集(dll)安装到全局程序集缓存(GAC)中
- 如何将程序集(dll)安装到全局程序集缓存(GAC)中
- 如何将程序集(dll)安装到全局程序集缓存(GAC)中
- 如何将程序集(dll)安装到全局程序集缓存(GAC)中 收藏
- 如何将程序集(dll)安装到全局程序集缓存(GAC)中
- 如何将程序集(dll)安装到全局程序集缓存(GAC)中
- 引用安装到GAC中的程序集
- 转: 如何将dll 程序集安装到GAC中?
- 将dll注册到GAC的简单图解教程
- 将dll部署到全局程序集缓存(GAC)中
- sharepoint 使用命令行注册dll文件到gac的方法
- 将dll部署到全局程序集缓存(GAC)中
- Copy GAC dll
- 创建强命名程序集并安装到GAC中
- The server encountered an internal error (No action instance for path /user could be created) that prevented it from fulfilling
- 批量上传
- windows server 2003无人值守的安装
- myeclipse8.0 svn checkout 或者import 项目时候的overflow异常终于解决了。。
- 读取文件内容输出到控制台方法
- Content Deployment执行之前是否需要开启feature? 安装dll到GAC?
- java单例模式和线程安全的单列模式
- How to make Emacs to support Verilog mode
- HTML 标签
- static vs const
- 思考,调试 你选择哪个?
- delphi和C#调用JavaScript的比较
- css 口诀
- 切记