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

Hi I try to create a custom list definition within visual studio to create based on the listdefinition my own listinstance.

The definition looks like this:

<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
 <ListTemplate
    Name="Customer"
    Type="10000"
    BaseType="0"
    OnQuickLaunch="TRUE"
    SecurityBits="11"
    Sequence="330"
    DisplayName="Customer"
    Description="A Special Customer with extra Properties."
    Image="/_layouts/images/itcontct.png"/> 
 <Field ID="d300488a-e933-4ba7-8cea-5adf2a211893" Name="ActiveFlag" DisplayName="IsActive"  Type="Boolean"/>   
 </Elements>

Now when I deploy it, (for debugging reasons), it works perfectly. But when I want to deploy it a second time, I get the following error.

German text:

Fehler im Bereitstellungsschritt "Funktionen aktivieren": Das Feld mit der ID '{85e87896-cf42-4ca2-bbe7-4f5d6212bc47}', das im Feature '{349fe433-4271-4508-82a7-91382a9a7ec9}' definiert ist, wurde in der aktuellen Websitesammlung oder in einer Unterwebsite gefunden.

In english

Error in Step "Function activate": The field with the ID '{85e87896-cf42-4ca2-bbe7-4f5d6212bc47}' that is defined in the feature '{349fe433-4271-4508-82a7-91382a9a7ec9}', would already found in this websitecollection.

But I didn't know where I can delete it. I did a full cleanup, removing the wsp, cleanup all Trashes (user and site). But I only get that error.

Can somebody help me?

share|improve this question
add comment

2 Answers 2

up vote 0 down vote accepted

Did you look in the site columns to see if one of your columns is located there?

share|improve this answer
    
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. –  Muhammad Raja Feb 26 '13 at 19:27
    
Yes I use them in there, but i delete them before I deploy the solution. –  Sascha Feb 27 '13 at 10:26
add comment

Now I found a solution that works for me.

I found did this solution. Deploying columns with content types in Visual Studio 2010

After that I could deploy it from visual studio without problems.

share|improve this answer
add comment

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.