简体   繁体   中英

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. 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:

<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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM