Home > SharePoint 2010 > Annoying mistake when create web template in SharePoint 2010

Annoying mistake when create web template in SharePoint 2010

I get the error    Error occurred in deployment step ‘Add Solution’: Exception from HRESULT: 0x8107026E when deploying my web template project. It turns out that your name for the Web template name has to match the name of you WebTemplate section in the element.xml file. Please see the screenshot below, the highlighted two needs to be the same. It took me so long to figure out and I will keep here in case everybody else struggle.

If you are a newbie with web template in SharePoint 2010, this blog post explains the details.

 


  1. bruce
    November 24, 2011 at 1:51 pm

    thanks for the help! 🙂

  2. Vardhaman
    February 6, 2012 at 8:34 pm

    really appreciate this. thanks a lot :). I was getting the same error.

  3. jorge
    March 31, 2012 at 3:50 am

    Thanks it works!!!!

  4. Pin
    June 12, 2012 at 12:54 am

    simple and very useful. Cheers

  5. pbn
    July 24, 2012 at 3:33 pm

    Thanks, this is something to remember. Save a day for me.

  6. September 8, 2012 at 12:54 am

    Thanks a lot. Saved a few hours for me.

  7. Naresh
    September 18, 2012 at 9:11 pm

    Thank you for your post. It’s helped me.

  8. John Liu
    November 22, 2012 at 9:12 am

    Thanks a lot, a lot time saved.

  9. April 5, 2013 at 12:05 pm

    Thanks mate ! Saved me a few hours too.

  10. May 2, 2013 at 10:14 am

    Thanks ! Such a simple ‘problem’ – but causes me some headaches. Great post – thanks !

  1. No trackbacks yet.

Leave a comment