SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have created new Wsp builder project and Added one feature.

In Element.xml file i have Define the Custom List template.

I have Created the Custom List and named as Schema.xml.

I added the Schema.xml file in Feature and I have given the Corressponding location in the Feature.xml.

I deployed my solution and activate the Feature.

The Custom List template has comes Under the Collabration tab.when I am trying to Create List using the Custom List Template I am Getting Error

"Invalid File name the file name you specified could not be used. It may be the name of the Existing file or the Directory or You may not have Permission to access the File "

MayI know were I am Going Wrong and how can I achieve this?

share|improve this question
Please attach a screen shot of the project structure and your xml to provide more details – Yuri Leontyev Nov 17 '11 at 8:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.