Do you 0x81070201?


Hi,


 You may face this error when creating a custom list based on a custom list definition:


Exception from HRESULT: 0x81070201   at Microsoft.SharePoint.Library.SPRequestInternalClass.CreateListFromFormPost(String bstrUrl, String& pbstrGuid, String& pbstrNextUrl)
   at Microsoft.SharePoint.Library.SPRequest.CreateListFromFormPost(String bstrUrl, String& pbstrGuid, String& pbstrNextUrl) 


if so, it would be trivial, as the log can leave a useful message:


Failed to retrieve the list schema for feature be9cdda4-ed32-4bbd-a60c-8041158b1430, list template 17001; expected to find it at: “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\Feature …


You forgot to include the related files of your feature, the schema of the list deifnition, that should be placed in the solution schema (manifest.xml)


<RootFiles>


<RootFile Location=”TEMPLATE\FEATURES\ … “>



Cheers!
 

Comments (1)

  1. Robin Sharepoint Blog says:

    Thanks mate! Saved me a lot of time 🙂