简体   繁体   English

在SharePoint 2010中部署解决方案时如何解决以下错误

[英]How to solve the following error while deploying solution into sharepoint 2010

I created one list definition in visual studio and trying to deploy into my sharpeoint site. 我在Visual Studio中创建了一个列表定义,然后尝试将其部署到我的Sharpeoint网站。 But I am getting the following error. 但是我收到以下错误。

Error occurred in deployment step 'Activate Features': Field type boolean is not installed properly. 部署步骤“激活功能”中发生错误:字段类型布尔值未正确安装。 Go to the list settings page to delete this field. 进入列表设置页面以删除此字段。

How to solve this problem? 如何解决这个问题呢?

Try Boolean with a capital B so your Field element (inside of the MetaData element) would be like: 尝试使用大写B的布尔值,这样您的Field元素(在MetaData元素内部)将类似于:

<Field Name="MyBool" 
       ID="{some-guid}" 
       DisplayName="My Bool" 
       Description="The big ol' bool."
       Type="Boolean"/>

You can also try to specify the SourceID="http://schemas.microsoft.com/sharepoint/v3" but that shouldn't be necessary I don't think. 您也可以尝试指定SourceID =“ http://schemas.microsoft.com/sharepoint/v3”,但我认为这没有必要。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在SharePoint 2010中部署wsp时出错 - Error While Deploying wsp in SharePoint 2010 部署Sharepoint解决方案时出错 - Error deploying sharepoint solution Sharepoint 2010-在生产中部署Visual Studio工作流时出错 - Sharepoint 2010 - Error while deploying visual studio workflow on production Sharepoint项目-部署时VS2010通信错误 - Sharepoint Project - VS2010 Communication error while deploying 部署SharePoint 2010解决方案时出错-每个ILobSystem对象不能创建超过500个IEntity对象 - Error deploying SharePoint 2010 solution - Cannot create more than '500' IEntity objects per ILobSystem object 使用InfoPath表单部署SharePoint 2010解决方案时出错(路径不是合法形式。) - Error deploying SharePoint 2010 solution with InfoPath form (The path is not of a legal form.) 在SharePoint 2010中进行2个级别的查找,如何解决? - 2 levels of lookup in sharepoint 2010,how to solve it? SharePoint 2010解决方案 - SharePoint 2010 Solution 如何将SharePoint 2010项目从沙盒解决方案更改为服务器场解决方案 - How to Change SharePoint 2010 Project from Sandboxed Solution to Farm Solution 尝试部署SharePoint 2010解决方案包时出错 - SharePoint 2010 - Visual Studio 2010 - Error when trying to deploy SharePoint 2010 solution package - SharePoint 2010 - Visual Studio 2010
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM