1

I created a new web template for SharePoint 2013 (as Farm solution, because it has to be selected when creating a new site collection).

The site collection creates succesfully. But when I navigate to the site I get an error that something went wrong. When I look in te ULS logs I get the following error:

System.IO.FileNotFoundException: The file /sites/za/_catalogs/masterpage/seattle.master does not exist. 

Anybody any ideas?

1
  • It is actually the whole _catalogs folder that is not created.
    – Davy
    Mar 10, 2014 at 9:27

1 Answer 1

3

Found the issue. Because the property in my web template "ContainsDefaultLists" was set on TRUE and it should be FALSE

1
  • Your solution help me a lot. Thanks man. I had included ContainsDefaultLists="True" in my custom web template and it was throw the error you mentioned above. setting it to False or remove the ContainsDefaultLists completely solved the issue.
    – Imir Hoxha
    Nov 12, 2015 at 13:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.