Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

When I attempt to create a document library using an existing template I recieve an error "the type of this column cannot be changed because it is currently being indexed"

The error occurs on the 2nd line of code below:

SPListTemplate template = web.ListTemplates[Settings.CLTEMP_LISTTEMPLATE];
web.Lists.Add(libName, "Central Library staging area. Files get routed to the main library at the root.", template);
web.Update();

Not sure how to resolve and so any help appreciated.

I checked the fields in my schema.xml file and Indexed is set to FALSE for all columns.

thanks,

KS

share|improve this question
    
What column is indexed in this list template? –  Ksesh Aug 8 '12 at 5:18
    
I dont know, I have a bunch of Managed MetaData columns, choices etc. Are some of these automatically indexed? –  Perplexed Aug 10 '12 at 19:14

2 Answers 2

up vote 0 down vote accepted

Possible Solution:

  1. Go to Central Admin site -> Services applications
  2. Select the "Managed Metadata Service Proxy" -> Properties
  3. Clear the four checkboxes of the managed metadata service connection (regarding CT host, managed metadata, etc)
  4. Create the site collection
  5. Set the "Managed Metadata Service Proxy" properties to its original state.

How to add Proxy to Managed Metadata Proxy

share|improve this answer
    
I dont see "Managed Metadata Service Proxy", only "Managed Metadata Service" and there are no checkboxes on the page. –  Perplexed Aug 13 '12 at 15:01
    
Modified the answer with link to MMD –  neo269 Aug 13 '12 at 15:35
    
I am not publishing any content from one farm to another. –  Perplexed Aug 13 '12 at 16:27

There is index column in your list template

check this blog and after that use your template it may works..

Metadata disappears for indexed columns that are edited to allow multiple responses.

share|improve this answer
    
Link is missing. –  neo269 Aug 8 '12 at 8:06
    
Sorry, this does not help me as I can see no indexes in my schema file. –  Perplexed Aug 13 '12 at 15:15

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.