Problem: When activating a Feature the following message is shown
"O site não é válido. Falta a biblioteca de documentos 'Páginas'."
Solution: Open PowerShell and write these lines
$web = get-spweb http://sitecollection/subsite
$NewID = $web.Lists["Páginas"].ID
$web.AllProperties["__PagesListId"] = $NewID.ToString()
$web.Update()
Wait 5 minutes and check again. Note: If you check seconds later, the message still shows up. So wait a little bit more.
No comments:
Post a Comment