创建网站模板时,出现IMEMode”,值“”无效错误

 

sharepoint 2010创建模板时,发现如下错误:

 

10/19/2010 13:59:37.18     w3wp.exe (0x1710)                           0x1288    SharePoint Foundation             General                           9fjj    Monitorable    SPSolutionExporter: Microsoft.SharePoint.SPException: ID 为 fa51b628-cd64-46b2-9197-7d3c7ae8efe6 的功能定义验证失败,文件“r2ListInstances\ElementsFields.xml”,行 2882,字符 272: “IMEMode”属性无效 - 根据数据类型“http://schemas.microsoft.com/sharepoint/:IMEMode”,值“”无效 - 枚举约束失败。    

……

10/19/2010 13:59:37.18     w3wp.exe (0x1710)                           0x1288    SharePoint Foundation             Runtime                           tkau    Unexpected    System.InvalidOperationException: 将临时解决方案文件复制到解决方案库 _catalogs/solutions/r2.wsp 时出错    在 Microsoft.SharePoint.SPSolutionExporter.ExportWebToGallery(SPWeb web, String solutionFileName, String title, String description, ExportMode exportMode, Boolean includeContent, String workflowTemplateName, String destinationListUrl)     在 Microsoft.SharePoint.SPSolutionExporter.ExportWebToGallery(SPWeb web, String solutionFileName, String title, String description, ExportMode exportMode, Boolean includeContent)     在 Microsoft.SharePoint.ApplicationPages.SaveAsTemplatePage.BtnSaveAsTemplate_Click(Object sender, EventArgs e)     在 System.Web.UI.WebControls.Button.OnClick(EventArgs e)     在 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)     在 System.Web.UI.Page.RaisePostBackEvent...    17a0c531-c4ea-4794-8f40-0864ad5921ca

 

经过检查,发现模板实际上已经创建,只是不能激活,手工激活,发现仍然出现上述错误,经过检查wsp包里面的ElementsFields.xml文件,发现几个属性的IMEMode值为空。

进入系统,将自定义的属性(也可能是被改动过的系统属性),输入法设置改为“禁止”,问题解决。

转载于:https://www.cnblogs.com/HeavyMetal/articles/1855513.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值