Thursday, February 10, 2011

Error occurred in deployment step 'Add Solution': Exception from HRESULT: 0x81070215

Here I got another error which won’t tell about what the error is. so, i went to SharePoint root folder (14 hive) and checked the log file. Log file contains the following error message

 

Failed to open the file 'C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Template\Features\WebGTSTemplates\GTSProjectTemplate\onet.xml'.   

 

I Checked the ONET.xml file properties and i found that i forgot to change the Deployment Type to Element File. Once i changed, now i am able to deploy my feature successfully.

image

Hope this helps some one’s life easier. If so, leave some comments.

2 comments:

Gelo said...

Thanks!

Jan said...

Thank you :)

Post a Comment