Solved

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

Posted on 2010-09-17
6
1,914 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

623 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