Solved

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

Posted on 2010-09-17
6
1,892 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Lync meeting or Lync conferencing is what many organizations would like to deploy to allow them save money. But companies are now giving up for various reasons, one of which is that they cannot join external meetings (non-federated company meetings)…
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…
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

837 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