1

I have read a lots of posts, did a lots of google search but none of the solutions are working for me. I am trying to create a subsite from a template. Tried both GUI and powershell. I keep getting this error when using powershell.

exception calling applywebtemplate with 1 argument(s) file or argument not valid for site template

Can anyone please help on how to troubleshoot this issue? Thanks

  • Looks like you have a webapplication/farm that's malfunctioning. What version are you using? Any custom solutions embedded in the template? One way to try is to create a new web app, a new site collection, and a new subsite and see if you have the same errors there. If you do, there must be something else showing in the ULS or Event Viewer... – Benny Skogberg Nov 22 '16 at 14:52
  • @dkorra as Benny Skogberg said if you check the logs with the correlation id shown below error msg then you will get some clue about actual problem. – Raghavendra C Nov 22 '16 at 15:15
  • is it a custom template or OOTB? if custom how you created and deployed in farm? – Waqas Sarwar MVP Nov 22 '16 at 15:42
  • its a custom template @WaqasSarwarMCSE, so I already have the site as a template and wanted to use it to create other sites. – dkorra Nov 22 '16 at 19:49
1

First:

Second:

  • Browse to site content and add new subsite
  • Select custom tab, and find your template there enter image description here

Beware though, the link "save as site tempalte" isn't visible if you have publishing feature switched on. But usually using the URL won't get you into trouble even if it's not oficially supported by Microsoft.

  • Yes I did all that, but then it will give an error saying, can not complete action. nothing relevant when checking with coorelation id. – dkorra Nov 22 '16 at 14:45
  • @dkorra it is giving error while saving site as template or while creating site from template? – Raghavendra C Nov 22 '16 at 14:47
  • error is while creating the site from template. @RaghavendraC – dkorra Nov 22 '16 at 15:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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