Solved

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

Posted on 2010-09-17
6
1,868 Views
Last Modified: 2012-05-10
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
Comment
Question by:allanmark
  • 2
  • 2
6 Comments
 
LVL 19

Expert Comment

by:Melih SARICA
ID: 33724799
what is your sharepoint version ?
0
 

Author Comment

by:allanmark
ID: 33726324
SP 2010
0
 
LVL 19

Expert Comment

by:Melih SARICA
ID: 33731986
do u ave Sharepoint Server Publish feature activated  ?
0
 

Accepted Solution

by:
allanmark earned 0 total points
ID: 33737771
Yes, the feature is activated.
0

Featured Post

Do email signature updates give you a headache?

Do you feel like you are constantly making changes to email signatures? Are the images not formatting how you want them to? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today.

Join & Write a Comment

This very simple solution applies to a narrow cross-section of the "needs to close" variety. In this case, the full message in Event Viewer was in applog, Event ID 1000: Faulting application iexplore.exe, version 8.0.6001.18702, faulting module …
As with any other System Center product, the installation for the Authoring Tool can be quite a pain sometimes. This article serves to help you avoid making these mistakes and hopefully save you a ton of time on troubleshooting :)  Step 1: Make sur…
Viewers will learn the different options available in the Backstage view in Excel 2013.
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now