zoukankan      html  css  js  c++  java
  • MOSS07 站点集迁移到SharePoint Foundation 2010

    概要:直接迁移数据库,然后用stsadm addcontentdb 附加内容库。

    步骤:

    1)禁用源站点非WSS标准的Feature

    如果有MOSS独有的列表或webpart,也需要删除。

    2)打开母版页样式库,删除除default.master外所有其他文件,包括母版页和layoutpage,图片文件。

    删除母版页样式库中除“母版页”以外的内容类型

    (如果不删除母版页库中无效的文件和内容类型,字段,迁移后,目标网站上的母版页将不能编辑)

    3)把源数据库备份还原到目标服务器

    4)在目标服务器常见应用程序,如http://localhost:25000,不要创建网站集

    5)运行命令附加内容库:

    @SET STSADM="C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\BIN\stsadm"

    stsadm -o addcontentdb -url http://localhost:25000 -databasename ANET_Project1

    5)利用FeatureAdmin.exe工具删除所有加载失败的feature.

    迁移后站点若碰到以下问题:

    1)无法创建新文档库,直接在UI上创建报未知错误,用ServerOM,报ContentType PublishWorkflowAssociation错误。

    检查日志文件,错误信息:Unable to locate the xml-definition for CType with SPContentTypeId '0x01080100C9C9515DE4E24001905074F980F93160'

    发现这个ContentType是MOSS07 Expiration工作流引入的 (Microsoft.Office.Workflow.Expiration)

    解决方法:到内容类型库中找到文档内容类型: 主页>网站设置>网站内容类型>文档>删除工作流,将默认的三个工作流删除即可

  • 相关阅读:
    Codeforces 868A Bark to Unlock
    poj 3744 Scout (Another) YYF I
    Codeforces 526F Pudding Monsters
    Codeforces 789D Weird journey
    Codeforces 827E Rusty String
    Codeforces 841D Leha and another game about graph
    bzoj 3560 DZY Loves Math V
    Codeforces 833A The Meaningless Game
    Codeforces 839D Winter is here
    Codeforces 839C Journey
  • 原文地址:https://www.cnblogs.com/jianyi0115/p/2621754.html
Copyright © 2011-2022 走看看