Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1946
  • Last Modified:

Feature to create Picture Library in SharePoint , using Visual Studio 2010

Greetings all

I ma trying to create a feature that will create a picture library on a SharePoint 2010 site (see attached code).

I get this error when I deploy:

Error occurred in deployment step 'Activate Features': Feature 'd9569cc7-45dc-4412-9b2d-59b39ca1f197' for list template '109' is not installed in this farm.  The operation could not be completed.
            0      0      CreatePictureLibrary


Any  thoughts?

In advance, thanks!!

allanmark
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">


      <ListInstance
          FeatureId="{D9569CC7-45DC-4412-9B2D-59B39CA1F197}"
          TemplateType="109"
          Title="Shopper Pictures"
          Url="Shopper Pictures"
          Description=""
          QuickLaunchUrl="Shopper Pictures/Forms/AllItems.aspx" />


</Elements>

Open in new window

0
allanmark
Asked:
allanmark
  • 2
  • 2
1 Solution
 
Melih SARICACommented:
what is your sharepoint version ?
0
 
allanmarkAuthor Commented:
SP 2010
0
 
Melih SARICACommented:
do u ave Sharepoint Server Publish feature activated  ?
0
 
allanmarkAuthor Commented:
Yes, the feature is activated.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now